backbeat: add module sources

This commit is contained in:
anthonyrawlins
2025-10-17 08:56:25 +11:00
parent 627d15b3f7
commit 4b4eb16efb
48 changed files with 11636 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
apiVersion: 1
providers:
- name: 'backbeat'
orgId: 1
folder: 'BACKBEAT'
type: file
disableDeletion: false
updateIntervalSeconds: 10
allowUiUpdates: true
options:
path: /etc/grafana/provisioning/dashboards

View File

@@ -0,0 +1,9 @@
apiVersion: 1
datasources:
- name: Prometheus
type: prometheus
access: proxy
url: http://prometheus:9090
isDefault: true
editable: true

28
monitoring/prometheus.yml Normal file
View File

@@ -0,0 +1,28 @@
global:
scrape_interval: 15s
evaluation_interval: 15s
rule_files:
# - "first_rules.yml"
# - "second_rules.yml"
scrape_configs:
# BACKBEAT Pulse Services
- job_name: 'backbeat-pulse'
static_configs:
- targets: ['pulse-leader:8080', 'pulse-follower:8080']
metrics_path: '/metrics'
scrape_interval: 10s
scrape_timeout: 5s
# NATS Monitoring
- job_name: 'nats'
static_configs:
- targets: ['nats:8222']
metrics_path: '/metrics'
scrape_interval: 15s
# Prometheus itself
- job_name: 'prometheus'
static_configs:
- targets: ['localhost:9090']