1118 Commits

Author SHA1 Message Date
Nawaz Dhandala
263d745d0a fix: update GoReleaser action to v6.1.0 and clean up MetricsDashboard component 2026-04-03 09:22:00 +01:00
Nawaz Dhandala
ffa2d3f008 refactor: clean up code formatting and improve readability across multiple components 2026-04-01 18:18:20 +01:00
Nawaz Dhandala
ac39602ef6 feat: enhance Metrics and Incident services with Search integration for improved data handling 2026-04-01 09:31:05 +01:00
Nawaz Dhandala
574cac7d64 refactor: clean up code formatting and improve readability across multiple files 2026-03-31 14:06:05 +01:00
Nawaz Dhandala
d7a339b9aa feat: Add profiling support across services and implement new metrics
- Integrated profiling initialization in Probe, Telemetry, TestServer, and Worker services.
- Added environment variables for enabling profiling in various services.
- Created Profiling utility to handle CPU profiling and send data to OTLP endpoint.
- Introduced new metric types for exceptions, spans, and dashboards.
- Developed utility classes for handling alert and incident metrics.
- Added new React components for displaying alert and incident metrics in the dashboard.
2026-03-31 13:44:59 +01:00
Nawaz Dhandala
043ddebc6c feat: add webhook secret key functionality to workflows and update related components 2026-03-31 12:22:17 +01:00
Nawaz Dhandala
3dda45d2cc feat: add profile data ingestion to metered plan reporting 2026-03-31 08:15:28 +01:00
Nawaz Dhandala
cc68ea4539 feat: implement modal for template selection in Dashboards and update service to handle default dashboard config 2026-03-30 15:36:11 +01:00
Nawaz Dhandala
27ad3d6b99 refactor: improve code formatting and readability in various files 2026-03-30 12:07:18 +01:00
Nawaz Dhandala
9e9c7743f4 feat: update type handling and add ProfileMonitorResponse support in telemetry monitor 2026-03-30 09:08:21 +01:00
Nawaz Dhandala
0ba3a70a4b feat: Add ProfileService and ProfileSampleService to AnalyticsServices 2026-03-27 13:18:47 +00:00
Nawaz Dhandala
e0f1da768b Refactor and clean up code across multiple components and services
- Simplified useEffect dependencies in ProfileTimeline component.
- Streamlined option rendering in ProfileTypeSelector component.
- Reformatted TelemetryDocumentation component for better readability.
- Improved formatting and consistency in AuthenticationSettings and Branding pages.
- Removed unused imports in ProfileViewPage.
- Enhanced code readability in StatusPageDelete component.
- Consolidated RouteMap definitions for better clarity.
- Cleaned up API response handling in PublicDashboard and DashboardViewPage.
- Refactored ProfileSample and DashboardAPI for improved code structure.
- Updated migration scripts for better readability and consistency.
- Enhanced incident and profile aggregation services for better clarity.
- Cleaned up telemetry ingestion service for improved readability.
- Improved test cases for OtelProfilesIngestService for better clarity.
2026-03-27 13:01:32 +00:00
Nawaz Dhandala
71b8891232 feat: Add profile monitoring functionality and related components
- Implemented ProfileMonitor in MonitorTelemetryMonitor.ts to handle profile monitoring.
- Created DiffFlamegraph component for visualizing profile differences.
- Added ProfileTimeline component to display profile data over time.
- Introduced ProfileTypeSelector for selecting profile types.
- Developed ServiceProfiles page to display profiles for a specific service.
- Added ProfileMonitorCriteria for evaluating profile monitoring criteria.
- Implemented PprofEncoder for encoding profile data into pprof-compatible format.
- Defined ProfileMonitorResponse interface for structured profile monitoring responses.
2026-03-27 12:53:44 +00:00
Nawaz Dhandala
3c8dc1eee1 feat: Add ProfileTable component for displaying profiling data
- Implemented ProfileTable component to visualize profiles with advanced filtering options.
- Integrated telemetry services and attributes loading for dynamic filtering.
- Added error handling and loading states for improved user experience.

feat: Create ProfileUtil for stack frame parsing and formatting

- Introduced ProfileUtil class with methods for frame type color coding and stack frame parsing.
- Added utility functions for formatting profile values based on units.

docs: Add documentation for telemetry profiles integration

- Created comprehensive guide on sending continuous profiling data to OneUptime.
- Included supported profile types, setup instructions, and instrumentation examples.

feat: Implement ProfileAggregationService for flamegraph and function list retrieval

- Developed ProfileAggregationService to aggregate profile samples and generate flamegraphs.
- Added functionality to retrieve top functions based on various metrics.

feat: Define MonitorStepProfileMonitor interface for profile monitoring

- Created MonitorStepProfileMonitor interface and utility for building queries based on monitoring parameters.

test: Add example OTLP profiles payload for testing

- Included example JSON payload for OTLP profiles to assist in testing and integration.
2026-03-27 11:11:33 +00:00
Nawaz Dhandala
c91c653d9c feat: Add metrics for postmortem completion time and severity changes in IncidentService 2026-03-27 10:49:35 +00:00
Nawaz Dhandala
147ff47aa2 feat: Add ProfilesService and ingestion service for OpenTelemetry profiles
- Introduced `profiles_service.proto` to define the ProfilesService for exporting resource profiles.
- Implemented `OtelProfilesIngestService` to handle ingestion of profiles, including processing and flushing to the database.
- Created `ProfilesQueueService` to manage profile ingestion jobs.
- Added comprehensive tests for `OtelProfilesIngestService`, covering stack frame resolution, timestamp parsing, and row building for profiles and samples.
2026-03-27 10:15:55 +00:00
Nawaz Dhandala
7419ff4437 feat: Enhance public dashboard functionality with access control and UI updates 2026-03-26 19:41:48 +00:00
Nawaz Dhandala
98efe09cc1 feat: Add startsAt parameter to markMonitorsActiveForMonitoring and MonitorStatusTimelineService for improved timeline tracking 2026-03-26 16:49:35 +00:00
Nawaz Dhandala
d9c7259356 Refactor code for improved readability and consistency
- Simplified arrow function syntax in MasterPassword.tsx and DashboardAPI.ts
- Consolidated logger.debug statements in PublicDashboard.ts and DashboardDomainAPI.ts
- Reformatted multi-line statements for better clarity in various files
- Updated migration files for consistent naming conventions and formatting
- Enhanced code structure in DashboardDomainService.ts and MonitorTelemetryMonitor.ts
- Incremented version number to 10.0.40
2026-03-26 16:41:11 +00:00
Nawaz Dhandala
b5bf1d6dd1 feat: Introduce DashboardCNameRecord for custom domain handling in dashboards 2026-03-26 16:38:06 +00:00
Nawaz Dhandala
2da9ea272f feat: Add "All" option to WorkspaceNotificationSummaryItem and update filtering logic in WorkspaceSummaryTable 2026-03-26 15:57:39 +00:00
Nawaz Dhandala
f4fb951757 feat: Enhance acknowledgment logic to use resolve time if not explicitly acknowledged 2026-03-26 15:53:22 +00:00
Nawaz Dhandala
a62ba231be feat: Add DashboardDomain model and associated API services
- Introduced DashboardDomain model with comprehensive fields for managing custom domains for dashboards.
- Implemented DashboardDomainAPI for handling CNAME verification and SSL provisioning.
- Created DashboardDomainService to manage domain-related operations, including SSL ordering and CNAME validation.
- Added master password handling in DashboardAPI for enhanced security.
- Defined constants for master password messages and cookie management.
2026-03-26 11:32:06 +00:00
Nawaz Dhandala
d5a136a662 refactor: clean up code formatting and improve readability across multiple components 2026-03-25 19:08:11 +00:00
Nawaz Dhandala
4e30a863b2 fix: correct SQL syntax for attribute extraction in LogAggregationService 2026-03-25 12:08:16 +00:00
Nawaz Dhandala
2561117445 feat: add support for log query attributes and enhance active filter management in LogsViewer 2026-03-25 12:00:37 +00:00
Nawaz Dhandala
b434f1fef8 feat: enhance workspace notification summary handling with improved error logging and retry logic 2026-03-24 14:31:29 +00:00
Nawaz Dhandala
633ffde611 refactor: improve type definitions and error handling in various components 2026-03-24 14:00:24 +00:00
Nawaz Dhandala
fe668d808d refactor: streamline code formatting and improve readability across multiple files 2026-03-24 13:36:06 +00:00
Nawaz Dhandala
c10cefb4e1 fix: update optional properties in TimelineData interface and refactor alert/incident state references 2026-03-24 13:34:28 +00:00
Nawaz Dhandala
f93964b71b feat: enhance workspace notification summary service with filtering and formatting improvements
- Added support for notification rule conditions and filters in incident and alert summaries.
- Introduced utility functions for bold text and links in markdown formatting.
- Updated incident and alert value builders to include labels and descriptions.
- Enhanced summary blocks with improved formatting for total counts, severity, and state breakdowns.
- Refactored detailed incident and alert listings to use new formatting utilities.
- Improved overall readability and consistency of markdown output for notifications.
2026-03-24 13:27:10 +00:00
Nawaz Dhandala
66a43d322c refactor: remove sendFirstReportAt from service data structure 2026-03-24 13:03:51 +00:00
Nawaz Dhandala
6c4d283761 feat: Add sendFirstReportAt column and update defaults for OnCallDutyPolicyScheduleLayer
- Introduced a new column `sendFirstReportAt` to the `WorkspaceNotificationSummary` table.
- Updated default values for `rotation` and `restrictionTimes` columns in the `OnCallDutyPolicyScheduleLayer` table.
- Adjusted the logic in SendSummary.ts to calculate the next send time based on the recurring interval before updating the nextSendAt field.
2026-03-24 13:03:16 +00:00
Nawaz Dhandala
9806425721 feat: Add Workspace Notification Summary API and Service
- Implemented WorkspaceNotificationSummaryAPI to handle notification summary requests.
- Created WorkspaceNotificationSummaryService for business logic related to notification summaries.
- Added enums for WorkspaceNotificationSummaryItem and WorkspaceNotificationSummaryType to define summary items and types.
- Developed a cron job to send workspace notification summaries at regular intervals.
- Enhanced error handling and logging for summary sending process.
2026-03-24 12:25:51 +00:00
Nawaz Dhandala
6eb7b98002 feat: Implement session revocation on password reset and change 2026-03-18 21:21:41 +00:00
Nawaz Dhandala
bc9949abe4 feat: Add Kubernetes Cluster Management and Monitoring Agent
- Implemented a new migration for the KubernetesCluster and KubernetesClusterLabel tables in the database.
- Created a KubernetesClusterService for managing cluster instances, including methods for finding or creating clusters, updating their status, and marking disconnected clusters.
- Introduced a Helm chart for the OneUptime Kubernetes Monitoring Agent, including configuration files, deployment templates, and RBAC settings.
- Added support for collecting metrics and logs from Kubernetes clusters using OpenTelemetry.
- Configured service accounts, secrets, and resource limits for the agent's deployment and daemonset.
- Provided detailed notes and helper templates for the Helm chart to facilitate installation and configuration.
2026-03-17 15:29:52 +00:00
Nawaz Dhandala
9619090b98 fix: optimize SQL query in fetchAttributesFromDatabase to improve attribute key handling 2026-03-16 20:57:58 +00:00
Nawaz Dhandala
5f660bae02 feat: refactor table names in analytics models to use AnalyticsTableName enum 2026-03-16 12:43:55 +00:00
Nawaz Dhandala
4781c6a532 fix: update array access syntax for consistency in AnalyticsDatabaseService 2026-03-16 09:20:32 +00:00
Nawaz Dhandala
1a58481265 refactor: simplify code formatting in LogAggregationService and LogsViewerToolbar 2026-03-15 00:28:07 +00:00
Nawaz Dhandala
58024398cf feat: add methods for column existence check and codec management in SpanItem 2026-03-15 00:03:46 +00:00
Nawaz Dhandala
7622367d5d refactor: improve data handling and component state management in various files 2026-03-14 22:36:00 +00:00
Nawaz Dhandala
34dffaa710 feat(RetrySpanTableOptimizations): add migration for hasException column and codec optimizations in SpanItem 2026-03-14 12:17:09 +00:00
Nawaz Dhandala
b64c66a7c2 feat(LogScrubRules): Implement Log Scrub Rules feature with CRUD operations and UI integration 2026-03-13 14:55:09 +00:00
Nawaz Dhandala
df35775f3f feat: add LogPipeline, LogPipelineProcessor, and LogDropFilter services and integrate with BaseAPI 2026-03-13 12:38:44 +00:00
Nawaz Dhandala
0e93929a3f feat: add LogPipelineProcessor model and related services
- Implemented LogPipelineProcessor model with necessary fields and access controls.
- Created LogDropFilterAction enum for defining actions on log drop filters.
- Introduced LogPipelineProcessorType enum and configuration interfaces for various processor types.
- Developed LogExport utility for exporting logs in CSV and JSON formats.
- Added LogDropFilterService for managing drop filters with caching.
- Implemented LogPipelineService for loading and processing log pipelines with processors.
- Created LogFilterEvaluator for evaluating filter queries against log entries.
2026-03-13 11:50:07 +00:00
Nawaz Dhandala
954281c3d5 feat(LogsViewer): add analytics view mode and corresponding components
- Introduced a new view mode "analytics" to the LogsViewer component.
- Created LogsAnalyticsView component to handle analytics display.
- Updated LogsViewerToolbar to allow switching between "list" and "analytics" views.
- Enhanced LogsViewer to manage internal state for view mode and handle changes.
- Updated types to include LogsViewMode for better type safety.
- Refactored main content rendering logic to conditionally display analytics or logs table.
2026-03-12 20:35:36 +00:00
Nawaz Dhandala
1382758f12 fix(logs-viewer): update selectedSavedViewId prop to allow undefined value in dropdown and toolbar components
refactor(logs-viewer): conditionally unset other defaults in LogSavedViewService
2026-03-12 19:11:29 +00:00
Nawaz Dhandala
144826ff84 feat(logs-viewer): add saved views functionality with toolbar enhancements
- Introduced `LogSavedView` model to manage saved log views in the database.
- Created migration to add `LogSavedView` table with necessary fields and constraints.
- Implemented `LogSavedViewService` for CRUD operations on saved views.
- Enhanced `LogsViewerToolbar` to include buttons for saving views and selecting saved views.
- Added `ColumnSelector` component for managing visible columns in the logs table.
- Created `SavedViewsDropdown` component for selecting and managing saved views.
- Updated types to support new saved views and column options.
2026-03-12 17:36:04 +00:00
Nawaz Dhandala
9ae8dc2266 feat(FacetSection): add search functionality to filter displayed values
feat(LogAggregationService): update default facet limit to 500
feat(TelemetryAPI): increase default limit for metrics attributes to 500
2026-03-12 15:21:32 +00:00