forked from open-telemetry/opentelemetry-collector
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Report metric about current size of the exporter retry queue
This commit adds observability to queue_retry exporter helper. It adds the first metric "queue_length" that indicates current size of the queue per exporter. The metrics is updated every second. This is the first commit to address the issue open-telemetry#2434
- Loading branch information
Showing
6 changed files
with
188 additions
and
4 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
extensions: | ||
zpages: | ||
endpoint: 0.0.0.0:55679 | ||
|
||
receivers: | ||
otlp: | ||
protocols: | ||
grpc: | ||
opencensus: | ||
jaeger: | ||
protocols: | ||
grpc: | ||
thrift_http: | ||
zipkin: | ||
|
||
processors: | ||
batch: {} | ||
memory_limiter: | ||
ballast_size_mib: 2000 | ||
check_interval: 1s | ||
limit_mib: 4000 | ||
spike_limit_mib: 800 | ||
|
||
exporters: | ||
logging: | ||
otlp: | ||
endpoint: localhost:1234 | ||
|
||
service: | ||
pipelines: | ||
traces: | ||
receivers: [zipkin] | ||
processors: [memory_limiter] | ||
exporters: [logging, otlp] | ||
|
||
extensions: [zpages] |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
curl -vs localhost:9411/api/v1/spans -H'Content-type: application/json' -H 'Expect:' -d '[ | ||
{ | ||
"traceId": "5e1b76cb257aa6fd", | ||
"name": "app - root span", | ||
"id": "168ba9a2869c3ae1", | ||
"timestamp": 1473066067938000, | ||
"duration": 484655, | ||
"annotations": [ | ||
{ | ||
"timestamp": 1473066067938000, | ||
"value": "sr", | ||
"endpoint": { | ||
"serviceName": "app", | ||
"ipv4": "0.0.0.0" | ||
} | ||
}, | ||
{ | ||
"timestamp": 1473066068422655, | ||
"value": "ss", | ||
"endpoint": { | ||
"serviceName": "app", | ||
"ipv4": "0.0.0.0" | ||
} | ||
} | ||
], | ||
"binaryAnnotations": [] | ||
}, | ||
{ | ||
"traceId": "5e1b76cb257aa6fd", | ||
"name": "app test - get", | ||
"id": "fbbff4adc94c01cb", | ||
"parentId": "168ba9a2869c3ae1", | ||
"timestamp": 1473066067939000, | ||
"duration": 483823, | ||
"annotations": [], | ||
"binaryAnnotations": [ | ||
{ | ||
"key": "error", | ||
"value": "test", | ||
"endpoint": { | ||
"serviceName": "app", | ||
"ipv4": "0.0.0.0" | ||
} | ||
}, | ||
{ | ||
"key": "lc", | ||
"value": "Application", | ||
"endpoint": { | ||
"serviceName": "app", | ||
"ipv4": "0.0.0.0" | ||
} | ||
} | ||
] | ||
} | ||
]' |