-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
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
statsd receiver does not display well for statsd_type timing
when observed as observer_type summary
#29508
Comments
Pinging code owners: See Adding Labels via Comments if you do not have permissions to add labels yourself. |
@charz thank you for this report, would you like to try to fix this issue? |
@atoulme Do you have any guidelines that I should follow? |
Sure, I'd take your tests and curl requests and turn this into a test that fails. From there, I'd open a PR to show the failing test and ask for help to resolve, or try to implement a fix. |
Just figured it out. Will send a PR later.
|
The receiver uses each metric's address as the key to create instruments, but the port in the address of each metric is dynamically assigned. This results in the StatsD receiver creating numerous instruments and being unable to aggregate metrics together. Fixes open-telemetry#29508, fixex open-telemetry#23809
This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping Pinging code owners: See Adding Labels via Comments if you do not have permissions to add labels yourself. |
This issue has been closed as inactive because it has been stale for 120 days with no activity. |
Component(s)
receiver/statsd
What happened?
Description
The statsd receiver does not display well for statsd_type
timing
when observed as observer_typesummary
. I observe that<name>_timing_count
is consistently1
, and<name>_timing_sum
is incorrect.Steps to Reproduce
The configuration
The statsd metrics from Ncat
Expected Result
Here are the expected results from statsd_exporter. I'm unsure why test_metric_ts_count in the statsd receiver is consistently 1.
The same test agaist statsd_exporter
Actual Result
Collector version
v0.88.0
Environment information
Environment
OS: (e.g., "Ubuntu 20.04")
Compiler(if manually compiled): (e.g., "go 14.2")
OpenTelemetry Collector configuration
Log output
Additional context
No response
The text was updated successfully, but these errors were encountered: