-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ekump/APMSP-1756 add trace exporter integration tests (#897)
- APMSP-1756 add initial integration tests for trace exporter - APMSP-1779 add span deserialization and Payload collection construction to send data integration tests - Return the offending key in the error message when decoding v04 msgpack spans and we encounter an invalid key - Fix confusing var name in dogstatsd client from PR #890
- Loading branch information
1 parent
2c7bb8e
commit 9153b45
Showing
15 changed files
with
478 additions
and
74 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
60 changes: 60 additions & 0 deletions
60
data-pipeline/tests/snapshots/compare_v04_trace_snapshot_test.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
[ | ||
[ | ||
{ | ||
"service": "test-service", | ||
"name": "test_name", | ||
"resource": "test-resource", | ||
"trace_id": 1234, | ||
"span_id": 12342, | ||
"parent_id": 12341, | ||
"start": 1, | ||
"duration": 5, | ||
"meta": { | ||
"env": "test-env", | ||
"service": "test-service", | ||
"runtime-id": "test-runtime-id-value" | ||
}, | ||
"metrics": { | ||
"_dd_metric1": 1.0, | ||
"_dd_metric2": 2.0 | ||
} | ||
}, | ||
{ | ||
"service": "test-service", | ||
"name": "test_name", | ||
"resource": "test-resource", | ||
"trace_id": 1234, | ||
"span_id": 12343, | ||
"parent_id": 12341, | ||
"start": 1, | ||
"duration": 5, | ||
"meta": { | ||
"env": "test-env", | ||
"runtime-id": "test-runtime-id-value", | ||
"service": "test-service" | ||
} | ||
}, | ||
{ | ||
"service": "test-service", | ||
"name": "test_name", | ||
"resource": "test-resource", | ||
"trace_id": 1234, | ||
"span_id": 12341, | ||
"parent_id": 0, | ||
"start": 0, | ||
"duration": 5, | ||
"meta": { | ||
"_dd.origin": "cloudfunction", | ||
"env": "test-env", | ||
"service": "test-service", | ||
"runtime-id": "test-runtime-id-value", | ||
"origin": "cloudfunction", | ||
"functionname": "dummy_function_name" | ||
}, | ||
"metrics": { | ||
"_top_level": 1.0 | ||
}, | ||
"type": "web" | ||
} | ||
] | ||
] |
Oops, something went wrong.