You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a known problem but I don't think we have an issue opened explicitly for it.
Telegraf immediately acks incoming queue messages in the various queue consumers. It does this because there is no mechanism to learn when the metrics has been successfully outputted.
Metrics can be copied, modified, and can cause new metrics to be produced. A received metric should not be treated as being emitted successfully until all produced metrics are emitted, or there should be some options for configuring this behavior. The most routine time this occurs is when you have multiple outputs.
When this issue is resolved, it will be possible to use any queue and fully gain the durability properties of the queue. For example you can run a queue, potentially even locally, with Telegraf writing new metrics to the queue and reading from the queue and sending items read from the queue to the final output.
Bug report
This is a known problem but I don't think we have an issue opened explicitly for it.
Telegraf immediately acks incoming queue messages in the various queue consumers. It does this because there is no mechanism to learn when the metrics has been successfully outputted.
Metrics can be copied, modified, and can cause new metrics to be produced. A received metric should not be treated as being emitted successfully until all produced metrics are emitted, or there should be some options for configuring this behavior. The most routine time this occurs is when you have multiple outputs.
When this issue is resolved, it will be possible to use any queue and fully gain the durability properties of the queue. For example you can run a queue, potentially even locally, with Telegraf writing new metrics to the queue and reading from the queue and sending items read from the queue to the final output.
Example config:
This has been discussed in:
System info:
<= Telegraf 1.6.0
Steps to reproduce:
Expected behavior:
No unemitted metrics are acknowledged
Actual behavior:
Unemitted metrics are acknowledged
The text was updated successfully, but these errors were encountered: