opentelemetry-python icon indicating copy to clipboard operation
opentelemetry-python copied to clipboard

Mechanism to configure views with opentelemetry-instrument

Open aabmass opened this issue 3 years ago • 3 comments

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.

aabmass avatar Jun 09 '22 16:06 aabmass

For the curious people, the ongoing work is here https://github.com/MrAlias/otel-schema/

srikanthccv avatar Feb 04 '23 20:02 srikanthccv

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 avatar Oct 17 '24 19:10 bjrara

@bjrara

No update as of today.

lzchen avatar Oct 19 '24 13:10 lzchen