-
Notifications
You must be signed in to change notification settings - Fork 5.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
Outputs.Stackdriver Start and End Timestamp Appear to be the Same #13725
Comments
@powersj I think the problem I was having with Have a wonderful weekend! |
@powersj I see this bit of code here:
This is a great idea, but I'm wondering if the timestamp generated maintains that timestamp precision as when I look at the returned error from the GCM API I see this: Field timeSeries[40].points[0].interval.start_time had an invalid value of I wonder if we increased the timestamp precision to millisecond if that would help? Thoughts? |
Looking at the error messages, all the errors are with the metric The time handling for counters is different for gauges and this is a different metric type, so our counter cache needs to store it a second time. Rather than taking the existing data point, we need to recalculate the time interval. I have put up #13745 for you to try out! Thanks! |
Awesome, will do! Thanks for the help @powersj !! |
Dang buddy, you're a wizard! That worked like a charm :) |
Also,
|
:) Thanks for verifying
Yes, for metrics that are "untyped" they will are sent twice, once with "unknown" and another with "unknown:counter".
The counter cache has a debug statement for age, I don't think this is helpful and will remove it. |
You bet, thanks for the help!
The internal metrics are sent twice, once for
Got it. |
It is not just internal metrics, but untyped metrics. That was at the request of Google review here: #13454 (comment) |
Got it, the metrics look fine outside of Google. Just curious, is there anyway for us to know if a metric is untyped by looking at the input plugins documentation? Or is it basically we would just find out when we send them? |
There is not a clear way as far as I can tell without looking at the code. What I generally say is that basically every metric produced by telegraf will be untyped, except metrics that are from prometheus, where the types are set. I'm sure there are exceptions to that large generalization. |
Ok, that's cool. Thanks again for all the help buddy! |
Relevant telegraf.conf
Logs from Telegraf
The text was updated successfully, but these errors were encountered: