Address code review comments

Signed-off-by: fpetkovski <filip.petkovsky@gmail.com>
This commit is contained in:
fpetkovski 2022-03-30 09:35:03 +02:00
parent 877320784b
commit 501a8a7865
No known key found for this signature in database
GPG key ID: 431B0F2E85E42402

View file

@ -286,7 +286,7 @@
}, },
annotations: { annotations: {
summary: 'Prometheus has dropped some targets that exceeded body size limit.', summary: 'Prometheus has dropped some targets that exceeded body size limit.',
description: 'Prometheus %(prometheusName)s has dropped {{ printf "%%.0f" $value }} targets because some targets exceeded the configured body_size_limit.' % $._config, description: 'Prometheus %(prometheusName)s has failed {{ printf "%%.0f" $value }} scrapes in the last 5m because some targets exceeded the configured body_size_limit.' % $._config,
}, },
}, },
{ {
@ -300,7 +300,7 @@
}, },
annotations: { annotations: {
summary: 'Prometheus has failed scrapes that have exceeded the configured sample limit.', summary: 'Prometheus has failed scrapes that have exceeded the configured sample limit.',
description: 'Prometheus %(prometheusName)s has failed {{ printf "%%.0f" $value }} scrapes because some targets exceeded the configured sample_limit.' % $._config, description: 'Prometheus %(prometheusName)s has failed {{ printf "%%.0f" $value }} scrapes in the last 5m because some targets exceeded the configured sample_limit.' % $._config,
}, },
}, },
{ {