-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Vector aggregated metrics reporting as zero in Datadog #21833
Comments
I can't tell, but I think this is actually intended behavior, based on this footnote in the docs.
If I convert the gauge metric I am trying to aggregate to 'incremental' rather than 'absolute', this outputs the 1000 we were expecting. |
Hi @decimalst, Setting aside the
For a given timestamp, do you see different output on the Vector console vs DD metrics? Generally, metrics can be either absolute or incremental. Absolute metrics represent a "last write overwrites" scenario, where the latest absolute value seen becomes the actual metric value. On the other hand, incremental metrics are additive. The current total value of the metric is adjusted. Also, we provide the https://vector.dev/docs/reference/configuration/global-options/#expire_metrics_secs global option as way to remove all metrics that have not been updated in the given number of seconds. |
Hey @pront, thanks for your response. I can't tell, but it seems like the count aggregation isn't counting in the way I'd expect for absolute gauges.
Then I just curl 1000 times:
In Datadog, I don't see a value for the test_metrics_count_renamed metric reported at all.
|
A note for the community
Problem
Hi, I have a gauge metric which is reported multiple times per second via influxDB http that I am trying to aggregate the count for.
In my console logs sink, the aggregation with count appears to work, and shows a value of 1000, equaling my test suite. However, when I view the
metric in Datadog, it shows a reported value of 0.
Configuration
Version
0.42.0
Debug Output
Example Data
I tested with a couple of scripts: here is a bash example:
Same behavior happens with a python script using aiohttp.
Additional Context
Vector is running on Kubernetes.
References
No response
The text was updated successfully, but these errors were encountered: