diff --git a/solarwinds_apm/otlp_metrics_processor.py b/solarwinds_apm/otlp_metrics_processor.py index 3c742a49..176e0b57 100644 --- a/solarwinds_apm/otlp_metrics_processor.py +++ b/solarwinds_apm/otlp_metrics_processor.py @@ -56,8 +56,11 @@ def on_end(self, span: "ReadableSpan") -> None: return # support ssa and conform to Otel proto common_pb2 + # TODO init with ApmConfig to get service_name meter_attrs = { "sw.service_name": "flask-metrics-test", + "sw.trace_span_mode": "otel", + "sw.data.module": "otel", "sw.nonce": random.getrandbits(64) >> 1, }