Focus: Importing Dashboards into Grafana
1. Purpose
This page explains how to import pre‑built dashboard templates into Grafana using a JSON definition file. It is intended as a quick, focused reference for:
SRE / Platform / DevOps engineers
Application teams onboarding to Grafana dashboards
2. Prerequisites
Before importing a dashboard:
You have access to your Grafana instance (sufficient permissions to create/import dashboards).
Your data source(s) are already configured in Grafana (Prometheus).
Your services are sending data with consistent labels/tags, for example:
serviceservice_nameenv(e.g.,prod,staging)
You have the dashboard JSON file (example provided below).
3. Importing a Dashboard via Grafana UI
Sign in to Grafana.
In the left-hand menu, go to:
Dashboards → Browse.
Click New → Import (or Import button, depending on Grafana version).
Under Import via panel json, either:
Paste the JSON definition, or
Click Upload JSON file and select your dashboard JSON.
Select or confirm the data source mappings (for example, Prometheus / Loki / etc.).
Click Import.
Optionally, adjust:
Dashboard title
Folder / permissions
Variable defaults (e.g.,
service,env)
Example / Template
Recommended Practices for Templates
Keep service filters parameterized via vairables (e.g.,
$service.name,$env) and document required labels.Store the JSON files in version control (e.g.,
observability/grafana/dashboards/in your repo).Use the same base template for all services and only adjust:
Dashboard name / UID
Variable defaults (
service,env)Service-specific panels (e.g., queue depth, domain KPIs, custom SLIs)
Standardize:
Time range defaults (e.g., last 1h or 6h)
Refresh intervals (e.g., 30s / 1m)
Color/threshold conventions for errors and latency.
Example Dashboard Template JSON
Below is an example Grafana dashboard definition you can use as a template.
It creates a basic Service Overview dashboard using a Prometheus data source.
You can modify:
titleuid(optional, should be unique per dashboard)Panel queries (labels such as
serviceandenv)Default variable values
{
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": {
"type": "grafana",
"uid": "-- Grafana --"
},
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"type": "dashboard"
}
]
},
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
"id": 0,
"links": [],
"panels": [
{
"collapsed": true,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 0
},
"id": 24,
"panels": [
{
"datasource": {
"type": "prometheus",
"uid": "bf3swkb0zg83kf"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": 0
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 1
},
"id": 25,
"options": {
"minVizHeight": 75,
"minVizWidth": 75,
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": true,
"sizing": "auto"
},
"pluginVersion": "12.2.1",
"targets": [
{
"editorMode": "code",
"expr": "system_cpu_usage{service=~\"$lobster_installations\"} * 100",
"legendFormat": "System CPU",
"range": true,
"refId": "A"
}
],
"title": "System CPU Usage (%)",
"type": "gauge"
},
{
"datasource": {
"type": "prometheus",
"uid": "bf3swkb0zg83kf"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"showValues": false,
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": 0
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 1
},
"id": 26,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"hideZeros": false,
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "12.2.1",
"targets": [
{
"editorMode": "code",
"expr": "process_cpu_usage{service=~\"$lobster_installations\"} * 100",
"legendFormat": "{{service}} - Process CPU",
"range": true,
"refId": "A"
}
],
"title": "Cpu usage",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "bf3swkb0zg83kf"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": 0
},
{
"color": "orange",
"value": 60
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Threads"
},
"properties": [
{
"id": "thresholds",
"value": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": 0
},
{
"color": "yellow",
"value": 200
},
{
"color": "orange",
"value": 500
},
{
"color": "red",
"value": 800
}
]
}
}
]
}
]
},
"gridPos": {
"h": 8,
"w": 8,
"x": 0,
"y": 9
},
"id": 1,
"options": {
"minVizHeight": 75,
"minVizWidth": 75,
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": true,
"sizing": "auto"
},
"pluginVersion": "12.2.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "bf3swkb0zg83kf"
},
"editorMode": "code",
"expr": "max_over_time(ldp_cpu_usage_percent{service=~\"$lobster_installations\"}[5m])",
"instant": true,
"legendFormat": "CPU %",
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "bf3swkb0zg83kf"
},
"editorMode": "code",
"expr": "max_over_time(jvm_threads_live_threads{service=~\"$lobster_installations\"}[5m])",
"instant": true,
"legendFormat": "Threads",
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "bf3swkb0zg83kf"
},
"editorMode": "code",
"expr": "max_over_time(ldp_jobs_active{service=~\"$lobster_installations\"}[5m])",
"instant": true,
"legendFormat": "Active Jobs",
"refId": "C"
},
{
"datasource": {
"type": "prometheus",
"uid": "bf3swkb0zg83kf"
},
"editorMode": "code",
"expr": "max_over_time(ldp_jobs_queued{service=~\"$lobster_installations\"}[5m])",
"instant": true,
"legendFormat": "Queued Jobs",
"refId": "D"
}
],
"title": "Service Health Status",
"type": "gauge"
},
{
"datasource": {
"type": "prometheus",
"uid": "bf3swkb0zg83kf"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"showValues": false,
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": 0
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 8,
"y": 9
},
"id": 27,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"hideZeros": false,
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "12.2.1",
"targets": [
{
"editorMode": "code",
"expr": "max by (service) (\n ldp_jobs_active{service=~\"$lobster_installations\"}\n)",
"legendFormat": "Active Jobs-{{service}}",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "bf3swkb0zg83kf"
},
"editorMode": "code",
"expr": "max by (service) (\n ldp_jobs_queued{service=~\"$lobster_installations\"}\n)",
"hide": false,
"instant": false,
"legendFormat": "Queued Jobs-{{service}}",
"range": true,
"refId": "B"
}
],
"title": "Job Queue Status",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "bf3swkb0zg83kf"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"showValues": false,
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": 0
}
]
},
"unit": "decmbytes"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 17
},
"id": 4,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"hideZeros": false,
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "12.2.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "bf3swkb0zg83kf"
},
"expr": "avg_over_time(jvm_memory_used_bytes{area=\"heap\", service=~\"$lobster_installations\"}[5m]) / 1024 / 1024",
"instant": false,
"legendFormat": "{{id}} Used MB",
"refId": "A"
}
],
"title": "JVM Heap Memory Usage",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "bf3swkb0zg83kf"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"showValues": false,
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": 0
}
]
},
"unit": "decmbytes"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Max MB"
},
"properties": [
{
"id": "custom.lineStyle",
"value": {
"dash": [
10,
10
],
"fill": "dash"
}
},
{
"id": "color",
"value": {
"fixedColor": "red",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "Committed MB"
},
"properties": [
{
"id": "custom.lineStyle",
"value": {
"dash": [
5,
5
],
"fill": "dash"
}
},
{
"id": "color",
"value": {
"fixedColor": "orange",
"mode": "fixed"
}
}
]
}
]
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 17
},
"id": 5,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"hideZeros": false,
"mode": "multi",
"sort": "desc"
}
},
"pluginVersion": "12.2.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "bf3swkb0zg83kf"
},
"editorMode": "code",
"expr": "sum(jvm_memory_committed_bytes{area=\"heap\", service=~\"$lobster_installations\"}) / 1024 / 1024",
"instant": false,
"legendFormat": "Committed MB",
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "bf3swkb0zg83kf"
},
"expr": "sum(jvm_memory_max_bytes{area=\"heap\", service=~\"$lobster_installations\"}) / 1024 / 1024",
"instant": false,
"legendFormat": "Max MB",
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "bf3swkb0zg83kf"
},
"expr": "sum(jvm_memory_used_bytes{area=\"heap\", service=~\"$lobster_installations\"}) / 1024 / 1024",
"instant": false,
"legendFormat": "Used MB",
"refId": "C"
}
],
"title": "JVM Heap Memory - Committed vs Max",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "bf3swkb0zg83kf"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"showValues": false,
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": 0
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 25
},
"id": 11,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"hideZeros": false,
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "12.2.1",
"targets": [
{
"editorMode": "code",
"expr": "avg by (id) (jvm_memory_used_bytes{area=\"nonheap\", service=~\"$lobster_installations\"}) / 1024 / 1024",
"legendFormat": "__auto",
"range": true,
"refId": "A"
}
],
"title": "JVM Non-Heap Memory (Metaspace, Code Cache)",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "bf3swkb0zg83kf"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"showValues": false,
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": 0
}
]
},
"unit": "decmbytes"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 25
},
"id": 6,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"hideZeros": false,
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "12.2.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "bf3swkb0zg83kf"
},
"expr": "avg_over_time(jvm_gc_live_data_size_bytes{service=~\"$lobster_installations\"}[5m]) / 1024 / 1024",
"instant": false,
"legendFormat": "Live Data MB",
"refId": "A"
}
],
"title": "GC Live Data Size (Post-GC Heap)",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "bf3swkb0zg83kf"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 20,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"showValues": false,
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "normal"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": 0
}
]
},
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 33
},
"id": 7,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"hideZeros": false,
"mode": "multi",
"sort": "desc"
}
},
"pluginVersion": "12.2.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "bf3swkb0zg83kf"
},
"editorMode": "code",
"expr": "jvm_threads_states_threads{service=~\"$lobster_installations\", state!=\"\"}",
"instant": false,
"legendFormat": "{{state}}",
"refId": "A"
}
],
"title": "Thread Count by State",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "bf3swkb0zg83kf"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"showValues": false,
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": 0
}
]
},
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 33
},
"id": 8,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"hideZeros": false,
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "12.2.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "bf3swkb0zg83kf"
},
"editorMode": "code",
"expr": "jvm_threads_live_threads{service=~\"$lobster_installations\"}",
"instant": false,
"legendFormat": "{{service}} Live Threads",
"refId": "A"
}
],
"title": "Total Live Threads",
"type": "timeseries"
},
{
"datasource": {
"uid": "bf3swkb0zg83kf"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
}
},
"mappings": []
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 41
},
"id": 12,
"options": {
"displayLabels": [
"name",
"percent"
],
"legend": {
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"pieType": "donut",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"sort": "desc",
"tooltip": {
"hideZeros": false,
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "12.2.1",
"targets": [
{
"editorMode": "code",
"expr": "max by (id, service) (jvm_memory_used_bytes{service=~\"$lobster_installations\"}) / 1024 / 1024",
"legendFormat": "{{id}}",
"range": true,
"refId": "A"
}
],
"title": "Memory Usage by Pool (Current)",
"type": "piechart"
},
{
"datasource": {
"type": "prometheus",
"uid": "bf3swkb0zg83kf"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
}
},
"mappings": []
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 41
},
"id": 28,
"options": {
"displayLabels": [
"name",
"percent"
],
"legend": {
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"pieType": "donut",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"sort": "desc",
"tooltip": {
"hideZeros": false,
"mode": "multi",
"sort": "desc"
}
},
"pluginVersion": "12.2.1",
"targets": [
{
"editorMode": "code",
"expr": "sum by (state) (\n jvm_threads_states_threads{service=~\"$lobster_installations\", state!=\"\"}\n)",
"legendFormat": "__auto",
"range": true,
"refId": "A"
}
],
"title": "Thread States Distribution",
"type": "piechart"
},
{
"datasource": {
"uid": "bf3swkb0zg83kf"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"custom": {
"align": "left",
"cellOptions": {
"type": "auto"
},
"filterable": false,
"footer": {
"reducers": [
"max"
]
},
"inspect": false
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": 0
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "environment"
},
"properties": [
{
"id": "custom.width",
"value": 183
}
]
}
]
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 49
},
"id": 29,
"options": {
"cellHeight": "sm",
"showHeader": true,
"sortBy": [
{
"desc": false,
"displayName": "{environment=\"production\", service=\"lobster-service-1\", version=\"26.2.0\"}"
}
]
},
"pluginVersion": "12.2.1",
"targets": [
{
"editorMode": "builder",
"exemplar": false,
"expr": "max by (service, environment, version) (\n system_cpu_count{service=~\"$lobster_installations\"}\n)",
"format": "time_series",
"instant": true,
"legendFormat": "__auto",
"range": false,
"refId": "A"
}
],
"title": "System Information",
"transformations": [
{
"id": "labelsToFields",
"options": {}
},
{
"id": "filterFieldsByName",
"options": {
"include": {
"names": [
"environment",
"service",
"version"
]
}
}
}
],
"type": "table"
},
{
"datasource": {
"type": "prometheus",
"uid": "bf3swkb0zg83kf"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"showValues": false,
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": 0
}
]
},
"unit": "ops"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 49
},
"id": 9,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"hideZeros": false,
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "12.2.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "bf3swkb0zg83kf"
},
"expr": "sum(rate(ldp_jobs_active{service=~\"$lobster_installations\"}[1m])) by (service)",
"instant": false,
"legendFormat": "{{service}} Active Jobs/s",
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "bf3swkb0zg83kf"
},
"expr": "sum(rate(ldp_jobs_queued{service=~\"$lobster_installations\"}[1m])) by (service)",
"instant": false,
"legendFormat": "{{service}} Queued Jobs/s",
"refId": "B"
}
],
"title": "Job Processing Rate",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "bf3swkb0zg83kf"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 20,
"gradientMode": "scheme",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 2,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"showValues": false,
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "line+area"
}
},
"mappings": [],
"max": 100,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": 0
},
{
"color": "orange",
"value": 70
},
{
"color": "red",
"value": 85
}
]
},
"unit": "percent"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 24,
"x": 0,
"y": 57
},
"id": 10,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"hideZeros": false,
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "12.2.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "bf3swkb0zg83kf"
},
"editorMode": "code",
"expr": "(\n sum by (service) (jvm_memory_used_bytes{area=\"heap\", service=~\"$lobster_installations\"})\n /\n sum by (service) (jvm_memory_max_bytes{area=\"heap\", service=~\"$lobster_installations\"} > 0)\n) * 100",
"instant": false,
"legendFormat": "Heap Used %",
"refId": "A"
}
],
"title": "Memory Utilization Percentage",
"type": "timeseries"
}
],
"title": "Overview",
"type": "row"
},
{
"collapsed": true,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 1
},
"id": 23,
"panels": [
{
"datasource": {
"type": "prometheus",
"uid": "bf3swkb0zg83kf"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"showValues": false,
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": 0
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 66
},
"id": 30,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"hideZeros": false,
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "12.2.1",
"targets": [
{
"editorMode": "code",
"expr": "avg by (id, service) (\n jvm_memory_used_bytes{service=~\"$lobster_installations\", area=\"heap\"}\n) / 1024 / 1024",
"legendFormat": "{{id}} - Used MB",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "bf3swkb0zg83kf"
},
"editorMode": "code",
"expr": "avg by (id, service) (\n jvm_memory_committed_bytes{service=~\"$lobster_installations\", area=\"heap\"}\n) / 1024 / 1024",
"hide": false,
"instant": false,
"legendFormat": "{{id}} - Committed MB",
"range": true,
"refId": "B"
}
],
"title": "Heap Memory Pools - Detailed View",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "bf3swkb0zg83kf"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"showValues": false,
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": 0
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 66
},
"id": 31,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"hideZeros": false,
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "12.2.1",
"targets": [
{
"editorMode": "code",
"exemplar": false,
"expr": "avg by (id) (\n jvm_memory_used_bytes{service=~\"$lobster_installations\", id=~\"G1 Eden Space|G1 Survivor Space\"}\n) / 1024 / 1024",
"instant": false,
"interval": "",
"legendFormat": "{{id}} - Used MB",
"range": true,
"refId": "A"
}
],
"title": "Eden Space vs Survivor Space",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "bf3swkb0zg83kf"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"showValues": false,
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": 0
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 74
},
"id": 13,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"hideZeros": false,
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "12.2.1",
"targets": [
{
"editorMode": "code",
"expr": "# Query A\navg by (id, service) (jvm_memory_used_bytes{service=~\"$lobster_installations\"}) / 1024 / 1024",
"legendFormat": "{{id}} - Used MB",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "bf3swkb0zg83kf"
},
"editorMode": "code",
"expr": "# Query B\navg by (id, service) (jvm_memory_committed_bytes{service=~\"$lobster_installations\"}) / 1024 / 1024",
"hide": false,
"instant": false,
"legendFormat": "{{id}} - Committed MB",
"range": true,
"refId": "B"
}
],
"title": "Old Generation (Tenured Gen) Memory",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "bf3swkb0zg83kf"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"showValues": false,
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": 0
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 74
},
"id": 14,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"hideZeros": false,
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "12.2.1",
"targets": [
{
"editorMode": "code",
"expr": "avg by (service) (jvm_memory_used_bytes{service=~\"$lobster_installations\", id=\"Metaspace\"}) / 1024 / 1024",
"legendFormat": "Memory Used - {{service}}",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "bf3swkb0zg83kf"
},
"editorMode": "code",
"expr": "avg by (service) (jvm_memory_committed_bytes{service=~\"$lobster_installations\", id=\"Metaspace\"}) / 1024 / 1024",
"hide": false,
"instant": false,
"legendFormat": "Memory Committed - {{service}}",
"range": true,
"refId": "B"
}
],
"title": "Metaspace Usage",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "bf3swkb0zg83kf"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"showValues": false,
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": 0
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 82
},
"id": 32,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"hideZeros": false,
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "12.2.1",
"targets": [
{
"editorMode": "code",
"expr": "avg by (id) (\n jvm_memory_used_bytes{service=~\"$lobster_installations\", id=~\"CodeHeap.*\"}\n) / 1024 / 1024",
"legendFormat": "{{id}} - Used MB",
"range": true,
"refId": "A"
}
],
"title": "Code Heap Usage",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "bf3swkb0zg83kf"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"showValues": false,
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": 0
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 82
},
"id": 33,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"hideZeros": false,
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "12.2.1",
"targets": [
{
"editorMode": "code",
"expr": "max by (state) (\n jvm_threads_states_threads{service=~\"$lobster_installations\", state=~\"runnable|waiting|timed-waiting|blocked\"}\n)",
"legendFormat": "{{state}}",
"range": true,
"refId": "A"
}
],
"title": "Thread State Timeline",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "bf3swkb0zg83kf"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"displayName": "Heap Utilization %",
"mappings": [],
"max": 100,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": 0
},
{
"color": "#EAB839",
"value": 60
},
{
"color": "red",
"value": 85
}
]
},
"unit": "percent"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 90
},
"id": 34,
"options": {
"minVizHeight": 75,
"minVizWidth": 75,
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": true,
"sizing": "auto",
"text": {}
},
"pluginVersion": "12.2.1",
"targets": [
{
"editorMode": "code",
"expr": "(\n sum(jvm_memory_used_bytes{service=~\"$lobster_installations\", area=\"heap\"})\n /\n clamp_min(sum(jvm_memory_committed_bytes{service=~\"$lobster_installations\", area=\"heap\"}), 1)\n) * 100",
"legendFormat": "Heap Utilization %",
"range": true,
"refId": "A"
}
],
"title": "Memory Pressure Indicator",
"type": "gauge"
},
{
"datasource": {
"type": "prometheus",
"uid": "bf3swkb0zg83kf"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"showValues": false,
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": 0
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 90
},
"id": 16,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"hideZeros": false,
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "12.2.1",
"targets": [
{
"editorMode": "code",
"expr": "avg by (service) (ldp_cpu_usage_percent{service=~\"$lobster_installations\"})",
"legendFormat": "{{service}} - CPU %",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "bf3swkb0zg83kf"
},
"editorMode": "code",
"expr": "(\n sum by (service) (jvm_memory_used_bytes{service=~\"$lobster_installations\"})\n /\n sum by (service) (jvm_memory_committed_bytes{service=~\"$lobster_installations\"})\n) * 100",
"hide": false,
"instant": false,
"legendFormat": "{{service}} - Memory %",
"range": true,
"refId": "B"
}
],
"title": "System Resource Utilization",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "bf3swkb0zg83kf"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "smooth",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"showValues": false,
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"max": 100,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": 0
},
{
"color": "orange",
"value": 60
},
{
"color": "red",
"value": 80
}
]
},
"unit": "percent"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 98
},
"id": 2,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"hideZeros": false,
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "12.2.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "bf3swkb0zg83kf"
},
"expr": "avg_over_time(ldp_cpu_usage_percent{service=~\"$lobster_installations\"}[5m])",
"instant": false,
"legendFormat": "{{service}} CPU Usage %",
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "bf3swkb0zg83kf"
},
"expr": "avg_over_time(process_cpu_usage{service=~\"$lobster_installations\"}[5m]) * 100",
"instant": false,
"legendFormat": "{{service}} Process CPU %",
"refId": "B"
}
],
"title": "CPU Usage Trend",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "bf3swkb0zg83kf"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"showValues": false,
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": 0
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 98
},
"id": 19,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"hideZeros": false,
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "12.2.1",
"targets": [
{
"editorMode": "code",
"expr": "rate(jvm_gc_pause_seconds_sum[5m]) * 60",
"legendFormat": "{{action}} - {{cause}}",
"range": true,
"refId": "A"
}
],
"title": "Garbage Collection",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "bf3swkb0zg83kf"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"showValues": false,
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": 0
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 106
},
"id": 17,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"hideZeros": false,
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "12.2.1",
"targets": [
{
"editorMode": "code",
"expr": "jvm_memory_used_bytes{service=~\"$lobster_installations\"}",
"legendFormat": "{{area}} - {{id}}",
"range": true,
"refId": "A"
}
],
"title": "Memory Used by Type",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "bf3swkb0zg83kf"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"showValues": false,
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": 0
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 106
},
"id": 20,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"hideZeros": false,
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "12.2.1",
"targets": [
{
"editorMode": "code",
"expr": "rate(jvm_gc_memory_allocated_bytes_total{service=~\"$lobster_installations\"}[5m]) / 1024 / 1024",
"legendFormat": "{{service}}",
"range": true,
"refId": "A"
}
],
"title": "GC Memory Allocation Rate (MB/s)",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "bf3swkb0zg83kf"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"showValues": false,
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": 0
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 114
},
"id": 21,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"hideZeros": false,
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "12.2.1",
"targets": [
{
"editorMode": "code",
"expr": "jvm_threads_daemon_threads {service=~\"$lobster_installations\"}",
"legendFormat": "daemon threads - {{service}}",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "bf3swkb0zg83kf"
},
"editorMode": "code",
"expr": "jvm_threads_live_threads{service=~\"$lobster_installations\"} - jvm_threads_daemon_threads {service=~\"$lobster_installations\"}",
"hide": false,
"instant": false,
"legendFormat": "non-daemon threads - {{service}}",
"range": true,
"refId": "B"
}
],
"title": "Daemon threads vs live threads",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "bf3swkb0zg83kf"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"showValues": false,
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": 0
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 114
},
"id": 22,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"hideZeros": false,
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "12.2.1",
"targets": [
{
"editorMode": "code",
"expr": "jvm_buffer_count_buffers{service=~\"$lobster_installations\"}",
"legendFormat": "{{id}}",
"range": true,
"refId": "A"
}
],
"title": "Buffer Count",
"type": "timeseries"
}
],
"title": "JVM deep dive",
"type": "row"
},
{
"collapsed": true,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 2
},
"id": 35,
"panels": [
{
"datasource": {
"type": "prometheus",
"uid": "bf3swkb0zg83kf"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"showValues": false,
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": 0
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 3
},
"id": 36,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"hideZeros": false,
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "12.2.1",
"targets": [
{
"editorMode": "code",
"expr": "max by (service) (\n ldp_jobs_active{service=~\"$lobster_installations\"}\n)",
"legendFormat": "{{service}} - Active Jobs",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "bf3swkb0zg83kf"
},
"editorMode": "code",
"expr": "max by (service) (\n ldp_jobs_queued{service=~\"$lobster_installations\"}\n)",
"hide": false,
"instant": false,
"legendFormat": "{{service}} - Queued Jobs",
"range": true,
"refId": "B"
}
],
"title": "Active vs Queued Jobs Trend",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "bf3swkb0zg83kf"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "CPU %",
"axisPlacement": "left",
"barAlignment": 0,
"barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"showValues": false,
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": 0
},
{
"color": "red",
"value": 80
}
]
},
"unit": "percent"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "lobster-service-1 - Active Jobs"
},
"properties": [
{
"id": "custom.axisPlacement",
"value": "right"
},
{
"id": "unit",
"value": "short"
},
{
"id": "custom.axisLabel",
"value": "Active Jobs"
}
]
}
]
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 3
},
"id": 37,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"hideZeros": false,
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "12.2.1",
"targets": [
{
"editorMode": "code",
"expr": "avg by (service) (\n ldp_cpu_usage_percent{service=~\"$lobster_installations\"}\n)",
"legendFormat": "{{service}} - CPU %",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "bf3swkb0zg83kf"
},
"editorMode": "code",
"exemplar": false,
"expr": "max by (service) (\n ldp_jobs_active{service=~\"$lobster_installations\"}\n)",
"hide": false,
"instant": false,
"legendFormat": "{{service}} - Active Jobs",
"range": true,
"refId": "B"
}
],
"title": "CPU Usage Correlation with Jobs",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "bf3swkb0zg83kf"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"showValues": false,
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": 0
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 11
},
"id": 38,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"hideZeros": false,
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "12.2.1",
"targets": [
{
"editorMode": "code",
"expr": "max by (service) (ldp_jobs_queued{service=~\"$lobster_installations\"})\n/\n(max by (service) (ldp_jobs_active{service=~\"$lobster_installations\"}) + 0.001)",
"legendFormat": "{{service}} - Queue to Active Ratio",
"range": true,
"refId": "A"
}
],
"title": "Job Queue Backlog Duration",
"type": "timeseries"
}
],
"title": "Application Performance",
"type": "row"
}
],
"preload": false,
"refresh": "30s",
"schemaVersion": 42,
"tags": [
"LUM",
"OpenTelemetry",
"JVM"
],
"templating": {
"list": [
{
"current": {
"text": "All",
"value": [
"$__all"
]
},
"datasource": {
"type": "prometheus",
"uid": "bf3swkb0zg83kf"
},
"definition": "label_values(jvm_memory_used_bytes, service)",
"includeAll": true,
"label": "Service",
"multi": true,
"name": "lobster_installations",
"options": [],
"query": {
"query": "label_values(jvm_memory_used_bytes, service)",
"refId": "StandardVariableQuery"
},
"refresh": 1,
"regex": "",
"sort": 1,
"type": "query"
}
]
},
"time": {
"from": "now-1h",
"to": "now"
},
"timepicker": {},
"timezone": "browser",
"title": "Service - OpenTelemetry Monitoring (LUM) - imported",
"uid": "b0dab157-38a1-4ebd-b2f8-8a1007ceb993",
"version": 94
}