Skip to content

Commit

Permalink
Guide to use Prometheus collector with Sensu Go (#1058)
Browse files Browse the repository at this point in the history
* skeleton

* Various updates for first review

* Update content/sensu-go/5.0/guides/prometheus-metrics.md

Co-Authored-By: rgeniesse <richard.geniesse@gmail.com>

* Update content/sensu-go/5.0/guides/prometheus-metrics.md

Co-Authored-By: rgeniesse <richard.geniesse@gmail.com>

* Update content/sensu-go/5.0/guides/prometheus-metrics.md

Co-Authored-By: rgeniesse <richard.geniesse@gmail.com>

* Updates based on feedback

* dashboard updates

* Remove TODOs

* Convert from yml to json

* Add blerb about why

* fix yml to json

* Update content/sensu-go/5.0/guides/prometheus-metrics.md

Co-Authored-By: rgeniesse <richard.geniesse@gmail.com>

* typos and review feedback

* Update content/sensu-go/5.0/guides/prometheus-metrics.md

Co-Authored-By: rgeniesse <richard.geniesse@gmail.com>

* move to getting started, move dashboard config to files dir

* add seo description

* appease the validator
  • Loading branch information
rgeniesse authored Feb 11, 2019
1 parent bdbdc1e commit 86abc89
Show file tree
Hide file tree
Showing 3 changed files with 492 additions and 0 deletions.
207 changes: 207 additions & 0 deletions content/sensu-go/5.0/files/up_or_down_dashboard.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,207 @@
{
"dashboard": {
"__inputs": [
{
"name": "InfluxDB",
"label": "InfluxDB",
"description": "",
"type": "datasource",
"pluginId": "influxdb",
"pluginName": "InfluxDB"
}
],
"__requires": [
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "5.1.4"
},
{
"type": "panel",
"id": "graph",
"name": "Graph",
"version": "5.0.0"
},
{
"type": "datasource",
"id": "influxdb",
"name": "InfluxDB",
"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": [
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "InfluxDB",
"fill": 1,
"gridPos": {
"h": 9,
"w": 12,
"x": 0,
"y": 0
},
"id": 2,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"none"
],
"type": "fill"
}
],
"measurement": "up",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": []
}
],
"thresholds": [],
"timeFrom": null,
"timeShift": null,
"title": "Up or Down",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
}
],
"refresh": "10s",
"schemaVersion": 16,
"style": "dark",
"tags": [],
"templating": {
"list": []
},
"time": {
"from": "now-15m",
"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": "Up or Down Sample 2",
"uid": "nb442Vsiz",
"version": 1
}
}
Loading

0 comments on commit 86abc89

Please sign in to comment.