Simon Larsen
f592e852f2
refactor: Update logger.error statements for exiting node process
2024-05-22 10:09:16 +01:00
Simon Larsen
a5f05376b0
refactor: Update logger.debug statements for exiting node process
...
This commit updates the logger.debug statements in multiple files to log the message 'Exiting node process' instead of 'Exiting node process'. This change improves the logging consistency and ensures that the appropriate log level is used for this message.
2024-05-22 10:04:41 +01:00
snyk-bot
09c6160a15
fix: Ingestor/Dockerfile.tpl to reduce vulnerabilities
...
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-ALPINE318-OPENSSL-6593964
- https://snyk.io/vuln/SNYK-ALPINE318-OPENSSL-6593964
2024-05-09 21:47:35 +00:00
Simon Larsen
9bde353e93
refactor: Add Semaphore locking for monitor probe creation and release mutex after completion
2024-05-06 22:18:14 +01:00
Simon Larsen
a2c2867469
refactor: Add Semaphore locking for monitor probe creation and release mutex after completion
2024-05-06 21:52:09 +01:00
Simon Larsen
4e748d1626
Refactor and delete unused Metric services and models
2024-05-03 13:03:01 +01:00
snyk-bot
983f587ce4
fix: Ingestor/package.json & Ingestor/package-lock.json to reduce vulnerabilities
...
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-EJS-6689533
2024-04-29 20:32:33 +00:00
Simon Larsen
8377285a27
Refactor API endpoints to use sendEmptySuccessResponse instead of sendEmptyResponse
2024-04-28 19:52:57 +01:00
Simon Larsen
0647f7d22a
Refactor initialization code and add default routes in multiple files
2024-04-24 17:44:29 +01:00
Simon Larsen
cc80f6fa54
Refactor initialization code in multiple files
2024-04-24 14:02:17 +01:00
Simon Larsen
0f92e37712
Refactor field types, import statements, and column types in multiple components
2024-04-21 18:08:31 +01:00
Simon Larsen
527ba63c94
Refactor Tabs component to improve UI and fix styling issues
2024-04-20 17:29:16 +01:00
Simon Larsen
12a98bcb5f
Add error handling for API endpoint in BaseAPI/Index.ts and OTelIngest.ts
2024-04-10 10:16:11 +01:00
Simon Larsen
b49336a224
Update Span class to include SpanStatus enum and use it in OTelIngest.ts
2024-04-09 19:34:55 +01:00
Simon Larsen
6ef91fd1b7
Add OpenTelemetry error handling in StartServer.ts
2024-04-09 19:24:51 +01:00
Simon Larsen
382c71be93
Update Dockerfile.tpl files to set APP_VERSION to 1.0.0 if not set
2024-04-09 13:03:32 +01:00
Simon Larsen
445a8d3f35
Update Dockerfile.tpl files to set APP_VERSION to 1.0.0 if not set
2024-04-09 12:53:42 +01:00
Simon Larsen
356bacf9a0
Update Dockerfile.tpl files to set APP_VERSION to 2.0.0 if not set
2024-04-09 12:53:13 +01:00
Simon Larsen
bcefa8ae3a
Refactor MonitorInfrastructure class and extract monitorServerMetrics method
2024-04-08 14:50:37 +01:00
Simon Larsen
1401daab06
Update tsconfig.json files with resolveJsonModule option
2024-04-08 14:03:07 +01:00
snyk-bot
efded8947f
fix: Ingestor/Dockerfile.tpl to reduce vulnerabilities
...
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-UPSTREAM-NODE-6564548
- https://snyk.io/vuln/SNYK-UPSTREAM-NODE-6564550
2024-04-05 20:34:59 +00:00
Simon Larsen
20dff66769
Fix issues with totalCostInUSD calculation and service token caching
2024-04-05 09:40:36 +01:00
Simon Larsen
0015906bac
Fix formatting and import issues
2024-04-04 21:07:34 +01:00
Simon Larsen
d4d8848124
Update import statement for ProductType in OTelIngest.ts
2024-04-04 20:56:48 +01:00
Simon Larsen
abcde37960
Update import statements for ProductType in multiple files
2024-04-04 20:56:03 +01:00
Simon Larsen
bbff753799
Add deprecated comment to ServerMonitor route and refactor BasicMetrics to get disk paths dynamically
2024-04-01 11:33:59 +01:00
Simon Larsen
8e8019a9f8
Add Port Monitoring and Status Report
2024-03-30 13:32:35 +00:00
Simon Larsen
c052cadc98
Fix probe issue with ping and ICMP
2024-03-29 20:56:07 +00:00
Simon Larsen
c893990722
Fix offline check issues in Probe.ts
2024-03-29 20:45:15 +00:00
Simon Larsen
1c3e184566
Fix probe offline notification template and update probe registration process
2024-03-29 17:15:04 +00:00
Simon Larsen
4335377285
Add HOSTNAME environment variable to Probe Config and update Probe Index and Email Template Type
2024-03-29 16:47:56 +00:00
Simon Larsen
830393c74f
Refactor Probe.ts and StatusPageGroup.ts
2024-03-29 14:00:11 +00:00
Simon Larsen
8c8b323a14
Add podId field to ProbeOffline template and update Probe.ts to send email notifications
2024-03-29 13:37:48 +00:00
Simon Larsen
85551a5608
Update email settings and add probe status report endpoint
2024-03-29 13:02:40 +00:00
Simon Larsen
f4f9629350
Refactor command line argument parsing and update API endpoint
2024-03-16 19:17:38 +00:00
Simon Larsen
98e1c3a41d
Update OneUptime URL and secret key
2024-03-16 19:13:51 +00:00
Simon Larsen
9a25f8ea00
Update package names
2024-03-14 13:43:21 +00:00
Simon Larsen
2310ab0929
Update author information in package.json files
2024-03-14 13:20:47 +00:00
Simon Larsen
2e9cb1de23
Update package.json licenses
2024-03-14 13:19:04 +00:00
Simon Larsen
aaa0a12bac
Add new monitor view documentation route
2024-03-13 19:21:27 +00:00
Simon Larsen
424f1ac9c4
Fix formatting and remove unnecessary code
2024-03-12 11:33:08 +00:00
Simon Larsen
024992c831
Fix server-monitor location path and add disk path validation
2024-03-12 10:09:47 +00:00
Simon Larsen
2aa1289705
Fix BaseModel.fromJSON() method to handle BaseModel and Array<BaseModel> inputs correctly. Update MonitorsTable component to exclude MonitorType.Server. Update BasicMetrics class to calculate percentFree and percentUsed. Update package.json main file path. Add ServerMonitorAPI to Ingestor. Update Nginx configuration for server-monitor endpoint.
2024-03-12 08:50:54 +00:00
Simon Larsen
d82c54521d
Fix server monitor response type and remove unnecessary code
2024-03-11 12:37:05 +00:00
Simon Larsen
f03f4c67eb
Refactor ProbeMonitorResponse and TelemetryIngest middleware
2024-03-11 12:29:00 +00:00
Simon Larsen
7fd912b83a
Update dependencies and fix API endpoints
2024-03-09 09:57:03 +00:00
Simon Larsen
38be8badc0
Refactor server monitor request handling
2024-03-08 12:49:14 +00:00
Simon Larsen
ab1932f499
Fix formatting and remove unnecessary code
2024-03-08 09:10:26 +00:00
Simon Larsen
75f22b4bee
Add secret keys for server and incoming request monitors
2024-03-07 14:47:35 +00:00
Simon Larsen
c833d8fe88
Add attributes column to Log and Span models
2024-02-28 21:00:20 +00:00
Simon Larsen
3586e53341
Add support for JSONObject in RecordValue
2024-02-28 20:06:03 +00:00
Simon Larsen
44d405fb8c
Fix formatting issues in code
2024-02-27 18:32:04 +00:00
Simon Larsen
17cfffa16e
Fix bugs and improve code
2024-02-27 18:29:29 +00:00
Simon Larsen
5876aba680
Fix async/await usage in code
2024-02-27 16:21:37 +00:00
Simon Larsen
7e256ab68c
Refactor code and fix imports
2024-02-27 16:14:23 +00:00
Simon Larsen
ad29eaad78
Fix import statements and add missing types
2024-02-27 15:56:47 +00:00
Simon Larsen
1034587fbe
Update function types in Git repository
2024-02-27 15:37:49 +00:00
Simon Larsen
31875081e5
Update function type names
2024-02-27 15:17:39 +00:00
Simon Larsen
ac59d9fe2b
Fix import formatting in various files
2024-02-27 12:43:50 +00:00
Simon Larsen
45b706d7d5
Add ExpressAPIFunctionType to processIncomingRequest and returnResponse
2024-02-27 12:28:24 +00:00
Simon Larsen
ccb960f30e
Fix formatting issues and update dependencies
2024-02-23 13:25:15 +00:00
Simon Larsen
07ab132946
Refactor OpenTelemetry exporter configuration and convert base64 IDs to hex
2024-02-23 13:15:08 +00:00
Simon Larsen
b9afe175b0
Remove unnecessary whitespace in TelemetryIngest.ts
2024-02-22 17:58:05 +00:00
Simon Larsen
9ab9d537c1
Fix telemetry endpoint URL and update telemetryServiceId parameter
2024-02-22 17:53:29 +00:00
Simon Larsen
17fbae7cd5
Update telemetry environment variables
2024-02-22 17:07:33 +00:00
Simon Larsen
5dc625c34b
Add OpenTelemetry HTTP and Express instrumentations
2024-02-22 16:54:34 +00:00
Simon Larsen
b12582ab67
Refactor OpenTelemetryRequestMiddleware and TelemetryIngest classes
2024-02-22 16:28:20 +00:00
Simon Larsen
8689f884bf
Fix formatting and add selectedBarIds functionality
2024-02-22 13:01:04 +00:00
Simon Larsen
406ee71b8b
Add debugger statement and calculate duration in Unix Nano for spans
2024-02-22 11:55:59 +00:00
Simon Larsen
de2bbb1f08
Fix unknown metric type logging
2024-02-21 18:46:25 +00:00
Simon Larsen
8232c4a4dc
Refactor code and remove unnecessary blank lines
2024-02-21 16:00:54 +00:00
Simon Larsen
e1f534ce70
Add severityNumber property to LogsViewer component and update dependencies
2024-02-21 12:48:12 +00:00
Simon Larsen
633a790973
Refactor DropdownUtil to include an optional parameter for using key as label. Update Span class to use enum for kind. Update Filter component to handle different input types. Update OTelIngest API to handle missing projectId or serviceId.
2024-02-20 14:41:46 +00:00
Simon Larsen
519daba294
Remove root user from Dockerfiles
2024-02-16 07:40:22 +00:00
Simon Larsen
f4d5b9c492
Update OTel exporter headers and endpoints
2024-02-15 13:45:13 +00:00
snyk-bot
37f0829f05
fix: upgrade protobufjs from 7.2.5 to 7.2.6
...
Snyk has created this PR to upgrade protobufjs from 7.2.5 to 7.2.6.
See this package in npm:
https://www.npmjs.com/package/protobufjs
See this project in Snyk:
https://app.snyk.io/org/oneuptime-RsC2nshvQ2Vnr35jHvMnMP/project/89d21457-97ad-4d10-9b37-253f0b4cc388?utm_source=github&utm_medium=referral&page=upgrade-pr
2024-02-07 00:48:23 +00:00
Simon Larsen
0233919f3b
Fix code formatting and add missing imports
2024-02-02 12:59:23 +00:00
Simon Larsen
5f735a316f
Add Fluent Ingest API endpoint
2024-02-02 12:21:29 +00:00
Simon Larsen
899422812d
Refactor OTelIngest and TelemetryIngest modules
2024-02-02 11:05:34 +00:00
Simon Larsen
e8e735d8d2
Refactor OTelIngest.ts to improve middleware structure
2024-02-02 11:02:02 +00:00
snyk-bot
d7b7818793
fix: Ingestor/Dockerfile.tpl to reduce vulnerabilities
...
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-ALPINE318-OPENSSL-6152404
- https://snyk.io/vuln/SNYK-ALPINE318-OPENSSL-6152404
- https://snyk.io/vuln/SNYK-ALPINE318-OPENSSL-6160000
- https://snyk.io/vuln/SNYK-ALPINE318-OPENSSL-6160000
2024-01-27 11:36:41 +00:00
Simon Larsen
8b8caed4ac
Fix OTLP exporter configuration
2023-12-31 15:09:29 +00:00
Simon Larsen
2c8e044057
Update API endpoints to use "/otlp" instead of "/otel"
2023-12-30 22:55:14 +00:00
Simon Larsen
f5803d34ff
Fix bug in login functionality
2023-12-30 14:22:47 +00:00
Simon Larsen
018d3b7fcd
Update usageCount and totalCostInUSD to use Decimal type
2023-12-30 13:22:57 +00:00
Simon Larsen
8584726d22
Refactor code formatting and remove unnecessary whitespace
2023-12-26 11:23:18 +00:00
Simon Larsen
ec1942af8f
Refactor billing unit names and remove debugger statements
2023-12-25 19:51:36 +00:00
Simon Larsen
224eff0d3d
Update launch.json and ObjectID.ts, add debugger statement, modify BillingService.test.ts, Statement.ts, and NavBar.tsx, and update OTelIngest.ts
2023-12-25 19:21:04 +00:00
Simon Larsen
f374459c5a
Fix formatting and add missing commas
2023-12-22 12:18:14 +00:00
Simon Larsen
d788332221
Add usage billing functionality and report to Usage Service
2023-12-21 19:59:29 +00:00
Simon Larsen
c991cd859f
Update package.json scripts
2023-12-12 14:58:10 +00:00
Simon Larsen
c84cbe5575
Add dep-check script to package.json files
2023-12-12 13:48:44 +00:00
snyk-bot
aafa3b15b7
fix: Ingestor/Dockerfile.tpl to reduce vulnerabilities
...
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-ALPINE318-OPENSSL-6032386
- https://snyk.io/vuln/SNYK-ALPINE318-OPENSSL-6032386
- https://snyk.io/vuln/SNYK-ALPINE318-OPENSSL-6055795
- https://snyk.io/vuln/SNYK-ALPINE318-OPENSSL-6055795
2023-12-01 20:02:58 +00:00
snyk-bot
2e429a14d2
fix: upgrade cron-parser from 4.8.1 to 4.9.0
...
Snyk has created this PR to upgrade cron-parser from 4.8.1 to 4.9.0.
See this package in npm:
https://www.npmjs.com/package/cron-parser
See this project in Snyk:
https://app.snyk.io/org/oneuptime-RsC2nshvQ2Vnr35jHvMnMP/project/89d21457-97ad-4d10-9b37-253f0b4cc388?utm_source=github&utm_medium=referral&page=upgrade-pr
2023-11-23 17:37:26 +00:00
Simon Larsen
727f923dbb
Add clear-modules script to package.json files
2023-11-22 11:13:15 +00:00
Simon Larsen
7f93e953ee
Update Jest configurations for test coverage
2023-11-22 10:55:09 +00:00
Simon Larsen
a5f2f4e338
Merge branch 'telemetry'
2023-11-21 13:15:53 +00:00
Simon Larsen
b8b79e0d73
Update coverage reporters in jest.config.json
2023-11-21 12:10:26 +00:00
Simon Larsen
4fa048929c
make realtime work
2023-11-16 18:34:23 +00:00
Simon Larsen
99af4fe826
Fix formatting and remove unused imports
2023-11-14 15:24:05 +00:00
Simon Larsen
3023e22de3
refactor common server to add base api for analytics
2023-11-14 14:21:26 +00:00
Simon Larsen
b5929454b0
fix otel ingest
2023-11-13 12:10:37 +00:00
Simon Larsen
17b2012279
rename service to telemetry service
2023-11-13 12:09:16 +00:00
Simon Larsen
502f298a3a
add authentication
2023-11-12 15:12:49 +00:00
Simon Larsen
d8d5556f1a
add header setter
2023-11-12 14:24:27 +00:00
Simon Larsen
625c96b91a
fix otel collector
2023-11-09 21:37:23 +00:00
Simon Larsen
329484fb87
fix fmt
2023-10-24 13:49:27 +01:00
Simon Larsen
ee54a324d7
add guage
2023-10-24 13:35:26 +01:00
Simon Larsen
81e4b4435c
fix array save
2023-10-24 11:32:02 +01:00
Simon Larsen
aa7594f2a8
fix fmt
2023-10-23 20:24:36 +01:00
Simon Larsen
0626669b02
add metrics histogram and sum
2023-10-23 20:19:20 +01:00
Simon Larsen
35b949e448
add new models to clickhouse
2023-10-23 20:02:44 +01:00
Simon Larsen
2bb4086fd1
refactor service code
2023-10-23 15:58:16 +01:00
Simon Larsen
03f9c36f06
fix fmt
2023-10-23 15:51:38 +01:00
Simon Larsen
9fe998a43d
save logs to otel
2023-10-23 15:27:22 +01:00
Simon Larsen
3841b655e5
add dotnet otel project
2023-10-23 15:17:25 +01:00
Simon Larsen
e687a439e6
fix fmt
2023-10-20 17:58:45 +01:00
Simon Larsen
32275837ac
fix nested type
2023-10-20 14:26:01 +01:00
Simon Larsen
34568a39f5
refactor staement generator into a new file
2023-10-20 13:01:51 +01:00
Simon Larsen
cb0f7bbad5
fix fmt
2023-10-18 17:44:54 +01:00
Simon Larsen
352c9ffb8e
otel save
2023-10-18 13:59:19 +01:00
Simon Larsen
63736aed6c
fix path
2023-10-16 12:53:15 +01:00
Simon Larsen
1a1be22b16
fix fmt
2023-10-10 16:24:35 +01:00
Simon Larsen
8fc2f93e94
refactor otel middleware
2023-10-10 14:51:59 +01:00
Simon Larsen
1892d06cec
gzip working
2023-10-10 14:41:20 +01:00
Simon Larsen
32960b90f8
get gzip body
2023-10-10 13:49:48 +01:00
Simon Larsen
f1b4214379
add proto files
2023-10-10 11:16:22 +01:00
Simon Larsen
60b1f3bcc5
fix probe ingest response
2023-10-09 19:07:25 +01:00
Simon Larsen
34817a1066
probe-api to ingestor
2023-10-09 18:54:23 +01:00