Skip to content

Add telemetry and observability configurations for DevLake - #21

Merged
aimanmuzaffar95 merged 1 commit into
arbisoft:main-arbisoftfrom
aimanmuzaffar95:task/add-prometheus-and-otel-configs
Jul 30, 2026
Merged

Add telemetry and observability configurations for DevLake#21
aimanmuzaffar95 merged 1 commit into
arbisoft:main-arbisoftfrom
aimanmuzaffar95:task/add-prometheus-and-otel-configs

Conversation

@aimanmuzaffar95

@aimanmuzaffar95 aimanmuzaffar95 commented Jul 28, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Introduced OpenTelemetry collector setup with Prometheus for telemetry metrics.
  • Added prometheus.yml for Grafana datasource provisioning.
  • Created README.md for the telemetry directory detailing setup and usage instructions.
  • Developed production-ready configurations in README-PRODUCTION.md for optimized deployment.
  • Implemented collector-config-production.yaml for efficient metric processing and memory management.
  • Established Docker Compose files for both debug and production environments.
  • Configured Prometheus scrape settings in prometheus.yml for collecting metrics from the OTEL collector.
  • Added a Grafana dashboard (ClaudeAdoptionPrometheus.json) sourced from Prometheus/OTel data.

Test plan

  • Validated all docker-compose files with docker compose config.
  • Verified the production collector config exposes a working health_check extension so the compose healthcheck passes.
  • Ran two live headless Claude Code sessions with the OTel env vars set, confirmed their telemetry flowed through the otel-collector into Prometheus.
  • Found and fixed a staleness bug in the dashboard queries (sum(metric)sum(max_over_time(metric[$__range]))) so short-lived/non-interactive sessions don't silently drop off the dashboard.
  • Manual review of dashboard panels in a running Grafana instance.

…evLake

- Introduced OpenTelemetry collector setup with Prometheus for telemetry metrics.
- Added prometheus.yml for Grafana datasource provisioning.
- Created README.md for telemetry directory detailing setup and usage instructions.
- Developed production-ready configurations in README-PRODUCTION.md for optimized deployment.
- Implemented collector-config-production.yaml for efficient metric processing and memory management.
- Established Docker Compose files for both debug and production environments.
- Configured Prometheus scrape settings in prometheus.yml for collecting metrics from the OTEL collector.
@aimanmuzaffar95
aimanmuzaffar95 force-pushed the task/add-prometheus-and-otel-configs branch from 56c4df8 to 0727546 Compare July 28, 2026 15:54
@aimanmuzaffar95
aimanmuzaffar95 merged commit 0f0d5d8 into arbisoft:main-arbisoft Jul 30, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants