891 Commits

Author SHA1 Message Date
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
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
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
af3004394e feat: Add branding features to dashboard including title, description, logo, and favicon 2026-03-26 20:12:48 +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
4be33e6a0a feat: Add showUptimeHistoryInDays property with access control and default value to StatusPage model 2026-03-26 15:59:52 +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
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
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
8b97807991 feat: update SQL query in ExceptionInstance model to remove unnecessary ORDER BY clause 2026-03-16 15:47:18 +00:00
Nawaz Dhandala
dff3c50a97 feat: update SQL queries in Log and Span models to remove unnecessary ORDER BY clauses 2026-03-16 15:37:30 +00:00
Nawaz Dhandala
d00d7cb19f feat: update SQL queries in ExceptionInstance, Log, and Span models to include GROUP BY clauses 2026-03-16 15:37:02 +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
d327edb165 feat: update table names to include version suffix for ExceptionInstance, Log, Metric, MonitorLog, and Span models 2026-03-16 12:27:49 +00:00
Nawaz Dhandala
de7990c41e feat: add skipIndex configurations and projections in ExceptionInstance model; update codec in MonitorLog and Span models 2026-03-16 12:16:36 +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
046482a2a8 feat: upgrade time field type to DateTime64 for improved precision in MonitorLog model 2026-03-16 11:54:33 +00:00
Nawaz Dhandala
3568d766ea feat: upgrade time field type to DateTime64 for enhanced precision in ExceptionInstance model 2026-03-16 11:49:32 +00:00
Nawaz Dhandala
6629cc9023 feat: upgrade time fields to DateTime64 for improved precision in Metric and Span models 2026-03-16 11:46:45 +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
d8bbe4b2cd feat(Span): add hasException column and optimize Span table with new skip indexes and codecs 2026-03-14 12:08:04 +00:00
Nawaz Dhandala
1b65ca934e feat(LogDropFilters): add detailed documentation for Log Drop Filters functionality
refactor(LogScrubRules): remove initial values for create operation and update sort order requirement
2026-03-13 17:54:50 +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
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
de0d923c63 fix(Log): correct formatting of description for dropped attributes count column in log model 2026-03-12 21:39:44 +00:00
Nawaz Dhandala
03c38be19c feat(Logs): add new fields for observed time, dropped attributes count, and flags in log model and migration 2026-03-12 21:37:57 +00:00
Nawaz Dhandala
45d2c4aa2a feat(logs-viewer): implement saved view functionality and refactor related handlers 2026-03-12 18:18:24 +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
20594be771 feat(DataRetention): add monitor metric retention settings and migration 2026-03-12 13:59:22 +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
16f29a813c feat: Implement WebAuthn challenge handling and storage for user authentication 2026-02-27 13:10:22 +00:00
Nawaz Dhandala
9167769135 feat: Improve code formatting and descriptions in ExceptionInstance, ExceptionDetail, and related components 2026-02-26 13:48:42 +00:00
Nawaz Dhandala
c80a464616 feat: Update TelemetryException model to track first and last seen release versions 2026-02-26 13:16:47 +00:00
Nawaz Dhandala
ef9d99dd2b feat: Enhance exception handling with release and environment tracking
- Added "Release" and "Environment" columns to the TelemetryExceptionTable and OccurrenceTable components for better context on exceptions.
- Introduced StackFrameViewer component to display structured stack frames from exceptions, supporting various programming languages.
- Implemented StackTraceParser utility to parse raw stack traces into structured frames, identifying application vs. library code.
- Updated OtelTracesIngestService to extract release and environment information from resource attributes and include parsed frames in exception payloads.
- Enhanced ExceptionUtil to handle release and environment properties in exception status updates.
- Added comprehensive tests for StackTraceParser covering multiple programming languages and edge cases.
2026-02-26 13:04:07 +00:00
Nawaz Dhandala
3f4db5b7e0 feat: implement project creation restriction for non-admin users 2026-02-16 14:54:14 +00:00
Nawaz Dhandala
3545a221bc feat: Add Alert Creation Page and Update Related Components
- Implemented a new page for creating alerts with a form that includes fields for title, description, severity, state, monitor, on-call policy, labels, root cause, and remediation notes.
- Updated the AlertsTable component to conditionally render a "Create Alert" button based on the disableCreate prop.
- Modified the AlertsLayout to optionally hide the side menu when navigating to the create alert page.
- Enhanced routing to include a new route for the alert creation page and adjusted the side menu visibility accordingly.
- Updated PageMap and RouteMap to include the new alert creation route.
- Added migration to update database schema related to incident and alert policies.
2026-02-11 19:17:25 +00:00
Nawaz Dhandala
ea99dd4873 refactor: update model relationships and descriptions for On-Call Duty Policies in Alert, Incident, and IncidentTemplate models; add migration for database schema changes 2026-02-11 18:16:38 +00:00
Nawaz Dhandala
34863dbcb6 fix: rename "Deleted by User ID" to "Acknowledged by User ID" in OnCallDutyPolicyExecutionLog and UserOnCallLog models 2026-02-11 18:09:28 +00:00
Nawaz Dhandala
effeb3a0b6 fix: update title and description for Monitor ID in Alert model 2026-02-11 18:06:59 +00:00
Nawaz Dhandala
385a0fb9e5 fix: change deviceType property type to PushDeviceType in UserPush model 2026-02-10 15:34:21 +00:00
Nawaz Dhandala
584b79f48c Merge branch 'master' into mob-phase-1 2026-02-10 15:26:41 +00:00
Nawaz Dhandala
12b78249c5 feat: rename version field to oneuptimeVersion in OpenSourceDeployment model and API 2026-02-10 13:57:55 +00:00
Nawaz Dhandala
f8cbc3a551 feat: implement Open Source Deployment registration and related database schema 2026-02-10 13:50:56 +00:00
Nawaz Dhandala
ae6e49da8f feat: add allAlertsResolvedAt and allIncidentsResolvedAt fields for resolve delay calculations 2026-02-10 13:08:42 +00:00
Nawaz Dhandala
54909116b9 mobile phase 1 2026-02-09 23:45:17 +00:00
Nawaz Dhandala
cd450bc3b6 feat(migrations): set default value of groupByMonitor to false for Alert and Incident grouping rules 2026-02-09 20:15:15 +00:00
Nawaz Dhandala
0d900dca78 fix(StatusPageDomain): change subdomain requirement from required to optional 2026-02-09 11:07:24 +00:00
Nawaz Dhandala
072f162b6e fix(Project): update create permissions to allow User role 2026-02-08 18:12:26 +00:00