We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a44eac commit b317514Copy full SHA for b317514
newrelic/core/application.py
@@ -595,6 +595,13 @@ def connect_to_data_collector(self, activate_agent):
595
# Note: This environment variable will be set by the Azure Functions runtime
596
if os.environ.get("FUNCTIONS_WORKER_RUNTIME", None):
597
internal_metric("Supportability/Python/AzureFunctionMode/enabled", 1)
598
+
599
+ # OpenTelemetry Bridge toggle metric
600
+ opentelemetry_bridge = configuration.opentelemetry.enabled
601
+ internal_metric(
602
+ f"Supportability/Tracing/Python/OpenTelemetryBridge/{'enabled' if opentelemetry_bridge else 'disabled'}",
603
+ 1,
604
+ )
605
606
self._stats_engine.merge_custom_metrics(internal_metrics.metrics())
607
0 commit comments