Skip to content
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

fix: add newline in execd for prometheus parsing #10463

Merged
merged 1 commit into from
Jan 20, 2022

Conversation

powersj
Copy link
Contributor

@powersj powersj commented Jan 19, 2022

The Prometheus parser currently will return a text format parsing error
due to an unexpected end of input stream. This is due to there not being
a new line (e.g. \n) at the end of the string. Once added, the execd
works as expected.

Fixes: #10460

The Prometheus parser currently will return a text format parsing error
due to an unexpected end of input stream. This is due to there not being
a new line (e.g. \n) at the end of the string. Once added, the execd
works as expected.

Fixes: influxdata#10460
@telegraf-tiger telegraf-tiger bot added the fix pr to fix corresponding bug label Jan 19, 2022
@powersj powersj marked this pull request as draft January 19, 2022 18:33
@powersj powersj marked this pull request as ready for review January 20, 2022 15:39
@powersj powersj merged commit 61214bd into influxdata:master Jan 20, 2022
powersj added a commit to powersj/telegraf that referenced this pull request Jan 21, 2022
powersj added a commit to powersj/telegraf that referenced this pull request Jan 21, 2022
@powersj powersj deleted the fix/prometheus-execd branch January 23, 2022 21:14
reimda pushed a commit that referenced this pull request Jan 27, 2022
arstercz added a commit to arstercz/telegraf that referenced this pull request Feb 9, 2022
arstercz added a commit to arstercz/telegraf that referenced this pull request Mar 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix pr to fix corresponding bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Execd plugin error deal “\n” for data_format prometheus.
2 participants