Skip to content

Instantly share code, notes, and snippets.

@jessitron
Created September 9, 2023 15:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jessitron/b98ab5be7f07a610be78537e03f44a74 to your computer and use it in GitHub Desktop.
Save jessitron/b98ab5be7f07a610be78537e03f44a74 to your computer and use it in GitHub Desktop.
Minimal OTLP trace span, useful for testing connectivity.
{
"resourceSpans": [
{
"resource": {
"attributes": [
{
"key": "service.name",
"value": {
"stringValue": "otel-test-pod"
}
}
]
},
"scopeSpans": [
{
"scope": {
"name": "manual-test"
},
"spans": [
{
"traceId": "71699b6fe85982c7c8995ea3d9c95df2",
"spanId": "3c191d03fa8be065",
"name": "test span",
"kind": 2,
"droppedAttributesCount": 0,
"events": [],
"droppedEventsCount": 0,
"status": {
"code": 1
}
}
]
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment