Skip to content

Conversation

@yosrixp
Copy link
Contributor

@yosrixp yosrixp commented Aug 19, 2025

Description

Implemented an optimized metric registration: OpenTelemetryMetric now caches CounterBuilder instances in a concurrent map,

  • Registering each metric name only once instead of creating a new builder on every increment.
  • Added a gauge(name, domain, service, value) method to record event metrics at scrape time.

Contribution Checklist:

  • The pull request does not introduce any breaking changes
  • I have read the contribution guidelines.
  • Create an issue and link to the pull request.

Attach Screenshots (Optional)

@havetisyan havetisyan merged commit 2860f01 into AthenZ:master Aug 19, 2025
3 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