Skip to content

Conversation

@fordN
Copy link
Contributor

@fordN fordN commented Feb 3, 2026

This PR adds support for prometheus metrics and creates a few initial metrics.

Summary

  • Add AmpMetrics singleton with Prometheus metrics for loaders
  • Track records processed, latency, errors, batch sizes, connections
  • Handle metric re-registration in test environments
  • Add metrics documentation
  • Adds prometheus-client dependency

Depends on PR #32 (test generalization)
Resolves #7

@fordN fordN self-assigned this Feb 3, 2026
@fordN fordN changed the base branch from main to ford/generalize-loader-tests February 3, 2026 01:26
@fordN fordN force-pushed the ford/metrics-instrumentation branch from 60b9016 to 67c07a0 Compare February 3, 2026 01:31
@fordN fordN added the metrics label Feb 3, 2026
@edgeandnode edgeandnode deleted a comment from github-actions bot Feb 3, 2026
- use new dependency `prometheus-client`
-
@fordN fordN force-pushed the ford/metrics-instrumentation branch from 67c07a0 to 5ee72d0 Compare February 3, 2026 01:59
@fordN fordN marked this pull request as draft February 3, 2026 04:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants