Skip to content
This repository has been archived by the owner on Mar 21, 2021. It is now read-only.

Commit

Permalink
update metrics dashboards for Micrometer fix #118
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierre Besson committed Jul 19, 2019
1 parent c87f23a commit 05f5a58
Show file tree
Hide file tree
Showing 10 changed files with 118 additions and 126 deletions.
2 changes: 1 addition & 1 deletion export-dashboards/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## Usage

Install golang, run `go build` then the `export-dashboard.sh` script.
Install golang, run `go get -v -u github.com/elastic/beats/libbeat/common && go build` then the `export-dashboard.sh` script.

## Official docs

Expand Down
Binary file modified export-dashboards/export-dashboards
Binary file not shown.
4 changes: 2 additions & 2 deletions export-dashboards/export-dashboards.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
KIBANA_URL=http://localhost:5601

go run export_dashboards.go -kibana $KIBANA_URL -dashboard 922ffeb0-e17d-11e7-9c68-0b9a0f0c183c -output dashboards/jvm-dashboard.json
go run export_dashboards.go -kibana $KIBANA_URL -dashboard 13aa7630-e0f4-11e7-9c68-0b9a0f0c183c -output dashboards/load-dashboard.json
go run export_dashboards.go -kibana $KIBANA_URL -dashboard b2c61940-e180-11e7-9c68-0b9a0f0c183c -output dashboards/circuit-breaker-dashboard.json
go run export_dashboards.go -kibana $KIBANA_URL -dashboard d712f650-e0eb-11e7-9c68-0b9a0f0c183c -output dashboards/logs-dashboard.json
go run export_dashboards.go -kibana $KIBANA_URL -dashboard 607a1ab0-e0ef-11e7-9c68-0b9a0f0c183c -output dashboards/metrics-dashboard.json
go run export_dashboards.go -kibana $KIBANA_URL -dashboard 4161cd50-9c77-11e8-bfa6-a7fdcbb4d022 -output dashboards/alerting-dashboard.json
go run export_dashboards.go -kibana $KIBANA_URL -dashboard 81d34a00-bfd4-11e8-b5e5-cbdd0005bb7b -output dashboards/traces-dashboard.json
go run export_dashboards.go -kibana $KIBANA_URL -dashboard 3ad808e0-aa46-11e9-87e5-77c44b71b52e -output dashboards/cache-dashboard.json
go run export_dashboards.go -kibana $KIBANA_URL -dashboard 13aa7630-e0f4-11e7-9c68-0b9a0f0c183c -output dashboards/requests-dashboard.json

Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
},
"id": "739fb300-9c76-11e8-bfa6-a7fdcbb4d022",
"type": "search",
"updated_at": "2018-08-10T08:21:59.472Z",
"updated_at": "2019-07-19T15:49:58.785Z",
"version": 1
},
{
Expand All @@ -38,8 +38,8 @@
},
"id": "0d103f50-9c77-11e8-bfa6-a7fdcbb4d022",
"type": "visualization",
"updated_at": "2018-08-10T08:28:05.620Z",
"version": 2
"updated_at": "2019-07-19T15:49:58.785Z",
"version": 1
},
{
"attributes": {
Expand All @@ -54,8 +54,8 @@
},
"id": "eaa9d4c0-9c77-11e8-bfa6-a7fdcbb4d022",
"type": "visualization",
"updated_at": "2018-08-10T08:32:49.800Z",
"version": 2
"updated_at": "2019-07-19T15:49:58.785Z",
"version": 1
},
{
"attributes": {
Expand All @@ -72,8 +72,8 @@
},
"id": "4161cd50-9c77-11e8-bfa6-a7fdcbb4d022",
"type": "dashboard",
"updated_at": "2018-08-10T08:33:27.062Z",
"version": 2
"updated_at": "2019-07-19T15:49:58.785Z",
"version": 1
}
],
"version": "6.4.1"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"objects": [
{
"attributes": {
"description": "",
"kibanaSavedObjectMeta": {
"searchSourceJSON": "{\"index\":\"metrics\",\"filter\":[],\"query\":{\"language\":\"lucene\",\"query\":\"metric_name=cache*\"}}"
},
"title": "Cache Metrics",
"uiStateJSON": "{}",
"version": 1,
"visState": "{\"title\":\"Cache Metrics\",\"type\":\"line\",\"params\":{\"addLegend\":true,\"addTimeMarker\":false,\"addTooltip\":true,\"categoryAxes\":[{\"id\":\"CategoryAxis-1\",\"labels\":{\"show\":true,\"truncate\":100},\"position\":\"bottom\",\"scale\":{\"type\":\"linear\"},\"show\":true,\"style\":{},\"title\":{},\"type\":\"category\"}],\"grid\":{\"categoryLines\":false,\"style\":{\"color\":\"#eee\"}},\"legendPosition\":\"right\",\"seriesParams\":[{\"data\":{\"id\":\"1\",\"label\":\"value in bytes\"},\"drawLinesBetweenPoints\":true,\"mode\":\"normal\",\"show\":\"true\",\"showCircles\":true,\"type\":\"line\",\"valueAxis\":\"ValueAxis-1\"}],\"times\":[],\"type\":\"line\",\"valueAxes\":[{\"id\":\"ValueAxis-1\",\"labels\":{\"filter\":false,\"rotate\":0,\"show\":true,\"truncate\":100},\"name\":\"LeftAxis-1\",\"position\":\"left\",\"scale\":{\"mode\":\"normal\",\"type\":\"linear\"},\"show\":true,\"style\":{},\"title\":{\"text\":\"value in bytes\"},\"type\":\"value\"}]},\"aggs\":[{\"id\":\"1\",\"enabled\":true,\"type\":\"avg\",\"schema\":\"metric\",\"params\":{\"field\":\"metric_value\",\"customLabel\":\"value in bytes\"}},{\"id\":\"2\",\"enabled\":true,\"type\":\"date_histogram\",\"schema\":\"segment\",\"params\":{\"field\":\"@timestamp\",\"interval\":\"auto\",\"customInterval\":\"2h\",\"min_doc_count\":1,\"extended_bounds\":{}}},{\"id\":\"3\",\"enabled\":true,\"type\":\"terms\",\"schema\":\"group\",\"params\":{\"field\":\"metric_name.keyword\",\"size\":100,\"order\":\"desc\",\"orderBy\":\"_key\",\"otherBucket\":false,\"otherBucketLabel\":\"Other\",\"missingBucket\":false,\"missingBucketLabel\":\"Missing\",\"customLabel\":\"\"}},{\"id\":\"4\",\"enabled\":true,\"type\":\"terms\",\"schema\":\"split\",\"params\":{\"field\":\"instance_name.keyword\",\"size\":5,\"order\":\"desc\",\"orderBy\":\"1\",\"otherBucket\":false,\"otherBucketLabel\":\"Other\",\"missingBucket\":false,\"missingBucketLabel\":\"Missing\",\"row\":true}}]}"
},
"id": "25ab5990-aa46-11e9-87e5-77c44b71b52e",
"type": "visualization",
"updated_at": "2019-07-19T16:56:26.793Z",
"version": 1
},
{
"attributes": {
"description": "View cache metrics",
"hits": 0,
"kibanaSavedObjectMeta": {
"searchSourceJSON": "{\"query\":{\"query\":\"\",\"language\":\"lucene\"},\"filter\":[]}"
},
"optionsJSON": "{\"darkTheme\":true,\"useMargins\":true,\"hidePanelTitles\":false}",
"panelsJSON": "[{\"gridData\":{\"x\":0,\"y\":0,\"w\":48,\"h\":41,\"i\":\"1\"},\"version\":\"6.4.1\",\"panelIndex\":\"1\",\"type\":\"visualization\",\"id\":\"25ab5990-aa46-11e9-87e5-77c44b71b52e\",\"embeddableConfig\":{}}]",
"timeRestore": false,
"title": "cache-dashboard",
"version": 1
},
"id": "3ad808e0-aa46-11e9-87e5-77c44b71b52e",
"type": "dashboard",
"updated_at": "2019-07-19T17:12:33.799Z",
"version": 3
}
],
"version": "6.4.1"
}
Loading

0 comments on commit 05f5a58

Please sign in to comment.