1
0
Fork 0

Give up unifying job name

This commit is contained in:
Malte Brandy 2020-06-14 00:10:58 +02:00
parent 77db9c871e
commit 93d90460a6
No known key found for this signature in database
GPG key ID: 226A2D41EF5378C9

View file

@ -18,15 +18,10 @@
static_configs = [{
targets = [ "localhost:9148" ];
labels = {
__myjobname = "collected-exporters";
name = "matrix-synapse";
alert_type = "infrastructure";
};
}];
relabel_configs = [{
source_labels = [ "__myjobname" ];
target_label = "job";
}];
}
{
job_name = "collected-exporters";