Skip to content

Commit

Permalink
feat: add Grafana dashboards
Browse files Browse the repository at this point in the history
  • Loading branch information
willianpaixao committed Mar 4, 2024
1 parent c4c0e47 commit 52fb636
Show file tree
Hide file tree
Showing 10 changed files with 5,337 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -157,3 +157,11 @@ spec:
multicluster:
etcd:
enabled: true
persistence:
enabled: true
storageClassName: longhorn
accessModes:
- ReadWriteOnce
size: 8Gi
finalizers:
- kubernetes.io/pvc-protection
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
# yaml-language-server: $schema=https://kubernetes-schemas.pages.dev/monitoring.coreos.com/scrapeconfig_v1alpha1.json
apiVersion: monitoring.coreos.com/v1alpha1
kind: ScrapeConfig
metadata:
name: geth
namespace: observability
spec:
staticConfigs:
- labels:
job: geth
targets:
- 192.168.0.148:6060
metricsPath: /debug/metrics/prometheus
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ./geth.yaml
- ./node-exporter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,15 @@ apiVersion: monitoring.coreos.com/v1alpha1
kind: ScrapeConfig
metadata:
name: node-exporter
namespace: observability
spec:
staticConfigs:
- labels:
job: node-exporter
targets:
- 192.168.0.148:9100
- labels:
job: prysm
targets:
- 192.168.0.148:8080
metricsPath: /metrics
Loading

0 comments on commit 52fb636

Please sign in to comment.