Skip to content

Commit

Permalink
change trace check condition
Browse files Browse the repository at this point in the history
  • Loading branch information
wconti27 committed Jul 12, 2023
1 parent e192665 commit 90fd108
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ddapm_test_agent/trace_checks.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def check(self, span: Span, dd_config_env: dict) -> None:

whitelisted_components = ["couchbase"]

if dd_config_env.get("DD_TRACE_SPAN_ATTRIBUTE_SCHEMA", "v0") == "v1":
if dd_config_env.get("DD_TRACE_SPAN_ATTRIBUTE_SCHEMA", "v0") != "v0":
if "peer.service" in meta.keys():
for component in whitelisted_components:
if component in meta.get("component", ""):
Expand Down

0 comments on commit 90fd108

Please sign in to comment.