# my global config global: scrape_interval: 15s # Kept your faster 15s interval (better resolution) evaluation_interval: 15s # Evaluate rules every 15s scrape_timeout: 10s # Global default # --- GRAFANA CLOUD CONNECTION --- # This sends your metrics to the cloud. # It sits at the top level, indented securely under no other block. remote_write: - url: https://prometheus-prod-65-prod-eu-west-2.grafana.net/api/prom/push basic_auth: username: 2894335 password: GRAFANA_PASSWORD # Alertmanager configuration alerting: alertmanagers: - static_configs: - targets: # - alertmanager:9093 # Load rules once and periodically evaluate them rule_files: # - "first_rules.yml" # - "second_rules.yml" # --- SCRAPE CONFIGURATIONS --- scrape_configs: # JOB 1: Your Application (Turing API) - job_name: "turing" scheme: https static_configs: - targets: ["turing-team-turing-space.hf.space"] labels: app: "turing_api" # JOB 2: Prometheus Internal Metrics (Recommended) # It is good practice to let Prometheus monitor itself. - job_name: "prometheus" static_configs: - targets: ["localhost:7860"]