Skip to content

Commit

Permalink
Merge pull request etcd-io#13275 from lilic/add-peer-dashboard
Browse files Browse the repository at this point in the history
contrib/mixin/mixin.libsonnet: Add dashboard for peer round trip time
  • Loading branch information
hexfusion authored Aug 5, 2021
2 parents e591fcb + 55b697c commit b448daa
Showing 1 changed file with 109 additions and 0 deletions.
109 changes: 109 additions & 0 deletions contrib/mixin/mixin.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -1230,6 +1230,115 @@
},
],
},
{
aliasColors: {},
bars: false,
dashLength: 10,
dashes: false,
datasource: '$datasource',
decimals: 0,
editable: true,
'error': false,
fieldConfig: {
defaults: {
custom: {},
},
overrides: [],
},
fill: 0,
fillGradient: 0,
gridPos: {
h: 7,
w: 12,
x: 0,
y: 28,
},
hiddenSeries: false,
id: 42,
isNew: true,
legend: {
alignAsTable: false,
avg: false,
current: false,
max: false,
min: false,
rightSide: false,
show: false,
total: false,
values: false,
},
lines: true,
linewidth: 2,
links: [],
nullPointMode: 'connected',
options: {
alertThreshold: true,
},
percentage: false,
pluginVersion: '7.4.3',
pointradius: 5,
points: false,
renderer: 'flot',
seriesOverrides: [],
spaceLength: 10,
stack: false,
steppedLine: false,
targets: [
{
expr: 'histogram_quantile(0.99, sum by (instance, le) (rate(etcd_network_peer_round_trip_time_seconds_bucket{%s="$cluster"}[5m])))' % $._config.clusterLabel,
interval: '',
intervalFactor: 2,
legendFormat: '{{instance}} Peer round trip time',
metric: 'etcd_network_peer_round_trip_time_seconds_bucket',
refId: 'A',
step: 2,
},
],
thresholds: [],
timeFrom: null,
timeRegions: [],
timeShift: null,
title: 'Peer round trip time',
tooltip: {
msResolution: false,
shared: true,
sort: 0,
value_type: 'individual',
},
type: 'graph',
xaxis: {
buckets: null,
mode: 'time',
name: null,
show: true,
values: [],
},
yaxes: [
{
'$$hashKey': 'object:925',
decimals: null,
format: 's',
label: null,
logBase: 1,
max: null,
min: null,
show: true,
},
{
'$$hashKey': 'object:926',
format: 'short',
label: null,
logBase: 1,
max: null,
min: null,
show: true,
},
],
yaxis: {
align: false,
alignLevel: null,
},
},
],
title: 'New row',
},
Expand Down

0 comments on commit b448daa

Please sign in to comment.