mirror of
https://github.com/ipnet-mesh/meshcore-hub.git
synced 2026-07-05 17:31:13 +02:00
0a37010db6
- Remove monitoring services from all docker compose files — monitoring is now user-managed infrastructure (users point their own Prometheus at /metrics) - Remove metrics profile, prometheus/alertmanager volumes from Makefile - Update README Getting Started: packet capture is included via --profile receiver, not a separate prerequisite; add remote observers guide - Add --profile all to all docker compose command examples in README and UPGRADING.md - Simplify UPGRADING.md backup/migration to only meshcore_hub_data
31 lines
772 B
YAML
31 lines
772 B
YAML
# Prometheus scrape configuration for MeshCore Hub
|
|
#
|
|
# Example configuration — copy and adapt for your Prometheus deployment.
|
|
# Point your scraper at the MeshCore Hub API /metrics endpoint:
|
|
# http://api:8000/metrics
|
|
#
|
|
# The scrape interval matches the default metrics cache TTL (60s)
|
|
# to avoid unnecessary database queries.
|
|
|
|
global:
|
|
scrape_interval: 60s
|
|
evaluation_interval: 60s
|
|
|
|
alerting:
|
|
alertmanagers:
|
|
- static_configs:
|
|
- targets: ['alertmanager:9093']
|
|
|
|
rule_files:
|
|
- 'alerts.yml'
|
|
|
|
scrape_configs:
|
|
- job_name: 'meshcore-hub'
|
|
metrics_path: '/metrics'
|
|
# Uncomment basic_auth if API_READ_KEY is configured
|
|
# basic_auth:
|
|
# username: 'metrics'
|
|
# password: '<API_READ_KEY>'
|
|
static_configs:
|
|
- targets: ['api:8000']
|