-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Some metrics in nginxreceiver are defined as Gauge, but they are non-monotonic sums #4326
Comments
…lemetry#4326) Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
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 |
This issue has been closed as inactive because it has been stale for 120 days with no activity. |
Pinging code owners for receiver/nginx: @djaglowski. See Adding Labels via Comments if you do not have permissions to add labels yourself. |
Hi @djaglowski and @bogdandrutu I stumbled upon this change and am curious why it was made? According the nginx documentation What inspired this change? Has there been a fundamental change to how the metric is observed from one that can go up or down, to one that can only go up? |
Hi @lBowlin, there's a subtlety in the OTel data model that was overlooked in this case. Basically, our notion of sum metric is a bit broader than just counters and can represent realtime values that go up and down. The key idea here is that we subdivide sums into monotonic (counters) and non-monotonic (gauge-like) types, but we ultimately expect non-monotonic sums to be treated as gauges in most backends. (This diagram may be helpful.) What differentiates a non-monotonic sum from a gauge is that the data points can be meaningfully aggregated. For example, with this metric we could:
This means that gauges are only used for things that cannot be aggregated in a straightforward way. For example, a disk space utilization %. |
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. |
This is essentially completed but still behind a feature gate. |
E.g.
nginx.connections_current
The text was updated successfully, but these errors were encountered: