feat: add get variable

Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
2025-01-04 01:10:33 +01:00
parent 36281f1d54
commit c647adff54
7 changed files with 591 additions and 111 deletions

View File

@@ -30,7 +30,7 @@ prometheus.scrape "default" {
prometheus.remote_write "default" {
external_labels = {
"node" = "new-node",
"node" = "{{ node_name }}",
}
endpoint {
@@ -75,7 +75,7 @@ loki.process "filter_logs" {
loki.write "grafana_loki" {
external_labels = {
"node" = "new-node",
"node" = "{{ node_name }}",
}
endpoint {