prometheus/config/testdata
Callum Styan 67838643ee
Add config option for remote job name (#6043)
* Track remote write queues via a map so we don't care about index.

Signed-off-by: Callum Styan <callumstyan@gmail.com>

* Support a job name for remote write/read so we can differentiate between
them using the name.

Signed-off-by: Callum Styan <callumstyan@gmail.com>

* Remote write/read has Name to not confuse the meaning of the field with
scrape job names.

Signed-off-by: Callum Styan <callumstyan@gmail.com>

* Split queue/client label into remote_name and url labels.

Signed-off-by: Callum Styan <callumstyan@gmail.com>

* Don't allow for duplicate remote write/read configs.

Signed-off-by: Callum Styan <callumstyan@gmail.com>

* Ensure we restart remote write queues if the hash of their config has
not changed, but the remote name has changed.

Signed-off-by: Callum Styan <callumstyan@gmail.com>

* Include name in remote read/write config hashes, simplify duplicates
check, update test accordingly.

Signed-off-by: Callum Styan <callumstyan@gmail.com>
2019-12-12 12:47:23 -08:00
..
azure_authentication_method.bad.yml discovery: add support for Managed Identity authentication in Azure SD (#4590) 2018-12-19 10:03:33 +00:00
azure_client_id_missing.bad.yml discovery/azure: Fail hard when Azure authentication parameters are missing (#4907) 2018-11-29 16:47:59 +01:00
azure_client_secret_missing.bad.yml discovery/azure: Fail hard when Azure authentication parameters are missing (#4907) 2018-11-29 16:47:59 +01:00
azure_subscription_id_missing.bad.yml discovery/azure: Fail hard when Azure authentication parameters are missing (#4907) 2018-11-29 16:47:59 +01:00
azure_tenant_id_missing.bad.yml discovery/azure: Fail hard when Azure authentication parameters are missing (#4907) 2018-11-29 16:47:59 +01:00
bearertoken.bad.yml
bearertoken_basicauth.bad.yml
conf.good.yml Add config option for remote job name (#6043) 2019-12-12 12:47:23 -08:00
ec2_filters_empty_values.bad.yml discovery/ec2: Support filtering instances in discovery (#4011) 2018-03-31 07:51:11 +01:00
empty_alert_relabel_config.bad.yml Fix config loading panics on nil pointer slice elements (#4942) 2018-12-03 18:09:02 +08:00
empty_alertmanager_relabel_config.bad.yml Fix config loading panics on nil pointer slice elements (#4942) 2018-12-03 18:09:02 +08:00
empty_metric_relabel_config.bad.yml Fix config loading panics on nil pointer slice elements (#4942) 2018-12-03 18:09:02 +08:00
empty_rr_config.bad.yml Fix config loading panics on nil pointer slice elements (#4942) 2018-12-03 18:09:02 +08:00
empty_rw_config.bad.yml Fix config loading panics on nil pointer slice elements (#4942) 2018-12-03 18:09:02 +08:00
empty_rw_relabel_config.bad.yml Fix config loading panics on nil pointer slice elements (#4942) 2018-12-03 18:09:02 +08:00
empty_scrape_config.bad.yml Fix config loading panics on nil pointer slice elements (#4942) 2018-12-03 18:09:02 +08:00
empty_static_config.bad.yml Fix config loading panics on nil pointer slice elements (#4942) 2018-12-03 18:09:02 +08:00
empty_target_relabel_config.bad.yml Fix config loading panics on nil pointer slice elements (#4942) 2018-12-03 18:09:02 +08:00
first.rules
global_timeout.good.yml
jobname.bad.yml
jobname_dup.bad.yml
kubernetes_bearertoken.bad.yml
kubernetes_bearertoken_basicauth.bad.yml
kubernetes_empty_apiserver.good.yml config: fix Kubernetes config with empty API server (#5256) 2019-02-22 15:51:47 +01:00
kubernetes_http_config_without_api_server.bad.yml config: fix Kubernetes config with empty API server (#5256) 2019-02-22 15:51:47 +01:00
kubernetes_namespace_discovery.bad.yml
kubernetes_role.bad.yml
labeldrop.bad.yml
labeldrop2.bad.yml
labeldrop3.bad.yml
labeldrop4.bad.yml
labeldrop5.bad.yml
labelkeep.bad.yml
labelkeep2.bad.yml
labelkeep3.bad.yml
labelkeep4.bad.yml
labelkeep5.bad.yml
labelmap.bad.yml
labelname.bad.yml
labelname2.bad.yml
labelvalue.bad.yml Check if label value is valid when unmarhsaling external labels from 2019-03-18 20:31:12 +00:00
marathon_authtoken_authtokenfile.bad.yml Use common HTTPClientConfig for marathon_sd configuration (#4009) 2018-04-05 09:08:18 +01:00
marathon_authtoken_basicauth.bad.yml Use common HTTPClientConfig for marathon_sd configuration (#4009) 2018-04-05 09:08:18 +01:00
marathon_authtoken_bearertoken.bad.yml Use common HTTPClientConfig for marathon_sd configuration (#4009) 2018-04-05 09:08:18 +01:00
marathon_no_servers.bad.yml
modulus_missing.bad.yml
openstack_role.bad.yml config: add test for OpenStack SD (#4594) 2018-09-13 21:44:27 +05:30
regex.bad.yml
remote_read_dup.bad.yml Add config option for remote job name (#6043) 2019-12-12 12:47:23 -08:00
remote_read_url_missing.bad.yml
remote_write_dup.bad.yml Add config option for remote job name (#6043) 2019-12-12 12:47:23 -08:00
remote_write_url_missing.bad.yml
rules.bad.yml
rules_abs_path.good.yml
rules_abs_path_windows.good.yml
scrape_interval.bad.yml
scrape_interval_larger.good.yml config: add test case for scrape interval larger than timeout. (#6037) 2019-09-23 13:26:56 +02:00
section_key_dup.bad.yml Yaml UnmarshalStrict implementation. (#4033) 2018-04-04 09:07:39 +01:00
static_config.bad.json
static_config.bad.yml Yaml UnmarshalStrict implementation. (#4033) 2018-04-04 09:07:39 +01:00
target_label_hashmod_missing.bad.yml
target_label_missing.bad.yml
unknown_attr.bad.yml
unknown_global_attr.bad.yml
url_in_targetgroup.bad.yml