Skip to content

Commit

Permalink
datasource for fc and solr log graph
Browse files Browse the repository at this point in the history
  • Loading branch information
GilHoggarth committed Jun 10, 2020
1 parent 782d471 commit ab81dbb
Show file tree
Hide file tree
Showing 2 changed files with 104 additions and 7 deletions.
98 changes: 91 additions & 7 deletions monitor/grafana/provisioning/dashboards/wa_servers.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": null,
"fill": 1,
"gridPos": {
"h": 6,
Expand Down Expand Up @@ -208,6 +209,7 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": null,
"fill": 0,
"gridPos": {
"h": 6,
Expand Down Expand Up @@ -298,6 +300,7 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": null,
"fill": 0,
"gridPos": {
"h": 6,
Expand Down Expand Up @@ -387,6 +390,7 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": null,
"fill": 0,
"gridPos": {
"h": 6,
Expand Down Expand Up @@ -473,24 +477,100 @@
}
},
{
"content": "",
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": null,
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 6,
"w": 12,
"x": 12,
"y": 12
},
"hiddenSeries": false,
"id": 18,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": false,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"mode": "markdown",
"title": "",
"type": "text"
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "mtail_solr_loglevel_count{loglevel=\"WARN\"} OR mtail_solr_loglevel_count{loglevel=\"ERROR\"}",
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Solr node errors & warnings",
"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": false
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": null,
"fill": 0,
"gridPos": {
"h": 6,
Expand Down Expand Up @@ -579,6 +659,7 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": null,
"fill": 0,
"gridPos": {
"h": 6,
Expand Down Expand Up @@ -664,14 +745,14 @@
}
],
"refresh": "1m",
"schemaVersion": 16,
"schemaVersion": 22,
"style": "dark",
"tags": [],
"templating": {
"list": []
},
"time": {
"from": "now-1h",
"from": "now-2d",
"to": "now"
},
"timepicker": {
Expand Down Expand Up @@ -702,5 +783,8 @@
"timezone": "",
"title": "WA Servers",
"uid": "wase",
"version": 1
"variables": {
"list": []
},
"version": 10
}
13 changes: 13 additions & 0 deletions monitor/grafana/provisioning/datasources/frequent_crawl.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Instances of grafana will only update datasource configurations
# for apiVersion numbers of same or lower. Thus, a new lower number
# will not affect higher number configuration settings.
# Typically BLUKWA keep this set to 1
apiVersion: 1

datasources:
- name: 'Frequent Crawler 05 Embedded Prometheus'
type: prometheus
access: proxy
orgId: 1
url: http://192.168.45.15:9191
isDefault: false

0 comments on commit ab81dbb

Please sign in to comment.