You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Support multi process mode in the OTEL python SDK for metrics
It sounds like you want to continue using Prometheus exporter/being scraped, is that right?
If sending OTLP to the prometheus server is an option for you (push), you can add a unique identifier to the service.instance.id to identify each process.
The use case we solve with the Multiprocess Mode is to avoid reporting duplicated metrics by each process. The registry reports a single metric from multiple processes.
Thanks for the confirmation. We required prometheus exporter.
If sending OTLP to the prometheus server is an option for you (push), you can add a unique identifier to the service.instance.id to identify each process.
In case of OTLP exporter, can the SDK aggregate metrics from multiple processes like the prometheus client multiprocess/ feature?
Is your feature request related to a problem?
Hello, we are considering migrating metrics instrumentation from the prometheus client. However the project depends in MultiProcessCollector:
The feature does not seem to be available in the OpenTelemetry python.
Describe the solution you'd like
Support multi process mode in the OTEL python SDK for metrics
Describe alternatives you've considered
No response
Additional Context
Slack
Would you like to implement a fix?
None
The text was updated successfully, but these errors were encountered: