Give up unifying job name
This commit is contained in:
parent
77db9c871e
commit
93d90460a6
1 changed files with 0 additions and 5 deletions
|
@ -18,15 +18,10 @@
|
||||||
static_configs = [{
|
static_configs = [{
|
||||||
targets = [ "localhost:9148" ];
|
targets = [ "localhost:9148" ];
|
||||||
labels = {
|
labels = {
|
||||||
__myjobname = "collected-exporters";
|
|
||||||
name = "matrix-synapse";
|
name = "matrix-synapse";
|
||||||
alert_type = "infrastructure";
|
alert_type = "infrastructure";
|
||||||
};
|
};
|
||||||
}];
|
}];
|
||||||
relabel_configs = [{
|
|
||||||
source_labels = [ "__myjobname" ];
|
|
||||||
target_label = "job";
|
|
||||||
}];
|
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
job_name = "collected-exporters";
|
job_name = "collected-exporters";
|
||||||
|
|
Loading…
Reference in a new issue