Skip to content

Commit

Permalink
chore: ignore DSM pathway hash within trace snapshot (#147)
Browse files Browse the repository at this point in the history
Ignore pathway.hash to prevent trace snapshot failures

Co-authored-by: Kyle Verhoog <[email protected]>
  • Loading branch information
wconti27 and Kyle-Verhoog authored Nov 10, 2023
1 parent dff9461 commit 2f88046
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ddapm_test_agent/trace_snapshot.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
log = logging.getLogger(__name__)


DEFAULT_SNAPSHOT_IGNORES = "span_id,trace_id,parent_id,duration,start,metrics.system.pid,metrics.system.process_id,metrics.process_id,meta.runtime-id,span_links.trace_id_high"
DEFAULT_SNAPSHOT_IGNORES = "span_id,trace_id,parent_id,duration,start,metrics.system.pid,metrics.system.process_id,metrics.process_id,meta.runtime-id,span_links.trace_id_high,meta.pathway.hash"


def _key_match(d1: Dict[str, Any], d2: Dict[str, Any], key: str) -> bool:
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
fixes:
- |
Adds dsm `pathway.hash` span tag to the ignored attributes for a trace snapshot.

0 comments on commit 2f88046

Please sign in to comment.