prometheus/config/testdata
Brian Brazil 30448286c7 Add sample_limit to scrape config.
This imposes a hard limit on the number of samples ingested from the
target. This is counted after metric relabelling, to allow dropping of
problemtic metrics.

This is intended as a very blunt tool to prevent overload due to
misbehaving targets that suddenly jump in sample count (e.g. adding
a label containing email addresses).

Add metric to track how often this happens.

Fixes #2137
2016-12-16 15:10:09 +00:00
..
bearertoken.bad.yml Configuration options for bearer tokens, client certs & CA certs 2015-08-04 17:18:46 +01:00
bearertoken_basicauth.bad.yml Configuration options for bearer tokens, client certs & CA certs 2015-08-04 17:18:46 +01:00
conf.good.yml Add sample_limit to scrape config. 2016-12-16 15:10:09 +00:00
global_timeout.good.yml Fix global config YAML issues 2016-02-15 14:08:25 +01:00
jobname.bad.yml Allow number to be the first letter as well for job_name 2016-09-16 14:06:47 +03:00
jobname_dup.bad.yml Switch config to YAML format. 2015-05-07 16:52:14 +02:00
kubernetes_bearertoken.bad.yml config: adapt unit tests 2016-10-17 10:32:10 +02:00
kubernetes_bearertoken_basicauth.bad.yml config: adapt unit tests 2016-10-17 10:32:10 +02:00
kubernetes_role.bad.yml config: validate Kubernetes role correctly. 2016-07-18 22:24:41 +09:00
labelname.bad.yml Rename global "labels" config option to "external_labels". 2015-09-29 20:54:20 +02:00
labelname2.bad.yml Rename global "labels" config option to "external_labels". 2015-09-29 20:54:20 +02:00
marathon_no_servers.bad.yml Fix missing unmarshal for Marathon SD config. 2015-09-06 20:02:22 +02:00
modulus_missing.bad.yml Add 'hashmod' relabel action. 2015-06-24 21:14:53 +01:00
regex.bad.yml Switch config to YAML format. 2015-05-07 16:52:14 +02:00
rules.bad.yml Load rule files from entire directories 2015-06-01 21:12:31 +02:00
scrape_interval.bad.yml Restrict scrape timeout to interval length 2016-02-12 12:52:22 +01:00
static_config.bad.json config: deprecate target_groups for static_configs 2016-06-08 15:55:25 +02:00
target_label_hashmod_missing.bad.yml Forbid invalid relabel configurations 2016-08-29 16:56:06 +02:00
target_label_missing.bad.yml Forbid invalid relabel configurations 2016-08-29 16:56:06 +02:00
unknown_attr.bad.yml Rename global "labels" config option to "external_labels". 2015-09-29 20:54:20 +02:00
url_in_targetgroup.bad.yml config: deprecate target_groups for static_configs 2016-06-08 15:55:25 +02:00