Skip to content

Clarify documentation about excluding otel-instrumented services #1248

@pilhuhn

Description

@pilhuhn

See https://opentelemetry.io/docs/zero-code/obi/configure/service-discovery/#exclude-otel-instrumented-services

It says :

The exclude_otel_instrumented_services option disables OBI instrumentation of services already instrumented with OpenTelemetry

Now I have this config:

discovery:
  instrument:
    #- open_ports: 8000
    - exe_path: "*python3.14*"
  exclude_otel_instrumented_services: true

and I do see duplicate instrumentation in my Python code

Image

python3.4 and payment are the same code.

Perhaps I am using the flag wrong. Or the obi-instrumentation does not catch all cases.

Server code is at https://github.com/pilhuhn/observability-talk/blob/main/python-pay/server5.py

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions