Files
vps-control/control-plane/grafana/provisioning/datasources/vps-control.yml
DizelBadCoder c4dc19cd41
Some checks failed
CI / containers (push) Has been cancelled
CI / agent (push) Has been cancelled
CI / backend (push) Has been cancelled
CI / frontend (push) Has been cancelled
git init
2026-09-19 19:31:36 +03:00

36 lines
791 B
YAML

apiVersion: 1
deleteDatasources:
- name: VPS Control Metrics
orgId: 1
- name: VPS Control Logs
orgId: 1
datasources:
- name: VPS Control Metrics
uid: vps-control-prometheus
orgId: 1
type: prometheus
access: proxy
url: http://backend:8080/integrations/prometheus
isDefault: true
editable: false
jsonData:
httpMethod: POST
httpHeaderName1: Authorization
secureJsonData:
httpHeaderValue1: Bearer $INTEGRATION_TOKEN
- name: VPS Control Logs
uid: vps-control-loki
orgId: 1
type: loki
access: proxy
url: http://backend:8080/integrations/loki
editable: false
jsonData:
httpHeaderName1: Authorization
maxLines: 1000
secureJsonData:
httpHeaderValue1: Bearer $INTEGRATION_TOKEN