| dashboard: |
| {%- if pillar.get('fluentd', {}).get('agent', {}).get('enabled', False) %} |
| glance_prometheus: |
| datasource: prometheus |
| format: json |
| template: glance/files/grafana_dashboards/glance_prometheus_fluentd.json |
| {%- else %} |
| glance_prometheus: |
| datasource: prometheus |
| format: json |
| template: glance/files/grafana_dashboards/glance_prometheus.json |
| {%- endif %} |
| glance_influxdb: |
| datasource: influxdb |
| format: json |
| template: glance/files/grafana_dashboards/glance_influxdb.json |
| main_influxdb: |
| datasource: influxdb |
| row: |
| ost-control-plane: |
| title: OpenStack Control Plane |
| panel: |
| glance: |
| title: Glance |
| links: |
| - dashboard: Glance |
| title: Glance |
| type: dashboard |
| target: |
| cluster_status: |
| rawQuery: true |
| query: SELECT last(value) FROM cluster_status WHERE cluster_name = 'glance' AND environment_label = '$environment' AND $timeFilter GROUP BY time($interval) fill(null) |
| main_prometheus: |
| datasource: prometheus |
| row: |
| ost-control-plane: |
| title: OpenStack Control Plane |
| panel: |
| glance: |
| title: Glance |
| links: |
| - dashboard: Glance |
| title: Glance |
| type: dashboard |
| target: |
| cluster_status: |
| expr: openstack_api_check_status{interface="public",service_name="glance"} |