opentelemetry-python
opentelemetry-python copied to clipboard
Mechanism to configure views with opentelemetry-instrument
Views are intended to be the main configuration mechanism for metrics instrumentation. For example, dropping a metric or metrics from a given instrumentation. We need a mechanism to specify view configuration with the opentelemetry-instrument auto instrumentation agent. Concerns:
- There has been a lot of community discussion around configuration. If we do implement something, there may be a formal spec later on.
- Maybe check what java agent is doing here
One alternative would be identifying the major use cases and adding simple config flags which we convert to views for auto instrumentation.
For the curious people, the ongoing work is here https://github.com/MrAlias/otel-schema/
Hi team, is there any update on this feature?
I have one use case that needs to configure views in the auto-instrumentation SDK, however, it seems there's no existing mechanism to configure them through files. See https://github.com/open-telemetry/opentelemetry-python-contrib/issues/2861.
@bjrara
No update as of today.