mirror of
https://github.com/genebean/dots.git
synced 2026-03-27 09:27:44 -04:00
Fix relable of instance on node_exporter
This commit is contained in:
parent
c99028f401
commit
9fd1b1b24c
3 changed files with 0 additions and 3 deletions
|
|
@ -26,7 +26,6 @@ in {
|
||||||
relabel_configs = [
|
relabel_configs = [
|
||||||
{
|
{
|
||||||
target_label = "instance";
|
target_label = "instance";
|
||||||
regex = "127.0.0.1.*";
|
|
||||||
replacement = "${config.networking.hostName}";
|
replacement = "${config.networking.hostName}";
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,6 @@ in {
|
||||||
relabel_configs = [
|
relabel_configs = [
|
||||||
{
|
{
|
||||||
target_label = "instance";
|
target_label = "instance";
|
||||||
regex = "127.0.0.1.*";
|
|
||||||
replacement = "${config.networking.hostName}";
|
replacement = "${config.networking.hostName}";
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,6 @@ in {
|
||||||
relabel_configs = [
|
relabel_configs = [
|
||||||
{
|
{
|
||||||
target_label = "instance";
|
target_label = "instance";
|
||||||
regex = "127.0.0.1.*";
|
|
||||||
replacement = "${config.networking.hostName}";
|
replacement = "${config.networking.hostName}";
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue