Skip to content

feat: set user agent when scraping prom metrics#9271

Merged
reimda merged 3 commits intomasterfrom
add-ua-to-prom
May 20, 2021
Merged

feat: set user agent when scraping prom metrics#9271
reimda merged 3 commits intomasterfrom
add-ua-to-prom

Conversation

@russorat
Copy link
Copy Markdown
Contributor

Required for all PRs:

  • Updated associated README.md.
  • Wrote appropriate unit tests.

this change updates the user agent used when scraping a prometheus endpoint from the generic Go-Http-Client to Telegraf/1.18 used in other plugins (the influxdb_v2 output)

Co-authored-by: Thomas Casteleyn <thomas.casteleyn@super-visions.com>
@reimda reimda merged commit e8ae019 into master May 20, 2021
@reimda reimda deleted the add-ua-to-prom branch May 20, 2021 14:36
reimda pushed a commit that referenced this pull request May 20, 2021
arstercz pushed a commit to arstercz/telegraf that referenced this pull request Mar 5, 2023
arstercz pushed a commit to arstercz/telegraf that referenced this pull request Aug 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants