Share my comment here for blackbox-exporter PR 884: https://github.com/prometheus/blackbox_exporter/pull/884#issuecomment-1308404219
Context:
Should we put the content of blackbox monitoring endpoint into logs?
My answer is yes but with default option turning off.
Concern:
1. log record size too large.
2. credentials leak.
My thoughts:
1. Some endpoints returns rather small chunk of data.
2. A tool should provide let user make the best judgement.
Added log line for received html body. by pgmgb · Pull Request #884 · prometheus/blackbox_exporter
We had some troubles identifying why a specific HTTP probe with a fail_if_body_matches_regexp did not work for a specific website. In the end, the website started to deliver compressed data, so the...