openstack-helm-infra/grafana/values_overrides/calico.yaml
Steve Wilkerson 3a6df3b544 Grafana: Remove default dashboards from chart
This removes the default dashboards from the Grafana chart and
instead places them in the values_overrides directory, similar to
what was done for the Prometheus rules. As Grafana dashboards
will likely be heavily dependent upon end-user needs, the old
default dashboard configs should only be used as a reference
instead of opinionated defaults that are difficult to override.
The previous defaults made using specialized labels for dashboard
variables difficult, as they were making dangerous assumptions
about deployed namespaces and host fqdns. By removing the defaults
entirely, end users can define their own dashboards to meet their
specialized needs

Change-Id: I7def8df68371deda0b75a685363c8a73b818dd45
Signed-off-by: Steve Wilkerson <sw5822@att.com>
2019-12-09 13:39:13 +00:00

1051 lines
22 KiB
YAML

# NOTE(srwilkers): This overrides file provides a reference for a dashboard for
# the Calico CNI
conf:
dashboards:
calico:
__inputs:
- name: prometheus
label: Prometheus
description: ''
type: datasource
pluginId: prometheus
pluginName: Prometheus
__requires:
- type: grafana
id: grafana
name: Grafana
version: 5.0.0
- type: panel
id: graph
name: Graph
version: ''
- type: datasource
id: prometheus
name: Prometheus
version: 1.0.0
annotations:
list:
- builtIn: 1
datasource: "-- Grafana --"
enable: true
hide: true
iconColor: rgba(0, 211, 255, 1)
name: Annotations & Alerts
type: dashboard
description: Calico cluster monitoring dashboard
editable: false
gnetId: 3244
graphTooltip: 0
id:
links: []
panels:
- collapsed: false
gridPos:
h: 1
w: 24
x: 0
'y': 0
id: 15
panels: []
repeat:
title: Felix
type: row
- aliasColors: {}
bars: false
dashLength: 10
dashes: false
datasource: "${DS_PROMETHEUS}"
fill: 1
gridPos:
h: 7
w: 12
x: 0
'y': 1
id: 1
legend:
alignAsTable: true
avg: true
current: true
max: true
min: true
show: true
total: false
values: true
lines: true
linewidth: 1
links: []
nullPointMode: 'null'
percentage: false
pointradius: 5
points: false
renderer: flot
seriesOverrides: []
spaceLength: 10
stack: false
steppedLine: false
targets:
- expr: felix_active_local_endpoints
format: time_series
intervalFactor: 2
legendFormat: "{{instance}}"
refId: A
step: 20
thresholds: []
timeFrom:
timeShift:
title: Active Local Endpoints
tooltip:
shared: true
sort: 0
value_type: individual
type: graph
xaxis:
buckets:
mode: time
name:
show: true
values: []
yaxes:
- format: short
label:
logBase: 1
max:
min:
show: true
- format: short
label:
logBase: 1
max:
min:
show: true
- aliasColors: {}
bars: false
dashLength: 10
dashes: false
datasource: "${DS_PROMETHEUS}"
fill: 1
gridPos:
h: 7
w: 12
x: 12
'y': 1
id: 3
legend:
alignAsTable: true
avg: true
current: true
max: true
min: true
show: true
total: false
values: true
lines: true
linewidth: 1
links: []
nullPointMode: 'null'
percentage: false
pointradius: 5
points: false
renderer: flot
seriesOverrides: []
spaceLength: 10
stack: false
steppedLine: false
targets:
- expr: felix_active_local_policies
format: time_series
intervalFactor: 2
legendFormat: "{{instance}}"
refId: A
step: 20
thresholds: []
timeFrom:
timeShift:
title: Active Local Policies
tooltip:
shared: true
sort: 0
value_type: individual
type: graph
xaxis:
buckets:
mode: time
name:
show: true
values: []
yaxes:
- format: short
label:
logBase: 1
max:
min:
show: true
- format: short
label:
logBase: 1
max:
min:
show: true
- aliasColors: {}
bars: false
dashLength: 10
dashes: false
datasource: "${DS_PROMETHEUS}"
fill: 1
gridPos:
h: 7
w: 12
x: 0
'y': 8
id: 2
legend:
alignAsTable: true
avg: true
current: true
max: true
min: true
show: true
total: false
values: true
lines: true
linewidth: 1
links: []
nullPointMode: 'null'
percentage: false
pointradius: 5
points: false
renderer: flot
seriesOverrides: []
spaceLength: 10
stack: false
steppedLine: false
targets:
- expr: felix_active_local_selectors
format: time_series
intervalFactor: 2
legendFormat: "{{instance}}"
refId: A
step: 20
thresholds: []
timeFrom:
timeShift:
title: Active Local Selectors
tooltip:
shared: true
sort: 0
value_type: individual
type: graph
xaxis:
buckets:
mode: time
name:
show: true
values: []
yaxes:
- format: short
label:
logBase: 1
max:
min:
show: true
- format: short
label:
logBase: 1
max:
min:
show: true
- aliasColors: {}
bars: false
dashLength: 10
dashes: false
datasource: "${DS_PROMETHEUS}"
fill: 1
gridPos:
h: 7
w: 12
x: 12
'y': 8
id: 4
legend:
alignAsTable: true
avg: true
current: true
max: true
min: true
show: true
total: false
values: true
lines: true
linewidth: 1
links: []
nullPointMode: 'null'
percentage: false
pointradius: 5
points: false
renderer: flot
seriesOverrides: []
spaceLength: 10
stack: false
steppedLine: false
targets:
- expr: felix_active_local_tags
format: time_series
intervalFactor: 2
legendFormat: "{{instance}}"
refId: A
step: 20
thresholds: []
timeFrom:
timeShift:
title: Active Local Tags
tooltip:
shared: true
sort: 0
value_type: individual
type: graph
xaxis:
buckets:
mode: time
name:
show: true
values: []
yaxes:
- format: short
label:
logBase: 1
max:
min:
show: true
- format: short
label:
logBase: 1
max:
min:
show: true
- aliasColors: {}
bars: false
dashLength: 10
dashes: false
datasource: "${DS_PROMETHEUS}"
fill: 1
gridPos:
h: 7
w: 12
x: 0
'y': 15
id: 5
legend:
alignAsTable: true
avg: true
current: true
max: true
min: true
show: true
total: false
values: true
lines: true
linewidth: 1
links: []
nullPointMode: 'null'
percentage: false
pointradius: 5
points: false
renderer: flot
seriesOverrides: []
spaceLength: 10
stack: false
steppedLine: false
targets:
- expr: felix_cluster_num_host_endpoints
format: time_series
intervalFactor: 2
legendFormat: "{{instance}}"
refId: A
step: 20
thresholds: []
timeFrom:
timeShift:
title: Cluster Host Endpoints
tooltip:
shared: true
sort: 0
value_type: individual
type: graph
xaxis:
buckets:
mode: time
name:
show: true
values: []
yaxes:
- format: short
label:
logBase: 1
max:
min:
show: true
- format: short
label:
logBase: 1
max:
min:
show: true
- aliasColors: {}
bars: false
dashLength: 10
dashes: false
datasource: "${DS_PROMETHEUS}"
fill: 1
gridPos:
h: 7
w: 12
x: 12
'y': 15
id: 6
legend:
alignAsTable: true
avg: false
current: true
max: true
min: true
show: true
total: false
values: true
lines: true
linewidth: 1
links: []
nullPointMode: 'null'
percentage: false
pointradius: 5
points: false
renderer: flot
seriesOverrides: []
spaceLength: 10
stack: false
steppedLine: false
targets:
- expr: felix_cluster_num_workload_endpoints
format: time_series
intervalFactor: 2
legendFormat: "{{instance}}"
refId: A
step: 20
thresholds: []
timeFrom:
timeShift:
title: Cluster Workload Endpoints
tooltip:
shared: true
sort: 0
value_type: individual
type: graph
xaxis:
buckets:
mode: time
name:
show: true
values: []
yaxes:
- format: short
label:
logBase: 1
max:
min:
show: true
- format: short
label:
logBase: 1
max:
min:
show: true
- aliasColors: {}
bars: false
dashLength: 10
dashes: false
datasource: "${DS_PROMETHEUS}"
fill: 1
gridPos:
h: 7
w: 12
x: 0
'y': 22
id: 7
legend:
alignAsTable: true
avg: true
current: true
max: true
min: true
show: true
total: false
values: true
lines: true
linewidth: 1
links: []
nullPointMode: 'null'
percentage: false
pointradius: 5
points: false
renderer: flot
seriesOverrides: []
spaceLength: 10
stack: false
steppedLine: false
targets:
- expr: felix_cluster_num_hosts
format: time_series
intervalFactor: 2
legendFormat: "{{instance}}"
refId: A
step: 20
thresholds: []
timeFrom:
timeShift:
title: Clusters Hosts
tooltip:
shared: true
sort: 0
value_type: individual
type: graph
xaxis:
buckets:
mode: time
name:
show: true
values: []
yaxes:
- format: short
label:
logBase: 1
max:
min:
show: true
- format: short
label:
logBase: 1
max:
min:
show: true
- aliasColors: {}
bars: false
dashLength: 10
dashes: false
datasource: "${DS_PROMETHEUS}"
fill: 1
gridPos:
h: 7
w: 12
x: 12
'y': 22
id: 8
legend:
alignAsTable: true
avg: true
current: true
max: true
min: true
show: true
total: false
values: true
lines: true
linewidth: 1
links: []
nullPointMode: 'null'
percentage: false
pointradius: 5
points: false
renderer: flot
seriesOverrides: []
spaceLength: 10
stack: false
steppedLine: false
targets:
- expr: felix_ipsets_calico
format: time_series
intervalFactor: 2
legendFormat: "{{instance}}"
refId: A
step: 20
thresholds: []
timeFrom:
timeShift:
title: Active IP Sets
tooltip:
shared: true
sort: 0
value_type: individual
type: graph
xaxis:
buckets:
mode: time
name:
show: true
values: []
yaxes:
- format: short
label:
logBase: 1
max:
min:
show: true
- format: short
label:
logBase: 1
max:
min:
show: true
- aliasColors: {}
bars: false
dashLength: 10
dashes: false
datasource: "${DS_PROMETHEUS}"
fill: 1
gridPos:
h: 7
w: 12
x: 0
'y': 29
id: 9
legend:
alignAsTable: true
avg: true
current: true
max: true
min: true
show: true
total: false
values: true
lines: true
linewidth: 1
links: []
nullPointMode: 'null'
percentage: false
pointradius: 5
points: false
renderer: flot
seriesOverrides: []
spaceLength: 10
stack: false
steppedLine: false
targets:
- expr: felix_iptables_chains
format: time_series
intervalFactor: 2
legendFormat: "{{instance}}"
refId: A
step: 20
thresholds: []
timeFrom:
timeShift:
title: Active IP Tables Chains
tooltip:
shared: true
sort: 0
value_type: individual
type: graph
xaxis:
buckets:
mode: time
name:
show: true
values: []
yaxes:
- format: short
label:
logBase: 1
max:
min:
show: true
- format: short
label:
logBase: 1
max:
min:
show: true
- aliasColors: {}
bars: false
dashLength: 10
dashes: false
datasource: "${DS_PROMETHEUS}"
fill: 1
gridPos:
h: 7
w: 12
x: 12
'y': 29
id: 10
legend:
alignAsTable: true
avg: true
current: true
max: true
min: true
show: true
total: false
values: true
lines: true
linewidth: 1
links: []
nullPointMode: 'null'
percentage: false
pointradius: 5
points: false
renderer: flot
seriesOverrides: []
spaceLength: 10
stack: false
steppedLine: false
targets:
- expr: felix_ipset_errors
format: time_series
intervalFactor: 2
legendFormat: "{{instance}}"
refId: A
step: 20
thresholds: []
timeFrom:
timeShift:
title: IP Set Command Failures
tooltip:
shared: true
sort: 0
value_type: individual
type: graph
xaxis:
buckets:
mode: time
name:
show: true
values: []
yaxes:
- format: short
label:
logBase: 1
max:
min:
show: true
- format: short
label:
logBase: 1
max:
min:
show: true
- aliasColors: {}
bars: false
dashLength: 10
dashes: false
datasource: "${DS_PROMETHEUS}"
fill: 1
gridPos:
h: 7
w: 12
x: 0
'y': 36
id: 11
legend:
alignAsTable: true
avg: true
current: true
max: true
min: true
show: true
total: false
values: true
lines: true
linewidth: 1
links: []
nullPointMode: 'null'
percentage: false
pointradius: 5
points: false
renderer: flot
seriesOverrides: []
spaceLength: 10
stack: false
steppedLine: false
targets:
- expr: felix_iptables_save_errors
format: time_series
intervalFactor: 2
legendFormat: "{{instance}}"
refId: A
step: 20
thresholds: []
timeFrom:
timeShift:
title: IP Tables Save Errors
tooltip:
shared: true
sort: 0
value_type: individual
type: graph
xaxis:
buckets:
mode: time
name:
show: true
values: []
yaxes:
- format: short
label:
logBase: 1
max:
min:
show: true
- format: short
label:
logBase: 1
max:
min:
show: true
- aliasColors: {}
bars: false
dashLength: 10
dashes: false
datasource: "${DS_PROMETHEUS}"
fill: 1
gridPos:
h: 7
w: 12
x: 12
'y': 36
id: 12
legend:
alignAsTable: true
avg: true
current: true
max: true
min: true
show: true
total: false
values: true
lines: true
linewidth: 1
links: []
nullPointMode: 'null'
percentage: false
pointradius: 5
points: false
renderer: flot
seriesOverrides: []
spaceLength: 10
stack: false
steppedLine: false
targets:
- expr: felix_iptables_restore_errors
format: time_series
intervalFactor: 2
legendFormat: "{{instance}}"
refId: A
step: 20
thresholds: []
timeFrom:
timeShift:
title: IP Tables Restore Errors
tooltip:
shared: true
sort: 0
value_type: individual
type: graph
xaxis:
buckets:
mode: time
name:
show: true
values: []
yaxes:
- format: short
label:
logBase: 1
max:
min:
show: true
- format: short
label:
logBase: 1
max:
min:
show: true
- aliasColors: {}
bars: false
dashLength: 10
dashes: false
datasource: "${DS_PROMETHEUS}"
fill: 1
gridPos:
h: 7
w: 12
x: 0
'y': 43
id: 13
legend:
alignAsTable: true
avg: true
current: true
max: true
min: true
show: true
total: false
values: true
lines: true
linewidth: 1
links: []
nullPointMode: 'null'
percentage: false
pointradius: 5
points: false
renderer: flot
seriesOverrides: []
spaceLength: 10
stack: false
steppedLine: false
targets:
- expr: felix_resyncs_started
format: time_series
intervalFactor: 2
legendFormat: "{{instance}}"
refId: A
step: 20
thresholds: []
timeFrom:
timeShift:
title: Felix Resyncing Datastore
tooltip:
shared: true
sort: 0
value_type: individual
type: graph
xaxis:
buckets:
mode: time
name:
show: true
values: []
yaxes:
- format: short
label:
logBase: 1
max:
min:
show: true
- format: short
label:
logBase: 1
max:
min:
show: true
- aliasColors: {}
bars: false
dashLength: 10
dashes: false
datasource: "${DS_PROMETHEUS}"
fill: 1
gridPos:
h: 7
w: 12
x: 12
'y': 43
id: 14
legend:
alignAsTable: true
avg: true
current: true
max: true
min: true
show: true
total: false
values: true
lines: true
linewidth: 1
links: []
nullPointMode: 'null'
percentage: false
pointradius: 5
points: false
renderer: flot
seriesOverrides: []
spaceLength: 10
stack: false
steppedLine: false
targets:
- expr: felix_int_dataplane_failures
format: time_series
intervalFactor: 2
legendFormat: "{{instance}}"
refId: A
step: 20
thresholds: []
timeFrom:
timeShift:
title: Dataplane failed updates
tooltip:
shared: true
sort: 0
value_type: individual
type: graph
xaxis:
buckets:
mode: time
name:
show: true
values: []
yaxes:
- format: short
label:
logBase: 1
max:
min:
show: true
- format: short
label:
logBase: 1
max:
min:
show: true
refresh: 5m
schemaVersion: 16
style: dark
tags:
- calico
templating:
list:
- current:
text: Prometheus
value: Prometheus
hide: 0
label: Prometheus datasource
name: DS_PROMETHEUS
options: []
query: prometheus
refresh: 1
regex: ''
type: datasource
time:
from: now-1h
to: now
timepicker:
refresh_intervals:
- 5s
- 10s
- 30s
- 1m
- 5m
- 15m
- 30m
- 1h
- 2h
- 1d
time_options:
- 5m
- 15m
- 1h
- 6h
- 12h
- 24h
- 2d
- 7d
- 30d
timezone: utc
title: Kubernetes Calico
version: 2