We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
receiver/awsecscontainermetrics
storage.read_bytes and storage.write_bytes metrics only reflect one block device.
Create an ECS task with a container that uses multiple block IO devices.
The metrics reflect the sum of all Read / Write op counters exposed via blkio_stats.io_service_bytes_recursive.
blkio_stats.io_service_bytes_recursive
The metrics only reflect the metric from the final Read/Write op counter in the list.
v0.120.0
OS: Linux on AWS ECS Fargate
receivers: awsecscontainermetrics: collection_interval: 60s processors: batch: timeout: 200ms exporters: prometheusremotewrite: endpoint: https://prometheus.endpoint service: pipelines: metrics: receivers: - awsecscontainermetrics processors: - batch exporters: - prometheusremotewrite
Fix for this: accumalate reads/writes when iterating over the IoServiceBytesRecursives list here.
IoServiceBytesRecursives
The text was updated successfully, but these errors were encountered:
Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself.
Sorry, something went wrong.
jonnangle
Successfully merging a pull request may close this issue.
Component(s)
receiver/awsecscontainermetrics
What happened?
Description
storage.read_bytes and storage.write_bytes metrics only reflect one block device.
Steps to Reproduce
Create an ECS task with a container that uses multiple block IO devices.
Expected Result
The metrics reflect the sum of all Read / Write op counters exposed via
blkio_stats.io_service_bytes_recursive
.Actual Result
The metrics only reflect the metric from the final Read/Write op counter in the list.
Collector version
v0.120.0
Environment information
Environment
OS: Linux on AWS ECS Fargate
OpenTelemetry Collector configuration
Log output
Additional context
Fix for this: accumalate reads/writes when iterating over the
IoServiceBytesRecursives
list here.The text was updated successfully, but these errors were encountered: