Skip to content

Instantly share code, notes, and snippets.

@sammcj
Created May 23, 2018 01:08
Show Gist options
  • Save sammcj/757b74a90923d11b83dc60be51e55045 to your computer and use it in GitHub Desktop.
Save sammcj/757b74a90923d11b83dc60be51e55045 to your computer and use it in GitHub Desktop.
puppet stats slowest functions
{
"__inputs": [
{
"name": "DS_GRAPHITE-STATSD",
"label": "graphite-statsd",
"description": "",
"type": "datasource",
"pluginId": "graphite",
"pluginName": "Graphite"
}
],
"__requires": [
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "5.0.4"
},
{
"type": "datasource",
"id": "graphite",
"name": "Graphite",
"version": "5.0.0"
},
{
"type": "panel",
"id": "table",
"name": "Table",
"version": "5.0.0"
}
],
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": "-- Grafana --",
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"type": "dashboard"
}
]
},
"editable": true,
"gnetId": null,
"graphTooltip": 0,
"id": null,
"links": [],
"panels": [
{
"columns": [
{
"text": "Avg",
"value": "avg"
},
{
"text": "Total",
"value": "total"
}
],
"datasource": "${DS_GRAPHITE-STATSD}",
"fontSize": "100%",
"gridPos": {
"h": 40,
"w": 24,
"x": 0,
"y": 0
},
"id": 2,
"links": [],
"pageSize": 200,
"scroll": true,
"showHeader": true,
"sort": {
"col": 1,
"desc": true
},
"styles": [
{
"alias": "Time",
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"link": false,
"pattern": "Time",
"type": "date"
},
{
"alias": "",
"colorMode": "cell",
"colors": [
"rgba(50, 172, 45, 0.97)",
"rgba(237, 129, 40, 0.89)",
"rgba(245, 54, 54, 0.9)"
],
"decimals": 2,
"link": false,
"pattern": "/Avg/",
"thresholds": [
"40",
"250",
"5000"
],
"type": "number",
"unit": "short"
},
{
"alias": "",
"colorMode": null,
"colors": [
"rgba(50, 172, 45, 0.97)",
"rgba(237, 129, 40, 0.89)",
"rgba(245, 54, 54, 0.9)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"pattern": "/Total/",
"thresholds": [],
"type": "number",
"unit": "short"
}
],
"targets": [
{
"refCount": 0,
"refId": "A",
"target": "aliasByNode(servers.*.puppetserver.puppet-profiler.*.experimental.function-metrics.*.mean,7)",
"textEditor": true
}
],
"timeFrom": "1w",
"timeShift": null,
"title": "Most Time Consuming Puppet Functions",
"transform": "timeseries_aggregations",
"type": "table"
}
],
"schemaVersion": 16,
"style": "dark",
"tags": [],
"templating": {
"list": []
},
"time": {
"from": "now-6h",
"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": "",
"title": "New dashboard Copy",
"uid": "bDysgN4mz",
"version": 1
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment