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.http]] prometheus remote write metrics are not receiving on Thanos ""unsupported value type"" #12830
Comments
Why do you think this is an issue in telegraf? Telegraf clearly is getting a valid 2xx return code back from your HTTP endpoint, otherwise, it would be erroring and not claiming successful writes. If you can provide additional logs or information that point to an issue in Telegraf, we would be very happy to help resolve any issues. However, without additional information (e.g. debug logs from Thanos showing issues with the request), it is not clear where to take this report. |
More logs
Input plugin:
|
This has come up before with this serializer. In general metrics are not ordered in Telegraf. Let me chat with @srebhan and get back to you. |
Hi, We chatted about this issue a bit more today. While we could possibly order individual batches, we ultimately cannot order all your metrics that you might send. Depending on the situation, 1) that might mean that you have metrics in the buffer, that will get split up and be across different times; 2) you could push data from different inputs with newer timestamps where you could come across this as well; 3) your inputs could just be impacted due to wrong times set see thanos-io/thanos#4831 for a longer discussion as well. Reading through https://thanos.io/tip/operating/troubleshooting.md/#out-of-order-samples-error it seems that the key thing is the set of labels used on the metrics are unique from each deployment, and ensuring you avoid duplicate metrics. It is not clear from this what Telegraf could further do to aid in resolving this issue, nor does it seem that there is a one singular change or fix for this issue. |
Hello! I am closing this issue due to inactivity. I hope you were able to resolve your problem, if not please try posting this question in our Community Slack or Community Page. Thank you! |
Relevant telegraf.conf
Logs from Telegraf
System info
telegraf:1.25-alpine
Docker
No response
Steps to reproduce
...
Expected behavior
Metrics should have been received on Thanos. Or some error/warning should have come on telegraf.
Actual behavior
No error on Thanos and Telegraf but still metrics are not receiving on Thanos
Additional info
Error logs on Thanos
The text was updated successfully, but these errors were encountered: