1761 Commits

Author SHA1 Message Date
Nawaz Dhandala
d64194c18e fix: correct local time formatting in OneUptimeDate class 2026-04-02 20:59:45 +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
464455eff3 feat: implement captured metrics handling in custom code and synthetic monitors 2026-04-01 14:30:01 +01:00
Nawaz Dhandala
832b87e6d5 feat: implement incident handling in uptime graphs with tooltips and modals for better user experience 2026-04-01 12:42:00 +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
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
fe5329a1aa feat: add new dashboard templates for Metrics, Trace, Exception, and Profiles 2026-03-31 12:38:13 +01:00
Nawaz Dhandala
ffafada55b refactor: improve code readability and consistency across dashboard components 2026-03-30 16:17:16 +01:00
Nawaz Dhandala
4caed413a3 feat: add metric query configuration and enhance dashboard components with metric support 2026-03-30 15:55:25 +01:00
Nawaz Dhandala
594c5a7fc3 feat: enhance dashboard templates with detailed descriptions and add new components for metrics visualization 2026-03-30 15:49:12 +01:00
Nawaz Dhandala
2845177743 feat: update icon for Monitor Dashboard template to Heartbeat 2026-03-30 15:40:12 +01:00
Nawaz Dhandala
796c52da4d feat: Add dashboard template selection and creation functionality
- Introduced DashboardTemplateCard component for displaying dashboard templates.
- Added DashboardTemplates enum and DashboardTemplate interface to define available templates.
- Implemented template selection in the Dashboards page to allow users to create dashboards from predefined templates.
- Enhanced MetricQueryConfig to manage metric attributes and display settings more effectively.
- Updated MetricView to improve loading states and error handling for metric results.
- Refactored DashboardChartComponent to streamline metric alias data handling and improve UI presentation.
2026-03-30 14:54:54 +01:00
Nawaz Dhandala
26c402928e feat: add warning and critical threshold inputs to MetricGraphConfig and update MetricQueryConfigData interface 2026-03-30 13:45:59 +01:00
Nawaz Dhandala
e0fe6e9827 feat: add Gauge icon and update related components for enhanced dashboard functionality 2026-03-30 13:33:21 +01: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
a1122ed241 feat: Organize component arguments into sections and enhance dashboard components with new features 2026-03-26 21:59:16 +00:00
Nawaz Dhandala
c92e259978 feat: Enhance DashboardLogStreamComponent with attribute filtering and update CustomDomains description 2026-03-26 16:35:37 +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
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
7fac485049 feat: add Log Stream and Trace List components to dashboard with configuration options 2026-03-25 22:54:52 +00:00
Nawaz Dhandala
fb3c767056 fix: update pod phase attribute key in Kubernetes alert template 2026-03-25 21:49:07 +00:00
Nawaz Dhandala
be90693ad8 feat: Add Kubernetes resource breakdown to MetricMonitorResponse
- Introduced KubernetesAffectedResource and KubernetesResourceBreakdown interfaces to enhance metric monitoring capabilities.
- Updated MetricMonitorResponse to include kubernetesResourceBreakdown.
- Enhanced AreaChart, BarChart, and LineChart components with onValueChange prop for better interactivity.
- Added new Dashboard components: Gauge and Table, with respective configuration arguments.
- Implemented DashboardVariableSelector for dynamic variable selection in dashboards.
- Added warning and critical thresholds to DashboardValueComponent and DashboardChartComponent for improved data visualization.
- Updated DashboardChartComponentUtil to support additional queries and chart types.
- Enhanced error handling and loading states in Dashboard components.
2026-03-25 21:38:41 +00:00
Nawaz Dhandala
4fe8aea655 refactor: improve code readability and comments in IfElse and Condition components 2026-03-25 20:29:24 +00:00
Nawaz Dhandala
923e020e6e feat: enhance condition handling with input type support and value coercion 2026-03-25 20:25:19 +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
6d15cc8e8b Refactor and clean up Kubernetes view components
- Improved formatting and consistency in various Kubernetes view files, including HPADetail, HPAs, Index, Jobs, Layout, Namespaces, NodeDetail, Nodes, PersistentVolumes, Pods, ServiceMesh, SideMenu, StatefulSets, VPADetail, and VPAs.
- Removed unnecessary line breaks and adjusted indentation for better readability.
- Simplified conditional checks and array methods for clarity.
- Enhanced the overall structure of the code to follow best practices.
2026-03-23 11:24:21 +00:00
Nawaz Dhandala
582b464623 feat(kubernetes): add simplified criteria form and mode change handling 2026-03-20 12:22:56 +00:00
Nawaz Dhandala
f2d138d0d7 feat: Enhance Kubernetes Monitor Configuration with Template and Metric Selection
- Added KubernetesTemplatePicker and KubernetesMetricPicker components for selecting alert templates and metrics.
- Updated KubernetesMonitorStepForm to support quick setup, custom metrics, and advanced configurations.
- Integrated query parameters for pre-filling template and cluster selections.
- Improved user experience with tabs for different setup modes (Quick, Custom, Advanced).
- Updated descriptions and functionality in MonitorStep and Alerts pages to reflect new features.
- Introduced KubernetesMetricCatalog for managing Kubernetes metrics and their properties.
2026-03-20 12:07:33 +00:00
Nawaz Dhandala
70e6924cdd feat(kubernetes): add service mesh and VPA management features
- Implemented KubernetesClusterServiceMesh component to display Istio and Linkerd metrics.
- Created KubernetesClusterVPADetail component for detailed views of Vertical Pod Autoscalers (VPA).
- Added KubernetesClusterVPAs component to list all VPAs in a cluster.
- Introduced KubernetesAlertTemplates for monitoring various Kubernetes conditions, including CrashLoopBackOff, Pod Pending, Node Not Ready, and more.
- Developed MonitorStepKubernetesMonitor interface for Kubernetes monitoring configurations.
2026-03-20 11:08:47 +00:00
Nawaz Dhandala
4f67228eaf feat: Enhance Kubernetes Dashboard with resource consumption insights and YAML views
- Added top CPU and memory pod consumers to the Kubernetes cluster overview.
- Implemented node pressure indicators for memory, disk, and PID pressure.
- Introduced recent warning events section in the cluster overview.
- Added YAML tab for viewing resource specifications in Job, Namespace, Node, Pod, PVC, PV, and StatefulSet details.
- Updated side menu to display resource counts for various Kubernetes objects.
- Enhanced node detail view with roles, internal IP, and pressure conditions.
- Improved error handling and loading states in the YAML tab component.
2026-03-19 22:33:41 +00:00
Nawaz Dhandala
ff0a2e9c91 feat(kubernetes): add support for Persistent Volume Claims (PVCs) and Persistent Volumes (PVs)
- Implemented KubernetesClusterPVCDetail and KubernetesClusterPVCs components to display PVC details and list.
- Created KubernetesClusterPVs component to list all Persistent Volumes in the cluster.
- Updated routing and page mapping for PVCs and PVs.
- Enhanced existing Kubernetes components to utilize new utility functions for better data handling.
- Removed unused InfoCard components for a cleaner UI.
- Added yAxisValueFormatter to metric queries for better chart representation.
- Updated Helm chart to include PVC and PV data collection.
2026-03-19 19:27:57 +00:00
Nawaz Dhandala
e6861a2abe feat: Add Kubernetes documentation and mobile apps download section; update navigation and icons 2026-03-17 19:40:30 +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
92c00e4fc8 feat: add LogScrubRule migration and update OnCallDutyPolicyScheduleLayer defaults; refactor test imports and clean up code formatting 2026-03-16 20:00:52 +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
8f9e5a46fa feat: update column types to MapStringString and BigNumber, and add projections in Log, Metric, and Span models 2026-03-16 12:08:30 +00:00
Nawaz Dhandala
9a47b02a0c feat: upgrade time column to DateTime64 for nanosecond precision in logs 2026-03-16 10:26:03 +00:00
Nawaz Dhandala
2081f9030a Refactor and clean up code across multiple components
- Added missing commas in migration index.
- Improved formatting of permission descriptions for better readability.
- Enhanced dependency array formatting in useEffect hooks in LogsViewer component.
- Cleaned up JSON normalization in LogDetailsPanel for better readability.
- Refactored LogSearchBar component for improved readability and structure.
- Simplified filter logic in AnalyticsTooltip and LogsAnalyticsView components.
- Streamlined LogScrubRuleService methods for better clarity and consistency.
- Updated OtelLogsIngestService to improve readability of async calls.
- Enhanced LogFilterEvaluator comments and formatting for better understanding.
2026-03-13 15:37:44 +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
2d88e4fe0e feat(LogsViewer): add keyboard shortcuts functionality and help component 2026-03-13 14:46:02 +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
28c4eeb6ff feat: Add retentionDate column and TTL support to telemetry models
- Introduced retentionDate column to Log, Metric, Span, and MonitorLog models for per-service data retention.
- Implemented TTL configuration using retentionDate to enable automatic data deletion in ClickHouse.
- Added skip indexes for improved query performance on relevant columns in Log, Span, Metric, and Exception models.
- Updated ingestion services to compute and store retentionDate based on service-specific retention settings.
- Created a data migration to add retentionDate columns and skip indexes to existing telemetry tables.
- Deprecated the cron job for data deletion, transitioning to ClickHouse's native TTL mechanism.
2026-03-12 11:54:26 +00:00
Nawaz Dhandala
4a566c7369 refactor(LogQueryToFilter): update comment formatting for severity normalization 2026-03-12 11:28:04 +00:00
Nawaz Dhandala
fa7bde4aca feat(LogsViewer): add service name resolution and improve value suggestions handling
feat(LogQueryToFilter): normalize severity values and enhance filter application logic
chore(config): update OpenTelemetry exporter endpoint and headers
2026-03-12 10:42:09 +00:00
Nawaz Dhandala
3eafc54413 Refactor code for improved readability and consistency
- Updated arrow functions to use explicit return statements in several files for clarity.
- Adjusted formatting and indentation for better code structure.
- Simplified some conditional checks and improved variable declarations.
- Enhanced error handling in Workflow feature set for documentation retrieval.
- Ensured consistent use of TypeScript types across components.
2026-03-07 18:18:33 +00:00
Nawaz Dhandala
43ac4a7ef1 feat(logs): Implement enhanced log management features
- Add FacetValueRow component for displaying facet values with counts and actions.
- Introduce HistogramTooltip component for displaying histogram data with severity colors.
- Create LogSearchBar component for improved log searching with suggestions and query syntax.
- Implement LogSearchSuggestions component for displaying search suggestions.
- Develop LogsFacetSidebar component for displaying filters and facets in the sidebar.
- Add LogsHistogram component for visualizing log volume over time with severity differentiation.
- Create severityColors utility for managing severity color mappings.
- Document the roadmap for enhancing log management capabilities, including search UX, analytics, and operational features.
2026-03-07 10:32:52 +00:00