admin管理员组文章数量:1123509
I am using StatsD to send metrics to a receiver, but I am encountering an issue where timing metrics (|ms) are not being captured, even though counter metrics (|c) work fine.
Example of Working Metric: The following command works and is processed correctly by the StatsD receiver:
echo "test_Latency2:42|c|#key:val" | nc -u -w1 localhost 8127
Example of Non-Working Metric: However, this command does not result in any output or processing:
echo "test_Latency:0.082231|ms" | nc -u -w1 localhost 8127
Current StatsD Configuration:
Here is the configuration I am using for the receiver by following the doc:
receivers:
statsd:
endpoint: "localhost:8127"
aggregation_interval: 30s
enable_metric_type: true
is_monotonic_counter: false
timer_histogram_mapping:
- statsd_type: "histogram"
observer_type: "gauge"
- statsd_type: "timing"
observer_type: "histogram"
histogram:
max_size: 100
- statsd_type: "distribution"
observer_type: "summary"
summary:
percentiles: [0, 10, 50, 90, 95, 100]
Why are timing metrics (|ms) not being captured while counters (|c) are working, can you please help to check on it as the statsdreceiver github document says it supports "timer" related metrics .md#timer
Any help or suggestions would be greatly appreciated.
Thank you!
版权声明:本文标题:open telemetry - StatsD Timing Metric (|ms) Not Captured While Counter Metric (|c) Works Properly - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736571782a1944782.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论