Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update default dashboard for ext-kentik_ping to use more relevant labels #1717

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
252 changes: 212 additions & 40 deletions entity-types/ext-kentik_ping/ping-dashboard.json
Original file line number Diff line number Diff line change
@@ -1,121 +1,293 @@
{
"name": "Kentik Ping",
"description": null,
"permissions": "PUBLIC_READ_WRITE",
"pages": [
{
"name": "Kentik Ping",
"description": null,
"widgets": [
{
"visualization": {
"id": "viz.billboard"
},
"title": "Summary",
"layout": {
"column": 1,
"row": 1,
"height": 4,
"width": 3
"width": 3,
"height": 3
},
"linkedEntityGuids": null,
"visualization": {
"id": "viz.billboard"
},
"title": "Summary",
"rawConfiguration": {
"dataFormatters": [
{
"name": "Last Update",
"type": "date"
}
],
"facet": {
"showOtherSeries": false
},
"nrqlQueries": [
{
"accountId": 0,
"query": "FROM Metric SELECT latest(device_name) AS 'Device Name', latest(src_addr) AS 'Device IP', latest(timestamp) AS 'Last Update', latest(src_as) AS 'AS Number', latest(src_as_name) AS 'AS Name', latest(src_geo) AS 'Country Code' WHERE instrumentation.name = 'ping'"
"accountIds": [
0
],
"query": "FROM Metric SELECT latest(device_name) AS 'Device Name', latest(src_addr) AS 'Device IP', latest(timestamp) AS 'Last Update', latest(src_as) AS 'AS Number', latest(src_as_name) AS 'AS Name', latest(src_geo) AS 'Country Code' WHERE instrumentation.name = 'ping' "
}
],
"thresholds": []
"platformOptions": {
"ignoreTimeRange": false
}
}
},
{
"title": "latency (ms)",
"layout": {
"column": 4,
"row": 1,
"width": 3,
"height": 3
},
"linkedEntityGuids": null,
"visualization": {
"id": "viz.line"
},
"rawConfiguration": {
"facet": {
"showOtherSeries": false
},
"legend": {
"enabled": true
},
"nrqlQueries": [
{
"accountIds": [
0
],
"query": "FROM Metric SELECT max(kentik.ping.AvgRttMs) AS 'Average', max(kentik.ping.MinRttMs) AS 'Min', max(kentik.ping.MaxRttMs) AS 'Max' WHERE instrumentation.name = 'ping' TIMESERIES "
}
],
"platformOptions": {
"ignoreTimeRange": false
},
"thresholds": {
"isLabelVisible": true
},
"yAxisLeft": {
"zero": true
},
"yAxisRight": {
"zero": true
}
}
},
{
"title": "loss (%)",
"layout": {
"column": 4,
"column": 7,
"row": 1,
"height": 4,
"width": 4
"width": 3,
"height": 3
},
"linkedEntityGuids": null,
"visualization": {
"id": "viz.line"
},
"title": "Ping Response Times",
"rawConfiguration": {
"facet": {
"showOtherSeries": false
},
"legend": {
"enabled": true
},
"nrqlQueries": [
{
"accountId": 0,
"query": "FROM Metric SELECT max(kentik.ping.AvgRttMs) AS 'Average', max(kentik.ping.MinRttMs) AS 'Min', max(kentik.ping.MaxRttMs) AS 'Max' WHERE instrumentation.name = 'ping' TIMESERIES 5 MINUTES"
"accountIds": [
0
],
"query": "FROM Metric SELECT average(`kentik.ping.PacketLossPct`) AS 'avg loss%', max(`kentik.ping.PacketLossPct`) AS 'max loss%' TIMESERIES"
}
],
"platformOptions": {
"ignoreTimeRange": false
},
"thresholds": {
"isLabelVisible": true
},
"yAxisLeft": {
"max": 100,
"min": 0,
"zero": false
},
"yAxisRight": {
"zero": true
}
}
},
{
"title": "jitter (ms)",
"layout": {
"column": 10,
"row": 1,
"width": 3,
"height": 3
},
"linkedEntityGuids": null,
"visualization": {
"id": "viz.billboard"
"id": "viz.line"
},
"rawConfiguration": {
"facet": {
"showOtherSeries": false
},
"legend": {
"enabled": true
},
"nrqlQueries": [
{
"accountIds": [
0
],
"query": "FROM Metric SELECT latest(`kentik.ping.StdDevRtt`) AS 'jitter' TIMESERIES "
}
],
"platformOptions": {
"ignoreTimeRange": false
},
"thresholds": {
"isLabelVisible": true
},
"yAxisLeft": {
"zero": true
},
"yAxisRight": {
"zero": true
}
}
},
{
"title": "dropped ping packets",
"layout": {
"column": 8,
"row": 1,
"height": 4,
"width": 2
"column": 1,
"row": 4,
"width": 3,
"height": 3
},
"linkedEntityGuids": null,
"visualization": {
"id": "viz.stacked-bar"
},
"title": "Failed Pings Count",
"rawConfiguration": {
"dataFormatters": [],
"facet": {
"showOtherSeries": false
},
"legend": {
"enabled": true
},
"nrqlQueries": [
{
"accountId": 0,
"query": "FROM Metric SELECT count(*) AS 'Failed Pings' WHERE instrumentation.name = 'ping' AND kentik.ping.AvgRttMs[latest] = 0"
"accountIds": [
0
],
"query": "FROM Metric SELECT sum(`kentik.ping.PacketsSent`)-sum(`kentik.ping.PacketsRecv`) AS 'dropped ping packets' FACET device_name TIMESERIES"
}
],
"thresholds": [
"platformOptions": {
"ignoreTimeRange": false
}
}
},
{
"title": "latency avg/max",
"layout": {
"column": 4,
"row": 4,
"width": 3,
"height": 3
},
"linkedEntityGuids": null,
"visualization": {
"id": "viz.billboard"
},
"rawConfiguration": {
"facet": {
"showOtherSeries": false
},
"nrqlQueries": [
{
"alertSeverity": "CRITICAL",
"value": 0
"accountIds": [
0
],
"query": "FROM Metric SELECT latest(`kentik.ping.AvgRttMs`) AS 'avg latency ms', max(`kentik.ping.MaxRttMs`) AS 'max latency ms'"
}
]
],
"platformOptions": {
"ignoreTimeRange": false
}
}
},
{
"title": "loss avg/max",
"layout": {
"column": 7,
"row": 4,
"width": 3,
"height": 3
},
"linkedEntityGuids": null,
"visualization": {
"id": "viz.area"
"id": "viz.billboard"
},
"rawConfiguration": {
"facet": {
"showOtherSeries": false
},
"nrqlQueries": [
{
"accountIds": [
0
],
"query": "FROM Metric SELECT average(`kentik.ping.PacketLossPct`) AS 'avg loss%', max(`kentik.ping.PacketLossPct`) AS 'max loss%'"
}
],
"platformOptions": {
"ignoreTimeRange": false
}
}
},
{
"title": "jitter avg/max",
"layout": {
"column": 10,
"row": 1,
"height": 4,
"width": 3
"row": 4,
"width": 3,
"height": 3
},
"linkedEntityGuids": null,
"visualization": {
"id": "viz.billboard"
},
"title": "Failed Pings Timeline",
"rawConfiguration": {
"facet": {
"showOtherSeries": false
},
"legend": {
"enabled": true
},
"nrqlQueries": [
{
"accountId": 0,
"query": "FROM Metric SELECT count(*) AS 'Failed Pings' WHERE instrumentation.name = 'ping' AND kentik.ping.AvgRttMs[latest] = 0 FACET device_name TIMESERIES 5 MINUTES"
"accountIds": [
0
],
"query": "FROM Metric SELECT average(`kentik.ping.StdDevRtt`) AS 'avg jitter ms', max(`kentik.ping.StdDevRtt`) AS 'max jitter ms'"
}
]
],
"platformOptions": {
"ignoreTimeRange": false
}
}
}
]
}
]
],
"variables": []
}
Loading