Fokus: Dashboards in New Relic importieren
1. Zweck
Dieser Artikel beschreibt, wie man vordefinierte Dashboard-Vorlagen im JSON-Format in New Relic importiert. Er soll als schnelle, fokussierte Referenz dienen für:
SRE / Platform / DevOps-Ingenieure
Applikationsteams die sich mit New Relic Dashboards vertraut machen wollen
2. Voraussetzungen
Vor dem Import eines Dashboards sicherstellen:
Zugang zu einem New Relic-Konto (per Benutzeroberfläche oder API)
Dienste liefert bereits Daten mit konsistenten Attributen (z. B.
service.nameenv(z. B.,prod,staging)
Dashboard-JSON-Datei (s. Beispiel unten) liegt bereits vor
3. Dashboard über die New Relic Benutzeroberfläche importieren
Anmeldung bei New Relic.
Gehe zu Dashboards.
Dashboard importieren auswählen (Beschriftung kann versionsabhängig abweichen).
JSON definition aus Zwischenablage einfügen oder JSON-Datei hochladen.
Import anklicken.
Titel und ggf. auch die NRQL-Filter (e.g.,
WHERE service.name = 'my-service' AND env = 'prod') anpassen.
Beispiel-Vorlage
Verwenden des Beispiels
ACCOUNT_IDersetzen mit eigener New-Relic-Konto-ID (integer).Für
service.nameundenvWerte passend zu eigenen Tags zuweisen.Als Datei speichern, z. B.:
service-overview-dashboard.json.Über die Zwischenablage in den Dashboard importieren-Dialog der Benutzeroberfläche einfügen.
Empfehlungen zum Gebrauch von Vorlagen
Serivce-Filter mit Parametern versehen (z. B.,
service.name,env) und erforderliche Tags dokumentieren.JSON-Dateien mit Änderungsverfolgung speichern (z. B.
observability/dashboards/im eigenen Repo).Dieselbe Basis-Vorlage für alle Dienste verwenden und dabei nur folgende Anpassungen vornehmen:
Dashboard-Name
Service/Team-Filter
Service-spezifische Panels (z. B., Warteschlangen-Kennzahlen, Domänen-KPIs)
Beispiel-Dashboard-Vorlage (JSON)
Die folgende New-Relic-Dashboard-Definition kann als Vorlage verwendet werden.
Sie erzeuge ein einfaches Dashboard für eine Services-Übersicht.
Zum Anpassen vorgesehen:
titleACCOUNT_IDservice.nameundenvFilters in den NRQL-Abfragen
{
"name": "Service - OpenTelemetry Monitoring",
"description": "Comprehensive monitoring dashboard for LUM service with JVM, CPU, and application metrics",
"permissions": "PUBLIC_READ_WRITE",
"pages": [
{
"guid": "NDgwNDYxNnxWSVp8REFTSEJPQVJEfDI4MDQwMDI",
"name": "LUM Service Overview",
"description": "Main monitoring page for LUM service health and performance",
"widgets": [
{
"id": "39604298",
"title": "Service Health Status",
"layout": {
"column": 1,
"row": 1,
"width": 4,
"height": 3
},
"linkedEntityGuids": null,
"visualization": {
"id": "viz.billboard"
},
"rawConfiguration": {
"facet": {
"showOtherSeries": false
},
"nrqlQueries": [
{
"accountIds": [
4804616
],
"query": "FROM Metric SELECT latest(ldp.cpu.usage.percent) AS 'CPU %', latest(jvm.threads.live) AS 'Threads', latest(ldp.jobs.active) AS 'Active Jobs', latest(ldp.jobs.queued) AS 'Queued Jobs' WHERE service IN ({{lobster_installations}})"
}
],
"platformOptions": {
"ignoreTimeRange": false
},
"thresholds": [
{
"alertSeverity": "CRITICAL",
"value": 80
},
{
"alertSeverity": "WARNING",
"value": 60
}
]
}
},
{
"id": "39604299",
"title": "CPU Usage Trend",
"layout": {
"column": 5,
"row": 1,
"width": 4,
"height": 3
},
"linkedEntityGuids": [],
"visualization": {
"id": "viz.line"
},
"rawConfiguration": {
"facet": {
"showOtherSeries": false
},
"legend": {
"enabled": true
},
"markers": {
"displayedTypes": {
"criticalViolations": false,
"deployments": true,
"relatedDeployments": true,
"warningViolations": false
}
},
"nrqlQueries": [
{
"accountIds": [
4804616
],
"query": "FROM Metric SELECT average(ldp.cpu.usage.percent) AS 'CPU Usage %', average(process.cpu.usage) * 100 AS 'Process CPU %' WHERE service IN ({{lobster_installations}}) TIMESERIES AUTO FACET service"
}
],
"platformOptions": {
"ignoreTimeRange": false
},
"thresholds": {
"isLabelVisible": true
},
"yAxisLeft": {
"zero": true
},
"yAxisRight": {
"zero": true
}
}
},
{
"id": "39604300",
"title": "Job Queue Status",
"layout": {
"column": 9,
"row": 1,
"width": 4,
"height": 3
},
"linkedEntityGuids": [],
"visualization": {
"id": "viz.line"
},
"rawConfiguration": {
"facet": {
"showOtherSeries": false
},
"legend": {
"enabled": true
},
"markers": {
"displayedTypes": {
"criticalViolations": false,
"deployments": true,
"relatedDeployments": true,
"warningViolations": false
}
},
"nrqlQueries": [
{
"accountIds": [
4804616
],
"query": "FROM Metric SELECT latest(ldp.jobs.active) AS 'Active Jobs', latest(ldp.jobs.queued) AS 'Queued Jobs' WHERE service IN ({{lobster_installations}}) TIMESERIES AUTO FACET service"
}
],
"platformOptions": {
"ignoreTimeRange": false
},
"thresholds": {
"isLabelVisible": true
},
"yAxisLeft": {
"zero": true
},
"yAxisRight": {
"zero": true
}
}
},
{
"id": "39604301",
"title": "JVM Heap Memory Usage",
"layout": {
"column": 1,
"row": 4,
"width": 6,
"height": 3
},
"linkedEntityGuids": null,
"visualization": {
"id": "viz.area"
},
"rawConfiguration": {
"facet": {
"showOtherSeries": false
},
"legend": {
"enabled": true
},
"nrqlQueries": [
{
"accountIds": [
4804616
],
"query": "FROM Metric SELECT average(jvm.memory.used) / 1024 / 1024 AS 'Used MB' WHERE service IN ({{lobster_installations}}) AND area = 'heap' FACET id TIMESERIES AUTO"
}
],
"platformOptions": {
"ignoreTimeRange": false
},
"yAxisLeft": {
"zero": true
}
}
},
{
"id": "39604302",
"title": "JVM Heap Memory - Committed vs Max",
"layout": {
"column": 7,
"row": 4,
"width": 6,
"height": 3
},
"linkedEntityGuids": null,
"visualization": {
"id": "viz.line"
},
"rawConfiguration": {
"facet": {
"showOtherSeries": false
},
"legend": {
"enabled": true
},
"nrqlQueries": [
{
"accountIds": [
4804616
],
"query": "FROM Metric SELECT sum(jvm.memory.committed) / 1024 / 1024 AS 'Committed MB', sum(jvm.memory.max) / 1024 / 1024 AS 'Max MB', sum(jvm.memory.used) / 1024 / 1024 AS 'Used MB' WHERE service IN ({{lobster_installations}}) AND area = 'heap' TIMESERIES AUTO"
}
],
"platformOptions": {
"ignoreTimeRange": false
},
"yAxisLeft": {
"zero": true
}
}
},
{
"id": "39604303",
"title": "JVM Non-Heap Memory (Metaspace, Code Cache)",
"layout": {
"column": 1,
"row": 7,
"width": 6,
"height": 3
},
"linkedEntityGuids": [],
"visualization": {
"id": "viz.area"
},
"rawConfiguration": {
"facet": {
"showOtherSeries": false
},
"legend": {
"enabled": true
},
"markers": {
"displayedTypes": {
"criticalViolations": false,
"deployments": true,
"relatedDeployments": true,
"warningViolations": false
}
},
"nrqlQueries": [
{
"accountIds": [
4804616
],
"query": "FROM Metric SELECT average(jvm.memory.used) / 1024 / 1024 AS 'Used MB' WHERE service IN ({{lobster_installations}}) AND area = 'nonheap' FACET id TIMESERIES AUTO"
}
],
"platformOptions": {
"ignoreTimeRange": false
},
"thresholds": {
"isLabelVisible": true
}
}
},
{
"id": "39604304",
"title": "GC Live Data Size (Post-GC Heap)",
"layout": {
"column": 7,
"row": 7,
"width": 6,
"height": 3
},
"linkedEntityGuids": null,
"visualization": {
"id": "viz.line"
},
"rawConfiguration": {
"facet": {
"showOtherSeries": false
},
"legend": {
"enabled": true
},
"nrqlQueries": [
{
"accountIds": [
4804616
],
"query": "FROM Metric SELECT average(jvm.gc.live.data.size) / 1024 / 1024 AS 'Live Data MB' WHERE service IN ({{lobster_installations}}) TIMESERIES AUTO"
}
],
"platformOptions": {
"ignoreTimeRange": false
},
"yAxisLeft": {
"zero": true
}
}
},
{
"id": "39604305",
"title": "Thread Count by State",
"layout": {
"column": 1,
"row": 10,
"width": 6,
"height": 3
},
"linkedEntityGuids": null,
"visualization": {
"id": "viz.area"
},
"rawConfiguration": {
"facet": {
"showOtherSeries": false
},
"legend": {
"enabled": true
},
"nrqlQueries": [
{
"accountIds": [
4804616
],
"query": "FROM Metric SELECT latest(jvm.threads.states) WHERE service IN ({{lobster_installations}}) AND state IS NOT NULL FACET state TIMESERIES AUTO"
}
],
"platformOptions": {
"ignoreTimeRange": false
},
"yAxisLeft": {
"zero": true
}
}
},
{
"id": "39604306",
"title": "Total Live Threads",
"layout": {
"column": 7,
"row": 10,
"width": 6,
"height": 3
},
"linkedEntityGuids": null,
"visualization": {
"id": "viz.line"
},
"rawConfiguration": {
"facet": {
"showOtherSeries": false
},
"legend": {
"enabled": true
},
"nrqlQueries": [
{
"accountIds": [
4804616
],
"query": "FROM Metric SELECT latest(jvm.threads.live) AS 'Live Threads' WHERE service IN ({{lobster_installations}}) TIMESERIES AUTO"
}
],
"platformOptions": {
"ignoreTimeRange": false
},
"yAxisLeft": {
"zero": true
}
}
},
{
"id": "39604307",
"title": "Memory Usage by Pool (Current)",
"layout": {
"column": 1,
"row": 13,
"width": 4,
"height": 3
},
"linkedEntityGuids": null,
"visualization": {
"id": "viz.bar"
},
"rawConfiguration": {
"facet": {
"showOtherSeries": false
},
"nrqlQueries": [
{
"accountIds": [
4804616
],
"query": "FROM Metric SELECT latest(jvm.memory.used) / 1024 / 1024 AS 'Used MB' WHERE service IN ({{lobster_installations}}) FACET id"
}
],
"platformOptions": {
"ignoreTimeRange": false
}
}
},
{
"id": "39604308",
"title": "Thread States Distribution",
"layout": {
"column": 5,
"row": 13,
"width": 4,
"height": 3
},
"linkedEntityGuids": null,
"visualization": {
"id": "viz.pie"
},
"rawConfiguration": {
"facet": {
"showOtherSeries": true
},
"nrqlQueries": [
{
"accountIds": [
4804616
],
"query": "FROM Metric SELECT latest(jvm.threads.states) WHERE service IN ({{lobster_installations}}) AND state IS NOT NULL FACET state"
}
],
"platformOptions": {
"ignoreTimeRange": false
}
}
},
{
"id": "39604309",
"title": "System Information",
"layout": {
"column": 9,
"row": 13,
"width": 4,
"height": 3
},
"linkedEntityGuids": [],
"visualization": {
"id": "viz.billboard"
},
"rawConfiguration": {
"facet": {
"showOtherSeries": false
},
"nrqlQueries": [
{
"accountIds": [
4804616
],
"query": "FROM Metric SELECT latest(system.cpu.count) AS 'CPU Cores', latest(environment) AS 'Environment', latest(version) AS 'LDP Version' WHERE service IN ({{lobster_installations}})"
}
],
"platformOptions": {
"ignoreTimeRange": false
}
}
},
{
"id": "39604310",
"title": "Job Processing Rate",
"layout": {
"column": 1,
"row": 16,
"width": 6,
"height": 3
},
"linkedEntityGuids": null,
"visualization": {
"id": "viz.line"
},
"rawConfiguration": {
"facet": {
"showOtherSeries": false
},
"legend": {
"enabled": true
},
"nrqlQueries": [
{
"accountIds": [
4804616
],
"query": "FROM Metric SELECT rate(sum(ldp.jobs.active), 1 minute) AS 'Active Jobs/min', rate(sum(ldp.jobs.queued), 1 minute) AS 'Queued Jobs/min' WHERE service IN ({{lobster_installations}}) TIMESERIES AUTO"
}
],
"platformOptions": {
"ignoreTimeRange": false
},
"yAxisLeft": {
"zero": true
}
}
},
{
"id": "39604311",
"title": "Memory Utilization Percentage",
"layout": {
"column": 7,
"row": 16,
"width": 6,
"height": 3
},
"linkedEntityGuids": null,
"visualization": {
"id": "viz.line"
},
"rawConfiguration": {
"facet": {
"showOtherSeries": false
},
"legend": {
"enabled": true
},
"nrqlQueries": [
{
"accountIds": [
4804616
],
"query": "FROM Metric SELECT (sum(jvm.memory.used) / filter(sum(jvm.memory.max), WHERE jvm.memory.max > 0)) * 100 AS 'Heap Used %' WHERE service IN ({{lobster_installations}}) AND area = 'heap' TIMESERIES AUTO"
}
],
"platformOptions": {
"ignoreTimeRange": false
},
"yAxisLeft": {
"max": 100,
"zero": true
}
}
}
]
},
{
"guid": "NDgwNDYxNnxWSVp8REFTSEJPQVJEfDI4MDQwMDM",
"name": "JVM Deep Dive",
"description": "Detailed JVM metrics and analysis",
"widgets": [
{
"id": "39604312",
"title": "Heap Memory Pools - Detailed View",
"layout": {
"column": 1,
"row": 1,
"width": 12,
"height": 3
},
"linkedEntityGuids": null,
"visualization": {
"id": "viz.line"
},
"rawConfiguration": {
"facet": {
"showOtherSeries": false
},
"legend": {
"enabled": true
},
"nrqlQueries": [
{
"accountIds": [
4804616
],
"query": "FROM Metric SELECT average(jvm.memory.used) / 1024 / 1024 AS 'Used MB', average(jvm.memory.committed) / 1024 / 1024 AS 'Committed MB' WHERE service IN ({{lobster_installations}}) AND area = 'heap' FACET id TIMESERIES AUTO"
}
],
"platformOptions": {
"ignoreTimeRange": false
},
"yAxisLeft": {
"zero": true
}
}
},
{
"id": "39604313",
"title": "Eden Space vs Survivor Space",
"layout": {
"column": 1,
"row": 4,
"width": 6,
"height": 3
},
"linkedEntityGuids": [],
"visualization": {
"id": "viz.area"
},
"rawConfiguration": {
"facet": {
"showOtherSeries": false
},
"legend": {
"enabled": true
},
"markers": {
"displayedTypes": {
"criticalViolations": false,
"deployments": true,
"relatedDeployments": true,
"warningViolations": false
}
},
"nrqlQueries": [
{
"accountIds": [
4804616
],
"query": "FROM Metric SELECT average(jvm.memory.used) / 1024 / 1024 AS 'Used MB' WHERE service IN ({{lobster_installations}}) AND id IN ('G1 Eden Space', 'G1 Survivor Space') FACET id TIMESERIES AUTO"
}
],
"platformOptions": {
"ignoreTimeRange": false
},
"thresholds": {
"isLabelVisible": true
}
}
},
{
"id": "39604314",
"title": "Old Generation (Tenured Gen) Memory",
"layout": {
"column": 7,
"row": 4,
"width": 6,
"height": 3
},
"linkedEntityGuids": [],
"visualization": {
"id": "viz.area"
},
"rawConfiguration": {
"facet": {
"showOtherSeries": false
},
"legend": {
"enabled": true
},
"markers": {
"displayedTypes": {
"criticalViolations": false,
"deployments": true,
"relatedDeployments": true,
"warningViolations": false
}
},
"nrqlQueries": [
{
"accountIds": [
4804616
],
"query": "FROM Metric SELECT average(jvm.memory.used) / 1024 / 1024 AS 'Used MB', average(jvm.memory.committed) / 1024 / 1024 AS 'Committed MB' WHERE service IN ({{lobster_installations}}) TIMESERIES AUTO FACET id"
}
],
"platformOptions": {
"ignoreTimeRange": false
},
"thresholds": {
"isLabelVisible": true
}
}
},
{
"id": "39604315",
"title": "Metaspace Usage",
"layout": {
"column": 1,
"row": 7,
"width": 4,
"height": 3
},
"linkedEntityGuids": null,
"visualization": {
"id": "viz.line"
},
"rawConfiguration": {
"facet": {
"showOtherSeries": false
},
"legend": {
"enabled": true
},
"nrqlQueries": [
{
"accountIds": [
4804616
],
"query": "FROM Metric SELECT average(jvm.memory.used) / 1024 / 1024 AS 'Used MB', average(jvm.memory.committed) / 1024 / 1024 AS 'Committed MB' WHERE service IN ({{lobster_installations}}) AND id = 'Metaspace' TIMESERIES AUTO"
}
],
"platformOptions": {
"ignoreTimeRange": false
},
"yAxisLeft": {
"zero": true
}
}
},
{
"id": "39604316",
"title": "Code Heap Usage",
"layout": {
"column": 5,
"row": 7,
"width": 8,
"height": 3
},
"linkedEntityGuids": null,
"visualization": {
"id": "viz.line"
},
"rawConfiguration": {
"facet": {
"showOtherSeries": false
},
"legend": {
"enabled": true
},
"nrqlQueries": [
{
"accountIds": [
4804616
],
"query": "FROM Metric SELECT average(jvm.memory.used) / 1024 / 1024 AS 'Used MB' WHERE service IN ({{lobster_installations}}) AND id LIKE 'CodeHeap%' FACET id TIMESERIES AUTO"
}
],
"platformOptions": {
"ignoreTimeRange": false
},
"yAxisLeft": {
"zero": true
}
}
},
{
"id": "39604317",
"title": "Thread State Timeline",
"layout": {
"column": 1,
"row": 10,
"width": 12,
"height": 3
},
"linkedEntityGuids": null,
"visualization": {
"id": "viz.area"
},
"rawConfiguration": {
"facet": {
"showOtherSeries": false
},
"legend": {
"enabled": true
},
"nrqlQueries": [
{
"accountIds": [
4804616
],
"query": "FROM Metric SELECT latest(jvm.threads.states) WHERE service IN ({{lobster_installations}}) AND state IN ('runnable', 'waiting', 'timed-waiting', 'blocked') FACET state TIMESERIES AUTO"
}
],
"platformOptions": {
"ignoreTimeRange": false
},
"yAxisLeft": {
"zero": true
}
}
},
{
"id": "39604318",
"title": "GC Efficiency (Live Data vs Total Heap)",
"layout": {
"column": 1,
"row": 13,
"width": 6,
"height": 3
},
"linkedEntityGuids": null,
"visualization": {
"id": "viz.line"
},
"rawConfiguration": {
"facet": {
"showOtherSeries": false
},
"legend": {
"enabled": true
},
"nrqlQueries": [
{
"accountIds": [
4804616
],
"query": "FROM Metric SELECT (average(jvm.gc.live.data.size) / filter(sum(jvm.memory.used), WHERE area = 'heap')) * 100 AS 'Live Data % of Heap' WHERE service IN ({{lobster_installations}}) TIMESERIES AUTO"
}
],
"platformOptions": {
"ignoreTimeRange": false
},
"yAxisLeft": {
"max": 100,
"zero": true
}
}
},
{
"id": "39604319",
"title": "Memory Pressure Indicator",
"layout": {
"column": 7,
"row": 13,
"width": 6,
"height": 3
},
"linkedEntityGuids": null,
"visualization": {
"id": "viz.billboard"
},
"rawConfiguration": {
"facet": {
"showOtherSeries": false
},
"nrqlQueries": [
{
"accountIds": [
4804616
],
"query": "FROM Metric SELECT (sum(jvm.memory.used) / filter(sum(jvm.memory.committed), WHERE jvm.memory.committed > 0)) * 100 AS 'Heap Utilization %' WHERE service IN ({{lobster_installations}}) AND area = 'heap'"
}
],
"platformOptions": {
"ignoreTimeRange": false
},
"thresholds": [
{
"alertSeverity": "CRITICAL",
"value": 90
},
{
"alertSeverity": "WARNING",
"value": 75
}
]
}
}
]
},
{
"guid": "NDgwNDYxNnxWSVp8REFTSEJPQVJEfDI4MDQwMDQ",
"name": "Application Performance",
"description": "Application-specific metrics and job processing",
"widgets": [
{
"id": "39604320",
"title": "Job Queue Health",
"layout": {
"column": 1,
"row": 1,
"width": 4,
"height": 3
},
"linkedEntityGuids": null,
"visualization": {
"id": "viz.billboard"
},
"rawConfiguration": {
"facet": {
"showOtherSeries": false
},
"nrqlQueries": [
{
"accountIds": [
4804616
],
"query": "FROM Metric SELECT latest(ldp.jobs.active) AS 'Active', latest(ldp.jobs.queued) AS 'Queued', (latest(ldp.jobs.queued) / (latest(ldp.jobs.active) + latest(ldp.jobs.queued))) * 100 AS 'Queue %' WHERE service IN ({{lobster_installations}})"
}
],
"platformOptions": {
"ignoreTimeRange": false
},
"thresholds": [
{
"alertSeverity": "CRITICAL",
"value": 80
},
{
"alertSeverity": "WARNING",
"value": 50
}
]
}
},
{
"id": "39604321",
"title": "Active vs Queued Jobs Trend",
"layout": {
"column": 5,
"row": 1,
"width": 8,
"height": 3
},
"linkedEntityGuids": [],
"visualization": {
"id": "viz.area"
},
"rawConfiguration": {
"facet": {
"showOtherSeries": false
},
"legend": {
"enabled": true
},
"markers": {
"displayedTypes": {
"criticalViolations": false,
"deployments": true,
"relatedDeployments": true,
"warningViolations": false
}
},
"nrqlQueries": [
{
"accountIds": [
4804616
],
"query": "FROM Metric SELECT latest(ldp.jobs.active) AS 'Active Jobs', latest(ldp.jobs.queued) AS 'Queued Jobs' WHERE service IN ({{lobster_installations}}) TIMESERIES AUTO"
}
],
"platformOptions": {
"ignoreTimeRange": false
},
"thresholds": {
"isLabelVisible": true
}
}
},
{
"id": "39604322",
"title": "CPU Usage Correlation with Jobs",
"layout": {
"column": 1,
"row": 4,
"width": 12,
"height": 3
},
"linkedEntityGuids": null,
"visualization": {
"id": "viz.line"
},
"rawConfiguration": {
"facet": {
"showOtherSeries": false
},
"legend": {
"enabled": true
},
"nrqlQueries": [
{
"accountIds": [
4804616
],
"query": "FROM Metric SELECT average(ldp.cpu.usage.percent) AS 'CPU %', latest(ldp.jobs.active) AS 'Active Jobs' WHERE service IN ({{lobster_installations}}) TIMESERIES AUTO"
}
],
"platformOptions": {
"ignoreTimeRange": false
},
"yAxisLeft": {
"zero": true
}
}
},
{
"id": "39604323",
"title": "Job Processing Statistics",
"layout": {
"column": 1,
"row": 7,
"width": 6,
"height": 3
},
"linkedEntityGuids": [],
"visualization": {
"id": "viz.table"
},
"rawConfiguration": {
"facet": {
"showOtherSeries": false
},
"nrqlQueries": [
{
"accountIds": [
4804616
],
"query": "FROM Metric SELECT min(ldp.jobs.active) AS 'Min Active', max(ldp.jobs.active) AS 'Max Active', average(ldp.jobs.active) AS 'Avg Active', min(ldp.jobs.queued) AS 'Min Queued', max(ldp.jobs.queued) AS 'Max Queued', average(ldp.jobs.queued) AS 'Avg Queued' WHERE service IN ({{lobster_installations}}) FACET service"
}
],
"platformOptions": {
"ignoreTimeRange": false
}
}
},
{
"id": "39604324",
"title": "System Resource Utilization",
"layout": {
"column": 7,
"row": 7,
"width": 6,
"height": 3
},
"linkedEntityGuids": null,
"visualization": {
"id": "viz.line"
},
"rawConfiguration": {
"facet": {
"showOtherSeries": false
},
"legend": {
"enabled": true
},
"nrqlQueries": [
{
"accountIds": [
4804616
],
"query": "FROM Metric SELECT average(ldp.cpu.usage.percent) AS 'CPU %', (sum(jvm.memory.used) / filter(sum(jvm.memory.committed), WHERE jvm.memory.committed > 0)) * 100 AS 'Memory %' WHERE service IN ({{lobster_installations}}) TIMESERIES AUTO"
}
],
"platformOptions": {
"ignoreTimeRange": false
},
"yAxisLeft": {
"max": 100,
"zero": true
}
}
},
{
"id": "39604325",
"title": "Job Queue Backlog Duration",
"layout": {
"column": 1,
"row": 10,
"width": 12,
"height": 3
},
"linkedEntityGuids": null,
"visualization": {
"id": "viz.line"
},
"rawConfiguration": {
"facet": {
"showOtherSeries": false
},
"legend": {
"enabled": true
},
"nrqlQueries": [
{
"accountIds": [
4804616
],
"query": "FROM Metric SELECT latest(ldp.jobs.queued) / (latest(ldp.jobs.active) + 0.001) AS 'Queue to Active Ratio' WHERE service IN ({{lobster_installations}}) TIMESERIES AUTO"
}
],
"platformOptions": {
"ignoreTimeRange": false
},
"yAxisLeft": {
"zero": true
}
}
}
]
}
],
"variables": [
{
"name": "lobster_installations",
"items": null,
"defaultValues": [
{
"value": {
"string": "*"
}
}
],
"nrqlQuery": {
"accountIds": [
4804616
],
"query": "FROM Metric SELECT uniques(service) WHERE metricName LIKE 'jvm.%' OR metricName LIKE 'ldp.%'"
},
"options": {
"ignoreTimeRange": true,
"excluded": false,
"showApplyAction": true
},
"title": "Service",
"type": "NRQL",
"isMultiSelection": true,
"replacementStrategy": "STRING"
}
]
}