mirror of
https://gitea.invidious.io/iv-org/infrastructure.git
synced 2024-08-15 00:53:31 +00:00
Add metrics
This commit is contained in:
parent
274df1b73a
commit
bc603de866
5 changed files with 73 additions and 7 deletions
36
host_vars/invidious.io/main.yml
Normal file
36
host_vars/invidious.io/main.yml
Normal file
|
@ -0,0 +1,36 @@
|
|||
---
|
||||
prometheus_web_listen_address: "127.0.0.1:9090"
|
||||
prometheus_scrape_configs:
|
||||
- job_name: "prometheus"
|
||||
static_configs:
|
||||
- targets: ['localhost:9090']
|
||||
- job_name: "node"
|
||||
static_configs:
|
||||
- targets: ['localhost:9100']
|
||||
- job_name: "caddy"
|
||||
static_configs:
|
||||
- targets: ['127.0.0.1:2019']
|
||||
|
||||
grafana_url: "https://grafana.invidious.io"
|
||||
grafana_domain: grafana.invidious.io
|
||||
grafana_address: 127.0.0.1
|
||||
grafana_port: 2000
|
||||
grafana_security:
|
||||
admin_user: admin
|
||||
admin_password: "{{ vault_grafana_admin_password }}"
|
||||
disable_gravatar: true
|
||||
cookie_secure: true
|
||||
grafana_auth:
|
||||
anonymous:
|
||||
enabled: true
|
||||
grafana_datasources:
|
||||
- name: Prometheus
|
||||
type: prometheus
|
||||
url: http://localhost:9090
|
||||
grafana_dashboards:
|
||||
- dashboard_id: '1860'
|
||||
revision_id: '22'
|
||||
datasource: 'Prometheus'
|
||||
- dashboard_id: '13460'
|
||||
revision_id: '2'
|
||||
datasource: 'Prometheus'
|
Loading…
Add table
Add a link
Reference in a new issue