Skip to content

Commit

Permalink
APM: Don't set service & request span names for fastapi
Browse files Browse the repository at this point in the history
  • Loading branch information
roekatz committed Mar 6, 2024
1 parent 5dd9752 commit 400195c
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions packages/opal-common/opal_common/monitoring/apm.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,6 @@ def process_trace(self, trace: list[Span]) -> Optional[list[Span]]:
}
)

# Override service name
config.fastapi["service_name"] = service_name
config.fastapi["request_span_name"] = f"{service_name}.request"

else:
logger.info("DataDog APM disabled")
tracer.configure(enabled=False)
Expand Down

0 comments on commit 400195c

Please sign in to comment.