Skip to content
Snippets Groups Projects
Commit b79c6869 authored by godog's avatar godog
Browse files

Merge branch 'alerts-dashboard' into 'master'

prometheus: add alerts dashboard

See merge request !52
parents 3ea15775 df23be7b
Branches
No related tags found
1 merge request!52prometheus: add alerts dashboard
......@@ -128,15 +128,17 @@ prometheus:
env:
QUERY_FLAGS: "--query.replica-label=monitor {% for h in groups['prometheus']|sort %} --store={{ h }}.prometheus.{{ domain }}:10901{% endfor %}"
SIDECAR_FLAGS: ""
- name: karma
image: registry.git.autistici.org/ai3/docker/karma:master
ports:
- 9193
env:
ALERTMANAGER_URI: "http://prometheus.{{ domain }}:9093"
public_endpoints:
- name: monitor
port: 9090
scheme: http
enable_sso_proxy: true
- name: alertmanager
port: 9093
scheme: http
enable_sso_proxy: true
- name: prober
port: 9115
scheme: http
......@@ -149,6 +151,10 @@ prometheus:
port: 10904
scheme: http
enable_sso_proxy: true
- name: alerts
port: 9193
scheme: http
enable_sso_proxy: true
monitoring_endpoints:
- job_name: prometheus
port: 9090
......@@ -156,6 +162,9 @@ prometheus:
- job_name: alertmanager
port: 9093
scheme: http
- job_name: karma
port: 9193
scheme: http
- job_name: grafana
port: 2929
scheme: https
......
......@@ -94,15 +94,17 @@ prometheus:
env:
QUERY_FLAGS: "--query.replica-label=monitor {% for h in groups['prometheus']|sort %} --store={{ h }}.prometheus.{{ domain }}:10901{% endfor %}"
SIDECAR_FLAGS: ""
- name: karma
image: registry.git.autistici.org/ai3/docker/karma:master
ports:
- 9193
env:
ALERTMANAGER_URI: "http://prometheus.{{ domain }}:9093"
public_endpoints:
- name: monitor
port: 9090
scheme: http
enable_sso_proxy: true
- name: alertmanager
port: 9093
scheme: http
enable_sso_proxy: true
- name: prober
port: 9115
scheme: http
......@@ -115,6 +117,10 @@ prometheus:
port: 10904
scheme: http
enable_sso_proxy: true
- name: alerts
port: 9193
scheme: http
enable_sso_proxy: true
monitoring_endpoints:
- job_name: prometheus
port: 9090
......@@ -122,6 +128,9 @@ prometheus:
- job_name: alertmanager
port: 9093
scheme: http
- job_name: karma
port: 9193
scheme: http
- job_name: grafana
port: 2929
scheme: https
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment