You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add metrics to monitor the integrity of an HTTP resource.
These are configured using:
- `fail_if_body_not_matches_hash` configures hash-based probe failures.
- `hash_algorithm` (`sha256` by default) configures the hash used.
- `export_hash` enables exporting the hashed body as a label.
This results in the following new metrics:
- `probe_http_content_checksum` contains the CRC32 of the page as a value.
This is not cryptographically secure, but should work sufficiently well
for monitoring changes in normal situations.
- `probe_http_content_hash` contains a configurable hash of the page in a label.
This *is* cryptographically secure, but may lead to high cardinality when enabled.
The hash is configurable.
- `probe_failed_due_to_hash` contains a metric that indicates if the probe failed
because the content hash did not match the expected value.
Signed-off-by: Silke Hofstra <[email protected]>
0 commit comments