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
Added unit tests to verify the behavior.
Tested the config option through the metrics example.
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