Skip to content

Instantly share code, notes, and snippets.

@fenar
Created August 25, 2023 13:00
Show Gist options
  • Save fenar/52094e0d36ed8a18a882de4ee9fdcd2e to your computer and use it in GitHub Desktop.
Save fenar/52094e0d36ed8a18a882de4ee9fdcd2e to your computer and use it in GitHub Desktop.
5Gcore-GrafanaDashboard
{
"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"
}
]
},
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
"id": 4,
"links": [],
"liveNow": false,
"panels": [
{
"datasource": {
"type": "prometheus",
"uid": "BjLboSgIz"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "percentage",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "orange",
"value": 70
},
{
"color": "red",
"value": 85
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 11,
"w": 12,
"x": 0,
"y": 0
},
"id": 6,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "9.1.6",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "BjLboSgIz"
},
"editorMode": "builder",
"expr": "jvm_memory_used{namespace=\"i2i-5gcore-site02\"}",
"legendFormat": "__auto",
"range": true,
"refId": "A"
}
],
"title": "I2I-5GCore-Memory-Usage",
"transformations": [],
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "BjLboSgIz"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 11,
"w": 12,
"x": 12,
"y": 0
},
"id": 4,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "BjLboSgIz"
},
"editorMode": "builder",
"expr": "process_cpu_usage{namespace=\"i2i-5gcore-site02\"}",
"legendFormat": "__auto",
"range": true,
"refId": "A"
}
],
"title": "I2I-5GCore-CPU-Usage",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "BjLboSgIz"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "continuous-GrYlRd"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 11
},
"id": 8,
"options": {
"displayMode": "lcd",
"minVizHeight": 10,
"minVizWidth": 0,
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showUnfilled": true
},
"pluginVersion": "9.1.6",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "BjLboSgIz"
},
"editorMode": "builder",
"expr": "CreateAmfContext3gppReqTime{subcounter=\"201\"}",
"legendFormat": "__auto",
"range": true,
"refId": "A"
}
],
"title": "AMF-Context-ReqTIme-Succeed",
"transformations": [
{
"id": "histogram",
"options": {}
}
],
"type": "bargauge"
},
{
"datasource": {
"type": "prometheus",
"uid": "BjLboSgIz"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
}
},
"mappings": []
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 11
},
"id": 10,
"options": {
"displayLabels": [
"percent"
],
"legend": {
"displayMode": "list",
"placement": "right",
"showLegend": true,
"values": []
},
"pieType": "donut",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "BjLboSgIz"
},
"editorMode": "builder",
"expr": "QueryAmfContext3gppReqNbr{subcounter=\"total\"}",
"legendFormat": "__auto",
"range": true,
"refId": "A"
}
],
"title": "AMF-Context-ReqNbr-Total",
"transformations": [
{
"id": "histogram",
"options": {}
}
],
"type": "piechart"
},
{
"datasource": {
"type": "prometheus",
"uid": "BjLboSgIz"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
}
},
"mappings": []
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 19
},
"id": 12,
"options": {
"displayLabels": [
"percent"
],
"legend": {
"displayMode": "list",
"placement": "right",
"showLegend": true,
"values": []
},
"pieType": "pie",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "BjLboSgIz"
},
"editorMode": "builder",
"expr": "QuerySmfRegListReqNbr",
"legendFormat": "__auto",
"range": true,
"refId": "A"
}
],
"title": "SMF-RegList-ReqNbr",
"transformations": [
{
"id": "histogram",
"options": {}
}
],
"type": "piechart"
},
{
"datasource": {
"type": "prometheus",
"uid": "BjLboSgIz"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "ms"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 19
},
"id": 14,
"options": {
"displayMode": "lcd",
"minVizHeight": 10,
"minVizWidth": 0,
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "/.*/",
"values": true
},
"showUnfilled": true,
"text": {}
},
"pluginVersion": "9.1.6",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "BjLboSgIz"
},
"editorMode": "builder",
"expr": "QuerySmfSelectDataReqTime",
"legendFormat": "__auto",
"range": true,
"refId": "A"
}
],
"title": "SMF-SelectData-ReqTime",
"transformations": [
{
"id": "histogram",
"options": {}
}
],
"transparent": true,
"type": "bargauge"
}
],
"schemaVersion": 37,
"style": "dark",
"tags": [],
"templating": {
"list": []
},
"time": {
"from": "now-6h",
"to": "now"
},
"timepicker": {},
"timezone": "",
"title": "I2i-5GCore",
"uid": "ilFRlPgIk",
"version": 6,
"weekStart": ""
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment