receivers:
prometheus:
config:
scrape_configs:
- job_name: "model-suite"
scrape_interval: 60s
scheme: https
metrics_path: /observability/metrics/federate/
authorization:
type: Bearer
credentials: "${MODEL_SUITE_METRICS_TOKEN}"
params:
namespace: ["NAMESPACES_HERE"]
bundle: ["core"]
source: ["deployment"]
static_configs:
- targets: ["api.app.simplismart.ai"]
processors:
batch:
exporters:
prometheusremotewrite:
endpoint: "${PROMETHEUS_REMOTE_WRITE_URL}"
# If your Prometheus requires auth (e.g. Grafana Cloud):
auth:
authenticator: basicauth
extensions:
basicauth:
client_auth:
username: "${PROMETHEUS_USERNAME}"
password: "${PROMETHEUS_PASSWORD}"
service:
extensions: [basicauth]
pipelines:
metrics:
receivers: [prometheus]
processors: [batch]
exporters: [prometheusremotewrite]