GoogleCloudPlatform / opentelemetry-operations-java

Apache License 2.0
73 stars 39 forks source link

Add config option to disable attaching InstrumentationLibrary labels #358

Closed psx95 closed 4 months ago

psx95 commented 4 months 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