prometheus/cmd/prometheus
Bartlomiej Plotka 624b973ebf
Added ability to specify scrape protocols to accept during HTTP content type negotiation. (#12738)
* Added ability to specify scrape protocols to accept during HTTP content type negotiation.


This is done via new option in GlobalConfig and ScrapeConfig: "scrape_protocol"

Signed-off-by: bwplotka <bwplotka@gmail.com>

* Fixed readability and log message.

Signed-off-by: bwplotka <bwplotka@gmail.com>

---------

Signed-off-by: bwplotka <bwplotka@gmail.com>
2023-10-10 11:16:55 +01:00
..
testdata End-to-end Query Log test (#6600) 2020-01-19 21:56:13 +00:00
main.go Added ability to specify scrape protocols to accept during HTTP content type negotiation. (#12738) 2023-10-10 11:16:55 +01:00
main_test.go ci(lint): enable errorlint linter on cmd 2023-09-28 08:21:01 +00:00
main_unix_test.go style: Replace `else if` cascades with `switch` 2023-04-19 17:22:31 +02:00
query_log_test.go enable gocritic, unconvert and unused linters 2023-04-13 19:20:22 +00:00