mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-22 16:36:27 +01:00
394 lines
8.9 KiB
JSON
394 lines
8.9 KiB
JSON
|
{
|
||
|
"annotations": {
|
||
|
"list": [
|
||
|
{
|
||
|
"builtIn": 1,
|
||
|
"datasource": {
|
||
|
"type": "grafana",
|
||
|
"uid": "-- Grafana --"
|
||
|
},
|
||
|
"enable": true,
|
||
|
"hide": true,
|
||
|
"iconColor": "rgba(0, 211, 255, 1)",
|
||
|
"name": "Annotations & Alerts",
|
||
|
"target": {
|
||
|
"limit": 100,
|
||
|
"matchAny": false,
|
||
|
"tags": [],
|
||
|
"type": "dashboard"
|
||
|
},
|
||
|
"type": "dashboard"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"description": "",
|
||
|
"editable": true,
|
||
|
"fiscalYearStartMonth": 0,
|
||
|
"graphTooltip": 1,
|
||
|
"links": [],
|
||
|
"liveNow": false,
|
||
|
"panels": [
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "P4169E866C3094E38"
|
||
|
},
|
||
|
"fieldConfig": {
|
||
|
"defaults": {
|
||
|
"color": {
|
||
|
"mode": "thresholds"
|
||
|
},
|
||
|
"mappings": [],
|
||
|
"thresholds": {
|
||
|
"mode": "absolute",
|
||
|
"steps": [
|
||
|
{
|
||
|
"color": "green",
|
||
|
"value": null
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"unit": "percent"
|
||
|
},
|
||
|
"overrides": [
|
||
|
{
|
||
|
"matcher": {
|
||
|
"id": "byRegexp",
|
||
|
"options": ".*vlogs.*"
|
||
|
},
|
||
|
"properties": [
|
||
|
{
|
||
|
"id": "displayName",
|
||
|
"value": "victoria-logs"
|
||
|
},
|
||
|
{
|
||
|
"id": "color",
|
||
|
"value": {
|
||
|
"fixedColor": "purple",
|
||
|
"mode": "fixed"
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"matcher": {
|
||
|
"id": "byRegexp",
|
||
|
"options": ".*elastic.*"
|
||
|
},
|
||
|
"properties": [
|
||
|
{
|
||
|
"id": "displayName",
|
||
|
"value": "elasticsearch"
|
||
|
},
|
||
|
{
|
||
|
"id": "color",
|
||
|
"value": {
|
||
|
"fixedColor": "yellow",
|
||
|
"mode": "fixed"
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"gridPos": {
|
||
|
"h": 11,
|
||
|
"w": 5,
|
||
|
"x": 0,
|
||
|
"y": 0
|
||
|
},
|
||
|
"id": 2,
|
||
|
"options": {
|
||
|
"displayMode": "gradient",
|
||
|
"minVizHeight": 10,
|
||
|
"minVizWidth": 0,
|
||
|
"orientation": "auto",
|
||
|
"reduceOptions": {
|
||
|
"calcs": [
|
||
|
"lastNotNull"
|
||
|
],
|
||
|
"fields": "",
|
||
|
"values": false
|
||
|
},
|
||
|
"showUnfilled": true
|
||
|
},
|
||
|
"pluginVersion": "9.2.7",
|
||
|
"targets": [
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "P4169E866C3094E38"
|
||
|
},
|
||
|
"editorMode": "code",
|
||
|
"expr": "sum(rate(container_cpu_usage_seconds_total{name=~\"$containers\"}[5m])) by (name) * 100",
|
||
|
"legendFormat": "__auto",
|
||
|
"range": true,
|
||
|
"refId": "A"
|
||
|
}
|
||
|
],
|
||
|
"title": "CPU Usage",
|
||
|
"type": "bargauge"
|
||
|
},
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "P4169E866C3094E38"
|
||
|
},
|
||
|
"fieldConfig": {
|
||
|
"defaults": {
|
||
|
"color": {
|
||
|
"mode": "thresholds"
|
||
|
},
|
||
|
"mappings": [],
|
||
|
"thresholds": {
|
||
|
"mode": "absolute",
|
||
|
"steps": [
|
||
|
{
|
||
|
"color": "green",
|
||
|
"value": null
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"unit": "bytes"
|
||
|
},
|
||
|
"overrides": [
|
||
|
{
|
||
|
"matcher": {
|
||
|
"id": "byRegexp",
|
||
|
"options": ".*vlogs.*"
|
||
|
},
|
||
|
"properties": [
|
||
|
{
|
||
|
"id": "color",
|
||
|
"value": {
|
||
|
"fixedColor": "purple",
|
||
|
"mode": "fixed"
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"id": "displayName",
|
||
|
"value": "victoria-logs"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"matcher": {
|
||
|
"id": "byRegexp",
|
||
|
"options": ".*elastic.*"
|
||
|
},
|
||
|
"properties": [
|
||
|
{
|
||
|
"id": "color",
|
||
|
"value": {
|
||
|
"fixedColor": "yellow",
|
||
|
"mode": "fixed"
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"id": "displayName",
|
||
|
"value": "elasticsearch"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"gridPos": {
|
||
|
"h": 11,
|
||
|
"w": 5,
|
||
|
"x": 5,
|
||
|
"y": 0
|
||
|
},
|
||
|
"id": 3,
|
||
|
"options": {
|
||
|
"displayMode": "gradient",
|
||
|
"minVizHeight": 10,
|
||
|
"minVizWidth": 0,
|
||
|
"orientation": "auto",
|
||
|
"reduceOptions": {
|
||
|
"calcs": [
|
||
|
"lastNotNull"
|
||
|
],
|
||
|
"fields": "",
|
||
|
"values": false
|
||
|
},
|
||
|
"showUnfilled": true
|
||
|
},
|
||
|
"pluginVersion": "9.2.7",
|
||
|
"targets": [
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "P4169E866C3094E38"
|
||
|
},
|
||
|
"editorMode": "code",
|
||
|
"expr": "sum(container_memory_rss{name=~\"$containers\"}[5m]) by (name)",
|
||
|
"legendFormat": "__auto",
|
||
|
"range": true,
|
||
|
"refId": "A"
|
||
|
}
|
||
|
],
|
||
|
"title": "Memory Usage",
|
||
|
"type": "bargauge"
|
||
|
},
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "P4169E866C3094E38"
|
||
|
},
|
||
|
"fieldConfig": {
|
||
|
"defaults": {
|
||
|
"color": {
|
||
|
"mode": "thresholds"
|
||
|
},
|
||
|
"mappings": [],
|
||
|
"thresholds": {
|
||
|
"mode": "absolute",
|
||
|
"steps": [
|
||
|
{
|
||
|
"color": "green",
|
||
|
"value": null
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"unit": "decbytes"
|
||
|
},
|
||
|
"overrides": [
|
||
|
{
|
||
|
"matcher": {
|
||
|
"id": "byRegexp",
|
||
|
"options": ".*vlogs.*"
|
||
|
},
|
||
|
"properties": [
|
||
|
{
|
||
|
"id": "color",
|
||
|
"value": {
|
||
|
"fixedColor": "purple",
|
||
|
"mode": "fixed"
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"id": "displayName",
|
||
|
"value": "victoria-logs"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"matcher": {
|
||
|
"id": "byRegexp",
|
||
|
"options": ".*elastic.*"
|
||
|
},
|
||
|
"properties": [
|
||
|
{
|
||
|
"id": "color",
|
||
|
"value": {
|
||
|
"fixedColor": "yellow",
|
||
|
"mode": "fixed"
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"id": "displayName",
|
||
|
"value": "elasticsearch"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"gridPos": {
|
||
|
"h": 11,
|
||
|
"w": 5,
|
||
|
"x": 10,
|
||
|
"y": 0
|
||
|
},
|
||
|
"id": 5,
|
||
|
"options": {
|
||
|
"displayMode": "gradient",
|
||
|
"minVizHeight": 10,
|
||
|
"minVizWidth": 0,
|
||
|
"orientation": "auto",
|
||
|
"reduceOptions": {
|
||
|
"calcs": [
|
||
|
"lastNotNull"
|
||
|
],
|
||
|
"fields": "",
|
||
|
"values": false
|
||
|
},
|
||
|
"showUnfilled": true
|
||
|
},
|
||
|
"pluginVersion": "9.2.7",
|
||
|
"targets": [
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "P4169E866C3094E38"
|
||
|
},
|
||
|
"editorMode": "code",
|
||
|
"expr": "sum(node_disk_usage_bytes{path=~\"$containers_selector\"}[5m]) by (path)",
|
||
|
"legendFormat": "__auto",
|
||
|
"range": true,
|
||
|
"refId": "A"
|
||
|
}
|
||
|
],
|
||
|
"title": "Disk space used",
|
||
|
"type": "bargauge"
|
||
|
}
|
||
|
],
|
||
|
"refresh": false,
|
||
|
"schemaVersion": 37,
|
||
|
"style": "dark",
|
||
|
"tags": [],
|
||
|
"templating": {
|
||
|
"list": [
|
||
|
{
|
||
|
"hide": 2,
|
||
|
"name": "containers_selector",
|
||
|
"query": ".*(vlogs|elastic).*",
|
||
|
"skipUrlSync": false,
|
||
|
"type": "constant"
|
||
|
},
|
||
|
{
|
||
|
"current": {
|
||
|
"selected": true,
|
||
|
"text": [
|
||
|
"logs-benchmark-elastic-1",
|
||
|
"logs-benchmark-vlogs-1"
|
||
|
],
|
||
|
"value": [
|
||
|
"logs-benchmark-elastic-1",
|
||
|
"logs-benchmark-vlogs-1"
|
||
|
]
|
||
|
},
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "P4169E866C3094E38"
|
||
|
},
|
||
|
"definition": "label_values(container_cpu_usage_seconds_total{name!=\"\",}, name)",
|
||
|
"hide": 0,
|
||
|
"includeAll": true,
|
||
|
"label": "",
|
||
|
"multi": true,
|
||
|
"name": "containers",
|
||
|
"options": [],
|
||
|
"query": {
|
||
|
"query": "label_values(container_cpu_usage_seconds_total{name!=\"\",}, name)",
|
||
|
"refId": "StandardVariableQuery"
|
||
|
},
|
||
|
"refresh": 1,
|
||
|
"regex": ".*vlogs|elastic.*",
|
||
|
"skipUrlSync": false,
|
||
|
"sort": 1,
|
||
|
"type": "query"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"time": {
|
||
|
"from": "now-30m",
|
||
|
"to": "now"
|
||
|
},
|
||
|
"timepicker": {},
|
||
|
"timezone": "",
|
||
|
"title": "Elastic vs VLogs - stats only",
|
||
|
"uid": "hkm6P6_4J",
|
||
|
"version": 2,
|
||
|
"weekStart": ""
|
||
|
}
|