Skip to content

feat: OTEL-native observability metrics + helm chart - #712

Merged
AmitoVrito merged 5 commits into
mainfrom
feat/issue-695-otel-observability
May 20, 2026
Merged

AmitoVrito merged 5 commits into
mainfrom
feat/issue-695-otel-observability

Conversation

@DhruvGarg111

@DhruvGarg111 DhruvGarg111 commented May 18, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • add Prometheus metrics exporter hooked into observe spans
  • document Grafana export quickstart
  • add Helm chart for Prometheus/Grafana + dashboard provisioning

Testing

  • python -c "import sys,pytest; sys.path.insert(0, r'E:\My Github\SynapseKit\src'); raise SystemExit(pytest.main(['tests/observability']))"
  • python -m ruff check src tests

fixes: #695

Comment thread src/synapsekit/observe/runtime.py Fixed
- Add prometheus_client to deptry DEP001 ignores in pyproject.toml
- Add misc to type ignores for Prometheus fallback variables in metrics.py to fix mypy errors
- Change after_export stub to use pass instead of ... in runtime.py to fix CodeQL alert
@DhruvGarg111 DhruvGarg111 added the v1.8 Planned for v1.8 release label May 18, 2026
@AmitoVrito
AmitoVrito merged commit 826f804 into main May 20, 2026
5 checks passed
@AmitoVrito

Copy link
Copy Markdown
Collaborator

Thanks Dhruv. The Prometheus metrics class degrades properly when the optional dep is absent, and the with suppress(Exception) pattern on the record methods is the right call — metrics should never crash the main path. Helm chart is well-structured and the Grafana dashboard provisioning config is solid. Merged via #719.

AmitoVrito added a commit that referenced this pull request May 20, 2026
…turedOutput, AgentFederation, FineTuningPipeline, benchmark harness

Covers PRs #711 #712 #713 #718 #714 #717 merged via batch PR #719.

Co-authored-by: Dhruv Garg <[email protected]>
Co-authored-by: Abhay <[email protected]>
@AmitoVrito
AmitoVrito deleted the feat/issue-695-otel-observability branch May 22, 2026 22:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

v1.8 Planned for v1.8 release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: OTEL-native observability exporter with Prometheus metrics

2 participants