Skip to content

Commit e55b819

Browse files
authored
Various updates (#8)
* Update Grafana dashboard example. * Upgrade Golang Prometheus client lib. * Readme: update Grafana screenshot.
1 parent 20fdf38 commit e55b819

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

Readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Once deployed, Prometheus Targets view page should look like this :
4343
![prometheus-targets-view](https://i.imgur.com/fJCun72.png "Prometheus Targets View")
4444

4545
The Grafana dashboard below is available [here](examples/grafana_dashboard.json).
46-
![grafana-dashboard](https://i.imgur.com/q71BpOa.png "Grafana Dashboard")
46+
![grafana-dashboard](https://i.imgur.com/T00RtYk.png "Grafana Dashboard")
4747

4848
## Available metrics
4949
| Metric Name | Description |

examples/grafana_dashboard.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"type": "grafana",
66
"id": "grafana",
77
"name": "Grafana",
8-
"version": "6.4.3"
8+
"version": "6.6.0"
99
},
1010
{
1111
"type": "panel",
@@ -37,7 +37,7 @@
3737
"gnetId": null,
3838
"graphTooltip": 0,
3939
"id": null,
40-
"iteration": 1580398102845,
40+
"iteration": 1584376540985,
4141
"links": [],
4242
"panels": [
4343
{
@@ -88,7 +88,7 @@
8888
{
8989
"expr": "ssllabs_grade{instance=~\"$target\"}",
9090
"interval": "",
91-
"legendFormat": "{{ instance }}",
91+
"legendFormat": "{{ instance }} [{{ grade }}]",
9292
"refId": "A"
9393
}
9494
],
@@ -415,7 +415,7 @@
415415
}
416416
],
417417
"refresh": "1m",
418-
"schemaVersion": 20,
418+
"schemaVersion": 22,
419419
"style": "dark",
420420
"tags": [],
421421
"templating": {
@@ -482,5 +482,5 @@
482482
"timezone": "",
483483
"title": "SSLLabs",
484484
"uid": "Do0wJrsWk",
485-
"version": 3
485+
"version": 2
486486
}

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ go 1.13
44

55
require (
66
github.com/go-kit/kit v0.10.0
7-
github.com/prometheus/client_golang v1.4.0
7+
github.com/prometheus/client_golang v1.5.1
88
gopkg.in/alecthomas/kingpin.v2 v2.2.6
99
)

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -203,8 +203,8 @@ github.com/prometheus/client_golang v0.9.1/go.mod h1:7SWBe2y4D6OKWSNQJUaRYU/AaXP
203203
github.com/prometheus/client_golang v0.9.3-0.20190127221311-3c4408c8b829/go.mod h1:p2iRAGwDERtqlqzRXnrOVns+ignqQo//hLXqYxZYVNs=
204204
github.com/prometheus/client_golang v1.0.0/go.mod h1:db9x61etRT2tGnBNRi70OPL5FsnadC4Ky3P0J6CfImo=
205205
github.com/prometheus/client_golang v1.3.0/go.mod h1:hJaj2vgQTGQmVCsAACORcieXFeDPbaTKGT+JTgUa3og=
206-
github.com/prometheus/client_golang v1.4.0 h1:YVIb/fVcOTMSqtqZWSKnHpSLBxu8DKgxq8z6RuBZwqI=
207-
github.com/prometheus/client_golang v1.4.0/go.mod h1:e9GMxYsXl05ICDXkRhurwBS4Q3OK1iX/F2sw+iXX5zU=
206+
github.com/prometheus/client_golang v1.5.1 h1:bdHYieyGlH+6OLEk2YQha8THib30KP0/yD0YH9m6xcA=
207+
github.com/prometheus/client_golang v1.5.1/go.mod h1:e9GMxYsXl05ICDXkRhurwBS4Q3OK1iX/F2sw+iXX5zU=
208208
github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo=
209209
github.com/prometheus/client_model v0.0.0-20190115171406-56726106282f/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo=
210210
github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA=

0 commit comments

Comments
 (0)