Files
bifrost/plugins/telemetry/prometheus.yml
Beyhan Oğur 880f412e2c first commit
2026-04-26 21:52:23 +03:00

16 lines
830 B
YAML

# Prometheus configuration for tracking bifrost-http service (for development and testing purposes only, don't use in production without proper setup)
global:
scrape_interval: 5s # Scrape every 5 seconds
# Note: Target configuration depends on your deployment environment:
# - For local development: Use "host.docker.internal:8080" to access the service running on your host machine
# - For Docker deployment: Use "bifrost-api:8080" to access the service within the Docker network
# Make sure to replace "bifrost-api" and "8080" with your actual docker container name and port if different
# Also check that you have the bifrost container inside "bifrost_tracking_network".
scrape_configs:
- job_name: "bifrost-api"
static_configs:
- targets: ["host.docker.internal:8080"] # Scrape from the /metrics endpoint