Skip to content

Commit

Permalink
Add response_time attrs for sw.trace_span_mode, sw.data.module
Browse files Browse the repository at this point in the history
  • Loading branch information
tammy-baylis-swi committed Oct 2, 2023
1 parent 46749ec commit dbb6bbf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions solarwinds_apm/otlp_metrics_processor.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}

Expand Down

0 comments on commit dbb6bbf

Please sign in to comment.