vectordotdev/vector

prometheus_scrape source should have request headers configurable

Open

#19,656 建立於 2024年1月18日

在 GitHub 查看
 (5 留言) (2 反應) (0 負責人)Rust (2,126 fork)batch import
good first issuesource: prometheus_scrapetype: feature

倉庫指標

Star
 (21,837 star)
PR 合併指標
 (平均合併 8天 16小時) (30 天內合併 110 個 PR)

描述

A note for the community

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Use Cases

For example, Hashicorp Vault requires Accept: prometheus/telemetry or Accept: application/openmetrics-text] headers to be present in request to return metrics in Prometheus format.

https://developer.hashicorp.com/vault/docs/configuration/telemetry#prometheus

Attempted Solutions

No response

Proposal

prometheus_scrape source should have request headers configurable, as http_client already do.

References

No response

Version

0.35.0

貢獻者指南