Skip to content

Commit

Permalink
logging: hardcode prometheus uid
Browse files Browse the repository at this point in the history
  • Loading branch information
m3dwards committed Aug 6, 2024
1 parent 7475b45 commit ec801df
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
16 changes: 8 additions & 8 deletions resources/configs/grafana/default_dashboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@
"datasource":
{
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
"uid": "PBFA97CFB590B2094"
},
"targets":
[
{
"datasource":
{
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
"uid": "PBFA97CFB590B2094"
},
"expr": "outbounds",
"legendFormat": "{{pod}}",
Expand All @@ -35,15 +35,15 @@
"datasource":
{
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
"uid": "PBFA97CFB590B2094"
},
"targets":
[
{
"datasource":
{
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
"uid": "PBFA97CFB590B2094"
},
"expr": "inbounds",
"legendFormat": "{{pod}}",
Expand All @@ -63,15 +63,15 @@
"datasource":
{
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
"uid": "PBFA97CFB590B2094"
},
"targets":
[
{
"datasource":
{
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
"uid": "PBFA97CFB590B2094"
},
"expr": "mempool_size",
"legendFormat": "{{pod}}",
Expand All @@ -91,15 +91,15 @@
"datasource":
{
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
"uid": "PBFA97CFB590B2094"
},
"targets":
[
{
"datasource":
{
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
"uid": "PBFA97CFB590B2094"
},
"expr": "blocks",
"legendFormat": "{{pod}}",
Expand Down
1 change: 1 addition & 0 deletions resources/manifests/grafana_values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ datasources:
apiVersion: 1
datasources:
- name: Prometheus
uid: "PBFA97CFB590B2094"
type: prometheus
url: http://prometheus-kube-prometheus-prometheus.warnet-logging:9090
- name: Loki
Expand Down

0 comments on commit ec801df

Please sign in to comment.