Commit Graph

29023 Commits

Author SHA1 Message Date
Simon Larsen
09883b1129
chore: Update Dockerfile templates to include CommonProject dependencies 2024-07-24 19:04:25 -06:00
Simon Larsen
b94b775e46
Merge remote-tracking branch 'origin/snyk-upgrade-aba1a472386457b0d6d03fface45e612' 2024-07-24 17:36:02 -06:00
Simon Larsen
1c3b7d9982
update otel api 2024-07-24 17:34:53 -06:00
Simon Larsen
ff062cb6a2
Merge branch 'master' of github.com:OneUptime/oneuptime 2024-07-24 17:33:26 -06:00
Simon Larsen
2cabc922a0
Merge pull request #1581 from OneUptime/snyk-upgrade-0283fc9cc9679e8dddceee913aa83b7d
[Snyk] Upgrade protobufjs from 7.3.0 to 7.3.2
2024-07-24 17:30:24 -06:00
Simon Larsen
b6aaea8ae4
Merge pull request #1576 from OneUptime/oneuptime-app-oneuptime-app-improve-comments-KWwHc
[OneUptime Copilot] Improve Comments on /App/FeatureSet/Docs/Index.ts
2024-07-24 17:27:41 -06:00
Simon Larsen
886aa086ec
Merge pull request #1584 from OneUptime/snyk-upgrade-fa996be2aefbed98f1693310998c2799
[Snyk] Upgrade @opentelemetry/instrumentation-xml-http-request from 0.52.0 to 0.52.1
2024-07-24 17:27:12 -06:00
Simon Larsen
6c44201e1c
Merge pull request #1583 from OneUptime/snyk-upgrade-b91af40dda1ae21dd8df7c2e11b2673d
[Snyk] Upgrade posthog-js from 1.139.3 to 1.139.6
2024-07-24 17:26:25 -06:00
Simon Larsen
3a72c5d04f
Merge pull request #1585 from OneUptime/oneuptime-copilot-oneuptime-copilot-improve-comments-xTNiR
[OneUptime Copilot] Improve Comments on /App/Index.ts
2024-07-24 17:26:16 -06:00
Simon Larsen
ea162322d2
Merge pull request #1587 from OneUptime/oneuptime-copilot-oneuptime-copilot-improve-comments-CXUJA
[OneUptime Copilot] Improve Comments on /App/FeatureSet/ApiReference/Index.ts
2024-07-24 17:25:53 -06:00
Simon Larsen
222c857354
Merge pull request #1588 from OneUptime/oneuptime-copilot-oneuptime-copilot-improve-comments-fjDHl
[OneUptime Copilot] Improve Comments on /App/FeatureSet/ApiReference/Service/Authentication.ts
2024-07-24 17:25:30 -06:00
Simon Larsen
d2d705783e
Merge pull request #1589 from OneUptime/oneuptime-copilot-oneuptime-copilot-improve-comments-ZbMDm
[OneUptime Copilot] Improve Comments on /App/FeatureSet/ApiReference/Service/Errors.ts
2024-07-24 17:25:13 -06:00
Simon Larsen
75a7308647
Merge pull request #1595 from OneUptime/snyk-fix-cd71497a021e2dc5ca5ae7a982b1e2b4
[Snyk] Security upgrade node from 22.3.0 to 22.5
2024-07-24 17:24:47 -06:00
Simon Larsen
d61ade1eb4
Merge branch 'master' into snyk-fix-cd71497a021e2dc5ca5ae7a982b1e2b4 2024-07-24 17:24:25 -06:00
Simon Larsen
55e1f6b504
Merge pull request #1597 from OneUptime/snyk-fix-93589e9f7114ade2a7233d978fd63baa
[Snyk] Security upgrade node from 22.3.0 to 22.4.1
2024-07-24 17:23:58 -06:00
Simon Larsen
8b95f2887c
Merge branch 'master' into snyk-fix-93589e9f7114ade2a7233d978fd63baa 2024-07-24 17:23:49 -06:00
Simon Larsen
2bd1693d1f
Merge pull request #1598 from OneUptime/snyk-fix-75abf0e36ba39e30ccfc89f6bf348215
[Snyk] Security upgrade node from 22.3.0 to 22.5.0
2024-07-24 17:23:26 -06:00
Simon Larsen
b1eaded3fd
refactor: Update StatusPageSubscriberReport template to display downtime in hours and minutes
This commit updates the StatusPageSubscriberReport template to display the downtime in hours and minutes instead of seconds. The fields "totalDowntime" and "averageUptime" are replaced with "totalDowntimeInHoursAndMinutes" and "averageUptimePercent" respectively. This change improves the readability and usability of the report for users.
2024-07-24 16:29:46 -06:00
Simon Larsen
7e486d34ae
```text
refactor: Update UptimeUtil and MonitorEvent imports

This commit updates the imports in the UptimeUtil and MonitorEvent files to use double quotes instead of single quotes. This change ensures consistency in the codebase and follows the established import style.
2024-07-24 16:18:22 -06:00
Simon Larsen
c930caa2bb
refactor: Add support for reportDataInDays and isReportEnabled in StatusPageSubscriberService 2024-07-24 13:23:38 -06:00
Simon Larsen
e654b65e71
refactor: Add support for reportDataInDays and isReportEnabled in StatusPageSubscriberService 2024-07-24 12:53:18 -06:00
Simon Larsen
a145b346a4
refactor: Add support for reportDataInDays in StatusPage model
This commit adds the `reportDataInDays` property to the `StatusPage` model in the `StatusPage.ts` file. The `reportDataInDays` property allows users to specify the number of days of data to include in the report. This change enhances the reporting functionality of the application by providing more flexibility in generating reports for status pages.
2024-07-23 19:43:10 -06:00
Simon Larsen
f090654ab6
refactor: Add support for StatusPage reports 2024-07-23 17:56:45 -06:00
Simon Larsen
c2e14c378b
refactor: Update StatusPageService to calculate and set the next report date
This commit modifies the StatusPageService in the StatusPageService.ts file. It adds logic to calculate and set the next report date based on the report start date and recurring interval. This change enhances the functionality of the StatusPage report feature by ensuring that the next report is scheduled correctly.
2024-07-23 13:29:02 -06:00
Simon Larsen
77996b2066
refactor: Add support for StatusPage reports
This commit adds support for generating and managing reports for the StatusPage feature. It includes database changes, such as adding new columns to the "StatusPage" table, and updates to various components and routes. The new functionality allows users to configure and schedule reports, enhancing the reporting capabilities of the application.
2024-07-23 13:06:12 -06:00
Simon Larsen
5fce72fe59
refactor: Add migration for StatusPage report functionality
This commit adds a migration file (1721754545771-MigrationName.ts) to implement the necessary database changes for the StatusPage report functionality. It adds new columns to the "StatusPage" table, including "isReportEnabled" (boolean), "reportStartDateTime" (timestamp with time zone), "reportRecurringInterval" (JSON), and "sendNextReportBy" (timestamp with time zone). These columns enable the configuration and scheduling of reports for the StatusPage feature. This change enhances the functionality and flexibility of the application when generating and managing reports for status pages.
2024-07-23 11:15:57 -06:00
Simon Larsen
9f8764d741
refactor: Add canReadOnRelationQuery property to TelemetryService's serviceColor
This commit adds the `canReadOnRelationQuery` property to the `serviceColor` field in the `TelemetryService` model. The `canReadOnRelationQuery` property allows for reading the `serviceColor` field when querying related data. This change enhances the functionality and flexibility of the `TelemetryService` model when working with related data.
2024-07-23 09:50:15 -06:00
Simon Larsen
9ce44cc416
refactor: Update BlogTitleAndDescription styling for better readability
This commit updates the styling of the BlogTitleAndDescription component in the BlogTitleAndDescription.ejs file. The font size, font weight, and line height of the title and description elements are adjusted to improve readability and visual hierarchy. This change enhances the overall user experience when viewing blog titles and descriptions on the home page.
2024-07-22 20:09:27 -06:00
Simon Larsen
f5f542cae6
refactor: Remove unnecessary whitespace in StatusAPI 2024-07-22 15:29:26 -06:00
Simon Larsen
de4eea4d24
refactor: Round metric values to integers in MetricView component 2024-07-22 15:24:08 -06:00
Simon Larsen
104535b723
```text
refactor: Round metric values to integers in MetricView component

