Skip to content

Commit

Permalink
fix: change prometheus host field to url
Browse files Browse the repository at this point in the history
  • Loading branch information
yashmehrotra committed Oct 31, 2023
1 parent 106c103 commit 8e8a108
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions fixtures/topology/k8s-system.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ spec:
lookup:
prometheus:
- query: '1000 * max by (node) (rate(container_cpu_usage_seconds_total{container!=""}[5m]))'
host: 'http://prometheus-k8s.monitoring:9090'
url: 'http://prometheus-k8s.monitoring:9090'
display:
javascript: |
var components = [];
Expand All @@ -64,7 +64,7 @@ spec:
lookup:
prometheus:
- query: 'max by (node) (avg_over_time(container_memory_working_set_bytes{container!=""}[5m]))'
host: 'http://prometheus-k8s.monitoring:9090'
url: 'http://prometheus-k8s.monitoring:9090'
display:
javascript: |
var components = [];
Expand Down Expand Up @@ -98,7 +98,7 @@ spec:
lookup:
prometheus:
- query: '1000 * max by (pod) (rate(container_cpu_usage_seconds_total{container!=""}[5m]))'
host: 'http://prometheus-k8s.monitoring:9090'
url: 'http://prometheus-k8s.monitoring:9090'
display:
javascript: |
var components = [];
Expand All @@ -117,7 +117,7 @@ spec:
lookup:
prometheus:
- query: 'max by (pod) (avg_over_time(container_memory_working_set_bytes{container!=""}[5m]))'
host: 'http://prometheus-k8s.monitoring:9090'
url: 'http://prometheus-k8s.monitoring:9090'
display:
javascript: |
var components = [];
Expand Down

0 comments on commit 8e8a108

Please sign in to comment.