alloy: set prometheus url as secret
This commit is contained in:
1 parent
e74449f15f
commit
761505a795
2 files changed
+15
-9
No files matched your search
@@ -221,7 +221,7 @@ alloy:
|
||||
prometheus.remote_write "metrics_service" {
|
||||
|
||||
endpoint {
|
||||
url = "https://prometheus.monitoring.limbosolutions.com/api/v1/write"
|
||||
url = env("PROMETHEUS_URL")
|
||||
}
|
||||
|
||||
}
|
||||
@@ -250,3 +250,8 @@ alloy:
|
||||
secretKeyRef:
|
||||
name: alloy-global
|
||||
key: loki_url
|
||||
- name: PROMETHEUS_URL
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: alloy-global
|
||||
key: prometheus_url
|
||||
Reference in new issue
Block a user