This commit modifies the MetricView component in the MetricView.tsx file. It adds logic to round the metric values to integers using the Math.round() function. This change improves the accuracy and readability of the displayed metric values.
2024-07-22 15:09:31 -06:00
Simon Larsen
6f5dfceb34
refactor: Enable real-time updates in LogsViewer components
This commit enables real-time updates in the LogsViewer components by setting the `enableRealtime` prop to `true` in the `Logs.tsx` and `Index.tsx` files. Previously, real-time updates were disabled (`enableRealtime` set to `false`), but this change allows for immediate updates of logs when new data is available. This enhancement improves the usability and responsiveness of the LogsViewer feature.
2024-07-22 14:47:01 -06:00
Simon Larsen
1ec61a473a
refactor: Update LogItem component to display service name and color
This commit updates the LogItem component in the LogItem.tsx file. It adds functionality to display the service name and color based on the serviceId provided. The serviceMap dictionary is used to retrieve the service name and color, improving the readability and usability of the component. This change enhances the overall quality and user experience of the LogsViewer feature.
2024-07-22 14:33:18 -06:00
Simon Larsen
abf4faade7
refactor: Update TraceTable component to use React hooks and improve performance
This commit updates the TraceTable component in the TraceTable.tsx file. The component is refactored to use React hooks instead of class components, resulting in cleaner and more concise code. Additionally, the update improves the performance of the component by removing unused code and optimizing rendering. These changes enhance the overall quality and maintainability of the TraceTable component.
2024-07-22 13:50:04 -06:00
Simon Larsen
6a9ee5ba75
refactor: Add jsonKeys property to Filter interfaces
This commit adds the `jsonKeys` property to the `Filter` interface in two different files: `Filter.ts` and `ModelFilter/Filter.ts`. The `jsonKeys` property is an array of strings and is used to specify the JSON keys associated with a filter. This addition allows for more flexibility and customization when working with filters in the application.
2024-07-22 13:48:33 -06:00
Simon Larsen
b696e52145
refactor: Update SpanStatusElement component to handle SpanStatus
This commit updates the SpanStatusElement component to handle the new SpanStatus type. The title prop of the component is modified to accept a SpanStatus value in addition to a string. This change allows for more accurate and descriptive rendering of the span status in the TraceExplorer and TraceTable components. The update improves the overall consistency and usability of the application when displaying span status information.
2024-07-21 17:23:00 -06:00
Simon Larsen
8af8eb34ad
refactor: Update TelemetryLayout component and add TraceTable
This commit updates the TelemetryLayout component to improve performance and readability. Unused code is removed, including imports, variables, and functions that are no longer needed. The component is also refactored to use React hooks instead of class components, resulting in cleaner and more concise code.

Additionally, a new TraceTable component is added, which replaces the TelemetryServiceTable component in the Telemetry/Traces.tsx file. The TraceTable component provides enhanced functionality for displaying and filtering trace data.

These changes enhance the overall quality, maintainability, and functionality of the TelemetryLayout component and improve the user experience when viewing telemetry data.
2024-07-21 17:10:09 -06:00
Simon Larsen
e600fac4fd
refactor: Update TelemetryLayout component and add TraceTable 2024-07-21 17:02:51 -06:00
Simon Larsen
1772953b34
refactor: Update TelemetryLayout component and add TraceTable
This commit updates the TelemetryLayout component to improve performance and readability. Unused code is removed, including imports, variables, and functions that are no longer needed. The component is also refactored to use React hooks instead of class components, resulting in cleaner and more concise code.

Additionally, a new TraceTable component is added, which replaces the TelemetryServiceTable component in the Telemetry/Traces.tsx file. The TraceTable component provides enhanced functionality for displaying and filtering trace data.

These changes enhance the overall quality, maintainability, and functionality of the TelemetryLayout component and improve the user experience when viewing telemetry data.
2024-07-21 15:37:40 -06:00
Simon Larsen
44e3c99da8
refactor: Remove unused code and update TelemetryLayout component 2024-07-21 14:30:45 -06:00
Simon Larsen
5fa0f23689
refactor: Remove unused code and update TelemetryLayout component
This commit removes unused code in the TelemetryLayout component and updates it to improve performance and readability. The unused code includes imports, variables, and functions that are no longer needed. The component is also refactored to use React hooks instead of class components, resulting in cleaner and more concise code. These changes enhance the overall quality and maintainability of the TelemetryLayout component.
2024-07-21 13:09:00 -06:00
Simon Larsen
5a9a53dfea
refactor: Add TelemetryAttributeService and update BaseAPIFeatureSet 2024-07-21 10:54:56 -06:00
Simon Larsen
9dae8e1764
refactor: Remove commented out code for empty formula configuration 2024-07-21 10:06:08 -06:00
Simon Larsen
2c8b58c293
refactor: Remove commented out code for empty formula configuration 2024-07-21 10:05:55 -06:00
Simon Larsen
57686c87e3
refactor: Remove commented out code for empty formula configuration 2024-07-21 09:18:03 -06:00
snyk-bot
738fb77773
fix: Probe/Dockerfile.tpl to reduce vulnerabilities
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-DEBIAN12-GIT-6846203
- https://snyk.io/vuln/SNYK-DEBIAN12-GIT-6846203
- https://snyk.io/vuln/SNYK-DEBIAN12-ZLIB-6008963
- https://snyk.io/vuln/SNYK-DEBIAN12-ZLIB-6008963
- https://snyk.io/vuln/SNYK-DEBIAN12-KRB5-7411314
2024-07-21 06:22:59 +00:00
Simon Larsen
51a714f4bd
refactor: Add jsonKeys prop to Filter and JSONFilter components
This commit adds the jsonKeys prop to the Filter and JSONFilter components in order to support filtering by JSON keys. The jsonKeys prop is an array of string values that represents the available JSON keys for filtering. This enhancement improves the flexibility and functionality of the filter components, allowing users to filter data based on specific JSON keys.
2024-07-20 09:25:34 -06:00
Simon Larsen
358b785fe0
refactor: Remove TelemetryAttribute model and service
This commit removes the TelemetryAttribute model and service from the codebase. The TelemetryAttribute model and service were no longer needed and were causing unnecessary complexity. Removing them simplifies the codebase and improves maintainability.
2024-07-20 08:08:00 -06:00
snyk-bot
a464723729
fix: Probe/Dockerfile.tpl to reduce vulnerabilities
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-DEBIAN12-GIT-6846203
- https://snyk.io/vuln/SNYK-DEBIAN12-GIT-6846203
- https://snyk.io/vuln/SNYK-DEBIAN12-ZLIB-6008963
- https://snyk.io/vuln/SNYK-DEBIAN12-ZLIB-6008963
- https://snyk.io/vuln/SNYK-DEBIAN12-KRB5-7411314
2024-07-20 06:22:55 +00:00
Simon Larsen
5ab959cec5
refactor: Add TelemetryAttributeService and update BaseAPIFeatureSet
This commit adds the TelemetryAttributeService to the AnalyticsServices array in the CommonServer/Services/Index.ts file. It also updates the BaseAPIFeatureSet in the App/FeatureSet/BaseAPI/Index.ts file to include a new route for handling telemetry attribute operations. These changes improve the functionality and flexibility of the analytics module, allowing users to work with telemetry attributes effectively.
2024-07-19 18:59:50 -06:00