Simon Larsen
faf0641503
refactor: Update package.json and Encryption.ts to use latest version of crypto-js
2024-05-29 15:25:09 +01:00
Simon Larsen
5a12e70742
refactor: Update Encryption.ts to use Utf8 encoding for decryption
...
This code change updates the Encryption.ts file to use the Utf8 encoding for decryption in the `decrypt` method. Previously, it was using the default encoding, which could lead to incorrect results for certain inputs. This update ensures the correct decoding of the encrypted text and improves the reliability of the decryption process.
2024-05-29 13:20:56 +01:00
Simon Larsen
ab0b7bb6ec
refactor: Update MonitorSecrets page to display monitors with access to secrets
2024-05-29 12:47:21 +01:00
Simon Larsen
847f426bc6
refactor: Improve error messages in MetricsInfo and SSLCertificateMonitorView components
...
The code changes in this commit improve the error messages in the MetricsInfo and SSLCertificateMonitorView components. The updated error messages provide more helpful information to users, indicating that it may take a few minutes for metrics to show up for the selected probe. This enhancement improves the user experience and reduces confusion when metrics are not immediately available.
2024-05-23 18:49:30 +01:00
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