2493 Commits

Author SHA1 Message Date
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
af79613637 feat(LogDropFilterView): add Log Drop Filter view with details, action configuration, and filter conditions 2026-03-13 19:53:43 +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
4f84966326 feat(Migration): Add MigrationName1773414578773 for LogScrubRule constraints and indexes 2026-03-13 15:13:02 +00:00
Nawaz Dhandala
bcac918edd feat: Implement Log Pipeline Filter Query Builder and Processor Form
- Removed unused fields from LogPipelines settings page.
- Added FilterCondition component for managing individual filter conditions.
- Created FilterQueryBuilder component to build and manage filter queries for log pipelines.
- Introduced ProcessorForm component for creating log pipeline processors with various configurations.
- Added SeverityMappingRow component for managing severity mappings in the Severity Remapper processor.
- Implemented database migration for LogScrubRule table.
- Updated schema migrations to include new migration for LogScrubRule.
2026-03-13 15:02:58 +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
48cdfee319 feat: add migration for LogPipeline, LogPipelineProcessor, and LogDropFilter tables 2026-03-13 11:51:01 +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
ad25241d1c feat(OnTriggerBaseModel): improve comments for boolean conversion in select values
style(LogsViewer): format export types for better readability

style(LogsAnalyticsView): clean up function formatting and improve readability

chore: bump version to 10.0.30
2026-03-12 20:38:25 +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
fca0816d6b feat(OnTriggerBaseModel): convert string "true"/"false" values to booleans in select 2026-03-12 20:27:39 +00:00
Nawaz Dhandala
d67d5315e0 feat(migrations): update LogSavedView schema migration to include new constraints and indexes 2026-03-12 19:43:56 +00:00
Nawaz Dhandala
2177f8d56c feat(migrations): add MigrationName1773344537755 to update LogSavedView schema 2026-03-12 19:43:04 +00:00
Nawaz Dhandala
5602536058 feat(OpenAPI): add pagination parameters 'limit' and 'skip' to API specifications
refactor(LogsViewer): format emptyMessage prop for better readability
refactor(SavedViewsDropdown): simplify className conditional rendering
2026-03-12 19:41:22 +00:00
Nawaz Dhandala
6c7f3b5090 feat(start-server): add protobuf body parser middleware for OTLP ingestion 2026-03-12 19:25:50 +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
Nawaz Dhandala
737f053347 feat(Statement): add NotEqual condition to value serialization 2026-03-12 14:27:09 +00:00
Nawaz Dhandala
20594be771 feat(DataRetention): add monitor metric retention settings and migration 2026-03-12 13:59:22 +00:00
Nawaz Dhandala
890e0a836c feat(MonitorLog): implement dynamic log retention based on GlobalConfig and remove old cron jobs 2026-03-12 13:46:20 +00:00
Nawaz Dhandala
a6058c6e65 refactor: clean up code formatting and comments across multiple files 2026-03-12 13:26:57 +00:00
Nawaz Dhandala
dfc2755551 feat(DataMigrations): add migration to fix tokenbf_v1 indexes and apply ZSTD codecs 2026-03-12 13:12:38 +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
27ecf76254 refactor(LogAggregationService): improve formatting and logging level in authentication and service files 2026-03-12 10:04:45 +00:00
Nawaz Dhandala
a77c59a9bd feat(LogAggregationService): add validation for facet keys and improve SQL query construction 2026-03-12 09:02:34 +00:00
Simon Larsen
b7412813fd Merge pull request #2349 from Eliaxie/fix/alert-without-monitor-notification
fix: Handle null monitor in workspace notification rules
2026-03-11 21:16:25 +00:00
Elia Maggioni
b93f4a9d7f fix: Handle null monitor in workspace notification rules
Fixes #2348

Alerts without monitors were causing workspace notifications to crash with:
TypeError: Cannot read properties of null (reading 'id')

This restores proper null handling that was accidentally removed in
commit 76ab3a8cd6.
2026-03-11 22:09:45 +01:00
Nawaz Dhandala
484dbabc3c fix(analytics): improve formatting and readability in input validation and error handling 2026-03-11 18:46:28 +00:00
Nawaz Dhandala
02e2a247c3 fix(analytics): validate aggregation types and column names in aggregateBy method 2026-03-09 18:32:23 +00:00
Nawaz Dhandala
924a107c5d fix(permissions): update tenantId condition for user global access permission checks 2026-03-08 09:41:04 +00:00
Nawaz Dhandala
27828828d7 refactor(sandbox): update comments to clarify RCE prevention measures for Playwright methods 2026-03-07 18:50:20 +00:00
Nawaz Dhandala
ea57608ca6 feat(api): add item validation and user ID checks in verification endpoints for UserCall, UserEmail, UserSMS, and UserWhatsApp 2026-03-07 18:44:27 +00:00
Nawaz Dhandala
ce253975e5 feat(security): block Playwright methods to prevent RCE and limit sandbox exposure 2026-03-07 18:29:56 +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
72cea8148d feat(logs): add traceId and spanId filters to logs and update related components 2026-03-07 17:59:41 +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
Nawaz Dhandala
a5e92d81cb Merge branch 'master' of https://github.com/OneUptime/oneuptime 2026-03-06 18:12:57 +00:00
Nawaz Dhandala
47c136a140 refactor: add getOwnPropertyDescriptor to sandbox proxies for enhanced property handling 2026-03-06 18:12:53 +00:00
Nawaz Dhandala
d7efdf70b5 refactor: add type annotations for userTenantAccessPermission in GitHubAPI 2026-03-06 15:57:51 +00:00
Nawaz Dhandala
bc9f57c9f5 refactor: update GitHub installation URL to include redirect and home client URL 2026-03-06 15:54:38 +00:00
Nawaz Dhandala
d4f9791732 refactor: enhance GitHub API authentication and authorization flow 2026-03-06 15:41:08 +00:00
Nawaz Dhandala
acdecfea8d refactor: simplify findIndex logic in Docs feature and improve Markdown config declaration 2026-03-04 21:17:39 +00:00
Nawaz Dhandala
506e64c3a6 feat: add responsive mermaid diagram wrapper and TOC sidebar visibility toggle 2026-03-04 21:16:28 +00:00
Nawaz Dhandala
f4985c876b feat: enhance documentation layout and navigation
- Added breadcrumbs to the documentation content for improved navigation.
- Refined header layout by adjusting the category badge and title positioning.
- Updated the head partial to include JetBrains Mono font and dynamic page titles.
- Enhanced the header with a search button and version indicator.
- Improved navigation structure with icons for each category and collapsible sections.
- Updated pagination to provide a more visually appealing layout with clear previous/next links.
- Introduced callout styles for notes, warnings, tips, and other alerts in markdown rendering.
- Implemented slug generation for headings to enable anchor links.
- Enhanced table rendering for better styling and responsiveness in documentation.
2026-03-04 20:36:45 +00:00
Nawaz Dhandala
c5f04595e8 fix: Remove SERVER_WORKFLOW_HOSTNAME and related references to streamline configuration 2026-03-04 13:43:06 +00:00
Nawaz Dhandala
7d18b0f7a3 Merge branch 'master' of https://github.com/OneUptime/oneuptime into ingest-merge 2026-03-04 11:00:34 +00:00
Nawaz Dhandala
2a5a0f972a fix: Implement sandbox proxy creation and unwrapping for secure code execution 2026-03-04 09:32:09 +00:00
Nawaz Dhandala
3bad62b244 fix: Refactor imports and improve formatting in notification subscriber services 2026-03-04 08:55:33 +00:00