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.
This commit is contained in:
Nawaz Dhandala
2026-03-31 13:44:59 +01:00
parent fe5329a1aa
commit d7a339b9aa
28 changed files with 1564 additions and 280 deletions

View File

@@ -305,6 +305,14 @@ DISABLE_TELEMETRY_FOR_WORKER=true
DISABLE_TELEMETRY_FOR_AI_AGENT=true
# By default profiling is disabled for all services. Set to true to enable CPU profiling for a service.
ENABLE_PROFILING_FOR_APP=false
ENABLE_PROFILING_FOR_TELEMETRY=false
ENABLE_PROFILING_FOR_TEST_SERVER=false
ENABLE_PROFILING_FOR_PROBE=false
ENABLE_PROFILING_FOR_WORKER=false
ENABLE_PROFILING_FOR_AI_AGENT=false
# Connect OneUptime with Slack App
SLACK_APP_CLIENT_ID=