GoogleCloudPlatform / opentelemetry-operations-java

Apache License 2.0
71 stars 41 forks source link

Add config option to disable attaching InstrumentationLibrary labels #358

Closed psx95 closed 1 month ago

psx95 commented 1 month ago

Description

This PR adds a config option - setInstrumentationLibraryLabelsEnabled(boolean) that allows the user to configure the exporter to not attach the instrumentation library labels as metric attributes during export.

By default these labels are attached automatically by the exporter during export time.

Test

fixes #357