From e4331bcf4767d0d28cab5eb4ad36fb102cac7b22 Mon Sep 17 00:00:00 2001 From: tammy-baylis-swi Date: Tue, 19 Mar 2024 13:59:38 -0700 Subject: [PATCH] Generate --- .../src/opentelemetry/instrumentation/_semconv.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/opentelemetry-instrumentation/src/opentelemetry/instrumentation/_semconv.py b/opentelemetry-instrumentation/src/opentelemetry/instrumentation/_semconv.py index 8d8a8064e4..3c12a2d80e 100644 --- a/opentelemetry-instrumentation/src/opentelemetry/instrumentation/_semconv.py +++ b/opentelemetry-instrumentation/src/opentelemetry/instrumentation/_semconv.py @@ -145,7 +145,7 @@ def _set_http_network_protocol_version(result, version, sem_conv_opt_in_mode): ) -def _get_cloud_resource_id( sem_conv_opt_in_mode) -> str: +def _get_cloud_resource_id(sem_conv_opt_in_mode) -> str: if _report_new(sem_conv_opt_in_mode): return ResourceAttributes.CLOUD_RESOURCE_ID return ResourceAttributes.FAAS_ID @@ -215,7 +215,7 @@ def _initialize(cls): http_opt_in = _OpenTelemetryStabilityMode.HTTP_DUP elif _OpenTelemetryStabilityMode.HTTP.value in opt_in_list: http_opt_in = _OpenTelemetryStabilityMode.HTTP - + # Process faas opt-in # faas/dup takes priority over faas if (