5345 Commits

Author SHA1 Message Date
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
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
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
295e191456 feat(logs-viewer): update SavedViewsDropdown layout and enhance button interactions 2026-03-12 18:57:26 +00:00
Nawaz Dhandala
8baaa587e2 feat(logs-viewer): enhance empty message handling and update button styles across components 2026-03-12 18:52:02 +00:00
Nawaz Dhandala
66034a2473 feat(logs-viewer): add create saved view button to SavedViewsDropdown and update LogsViewerToolbar 2026-03-12 18:41:54 +00:00
Nawaz Dhandala
d972c565e3 refactor(logs-viewer): simplify layout structure and enhance toolbar display 2026-03-12 18:32:13 +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
Simon Larsen
22c89b7579 Merge pull request #2345 from OneUptime/snyk-fix-8ed94913d5b7c146b3ac6c4b38e8fee5
[Snyk] Security upgrade multer from 2.0.2 to 2.1.1
2026-03-12 15:42:21 +00:00
Nawaz Dhandala
d79588e02c refactor(FacetSection): format imports and improve line length readability 2026-03-12 15:22:34 +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
375b2e67d0 refactor(LogsViewer, DataMigrations, Routes): convert comments to block comments for clarity 2026-03-12 15:13:21 +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
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
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
bbd6bdac12 refactor(tests): improve formatting of makeAggregateBy function for better readability 2026-03-11 18:47:00 +00: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
818f6a3788 test(aggregateBy): add input validation tests for aggregation parameters 2026-03-09 18:45:35 +00:00
Nawaz Dhandala
02e2a247c3 fix(analytics): validate aggregation types and column names in aggregateBy method 2026-03-09 18:32:23 +00:00
snyk-bot
599b7fdf7b fix: Common/package.json & Common/package-lock.json to reduce vulnerabilities
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-MULTER-15417528
2026-03-09 18:11:44 +00:00
Nawaz Dhandala
812e6ab6df fix(UUID): update UUID generation to use v4 for improved uniqueness 2026-03-09 18:06:30 +00:00
Nawaz Dhandala
dd4effa449 feat(markdown): integrate DOMPurify for enhanced security in Mermaid diagrams 2026-03-09 18:04:01 +00:00
Nawaz Dhandala
fed52fecd9 fix(logs): restructure LogsViewerToolbar layout for improved readability 2026-03-08 09:51:47 +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
ecc77ad8f7 fix(types): update optional properties in LogSearchBarProps interface for clarity 2026-03-07 21:32:05 +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
0188c01115 feat(logs): enhance LogSearchBar for improved suggestion handling and add formatYAxisTick for better histogram display 2026-03-07 14:01:37 +00:00