prometheus/scrape
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 Re-generate test cert to fix test_windows test failures 2022-03-17 19:37:18 +01:00
clientprotobuf.go Update according to code review 2023-05-05 02:33:00 +08:00
helpers_test.go scrape: Refactor names of float samples 2023-07-13 14:27:51 +02:00
manager.go Added ability to specify scrape protocols to accept during HTTP content type negotiation. (#12738) 2023-10-10 11:16:55 +01:00
manager_test.go Fix wording from "jitterSeed" -> "offsetSeed" for server-wide scrape offsets 2023-05-25 11:54:00 +02:00
scrape.go Added ability to specify scrape protocols to accept during HTTP content type negotiation. (#12738) 2023-10-10 11:16:55 +01:00
scrape_test.go Added ability to specify scrape protocols to accept during HTTP content type negotiation. (#12738) 2023-10-10 11:16:55 +01:00
target.go Rename remaining jitterSeed -> offsetSeed variables (#12414) 2023-06-05 17:36:11 +02:00
target_test.go Fix wording from "jitterSeed" -> "offsetSeed" for server-wide scrape offsets 2023-05-25 11:54:00 +02:00