New class to push manually metrics : CustomMetricReader #3490
samkerr4coding
started this conversation in
Ideas
Replies: 1 comment 3 replies
-
We have this change to address this use case. Set export interval to |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
For my own purpose i did develop a class in opentelemetry.sdk.metrics._internal.export called CustomMetricReader.
It does corresponds to the MetricReader interface signature and allows a manual control over the operation of sending metrics in prometheus (manual trigger for metrics to be pushed into the remote write endpoint of prometheus).
The classe is called CustomMetricReader and i use it this way :
Can you tell me if this feature is relevant? if yes can you help me on contributing this is the first time i contribute on opentelemtry.
Here is my fork :
https://github.com/samkerr4coding/opentelemetry-python/tree/custom_metric_reader
Many thanks
Samir KERROUMI
Beta Was this translation helpful? Give feedback.
All reactions