Skip to content
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.

Update http output plugin to ignore 409 response code #1

Draft
wants to merge 2 commits into
base: release-1.19
Choose a base branch
from

Conversation

dgarros
Copy link

@dgarros dgarros commented Aug 18, 2021

The goal of this PR is to track the changes/fixes made in the branch fix-http-output-1.19.2 to the http output plugin.

This PR shouldn't be merged.

This change was made as a temporary fix to allow Telegraf to remote-write data into Thanos using the HTTP output plugin.

By design Thanos will return a 409 when some data can't be ingested for various reasons and the client should drop these metrics. Without this fix, Telegraf will try to resend all data after receiving a 409 response code, which blocks all data to be send to Thanos until the faulty block expires.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants