mirror of
https://github.com/status-im/infra-role-grafana.git
synced 2025-02-22 09:18:24 +00:00
15 lines
481 B
YAML
15 lines
481 B
YAML
---
|
|
- name: Create Consul service definition
|
|
include_role: name=consul-service
|
|
vars:
|
|
consul_config_name: '{{ grafana_service_name }}'
|
|
consul_services:
|
|
- name: '{{ grafana_service_name }}'
|
|
tags: ['monitor', 'grafana']
|
|
port: '{{ grafana_port }}'
|
|
checks:
|
|
- id: '{{ grafana_service_name }}-health'
|
|
name: 'Grafana current health'
|
|
type: 'http'
|
|
http: 'http://localhost:{{ grafana_port }}/api/health'
|