-
Notifications
You must be signed in to change notification settings - Fork 74
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: update examples for datadog propagation (#3803)
update datadog example
- Loading branch information
1 parent
f5d7cb6
commit 5931da3
Showing
6 changed files
with
33 additions
and
26 deletions.
There are no files selected for viewing
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
12 changes: 0 additions & 12 deletions
12
...g-propagation/tracebased-tests/datadog_instrumented_api_to_otel_sdk_instrumented_api.yaml
This file was deleted.
Oops, something went wrong.
12 changes: 0 additions & 12 deletions
12
...g-propagation/tracebased-tests/otel_sdk_instrumented_api_to_datadog_instrumented_api.yaml
This file was deleted.
Oops, something went wrong.
21 changes: 21 additions & 0 deletions
21
examples/datadog-propagation/tracebased-tests/test_integration.yaml
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,21 @@ | ||
type: Test | ||
spec: | ||
id: CdhJp_xIR | ||
name: Test observability integration between OTelSDK-instrumented API to Datadog-instrumented API | ||
trigger: | ||
type: http | ||
httpRequest: | ||
method: GET | ||
url: http://api-otel:8080/remotehello | ||
headers: | ||
- key: Content-Type | ||
value: application/json | ||
specs: | ||
- selector: "span[tracetest.span.type=\"http\" name=\"HelloController#remote_hello\" http.target=\"/remotehello\" http.method=\"GET\"]" | ||
name: OpenAPI-instrumented API has been called | ||
assertions: | ||
- attr:http.status_code = 200 | ||
- selector: span[tracetest.span.type="http" name="rack.request" http.method="GET"] | ||
name: Datadog-instrumented API has been called | ||
assertions: | ||
- attr:http.status_code = 200 |
10 changes: 10 additions & 0 deletions
10
examples/datadog-propagation/tracebased-tests/tracing-backend.yaml
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,10 @@ | ||
type: DataStore | ||
spec: | ||
id: current | ||
name: Jaeger Tracing Backend | ||
type: jaeger | ||
default: true | ||
jaeger: | ||
endpoint: jaeger:16685 | ||
tls: | ||
insecure: true |