Created
June 8, 2022 12:16
-
-
Save nomaster/49fac02d6b0252ba3e0fd927f664458d to your computer and use it in GitHub Desktop.
Azure Application Insights dashboard for Grafana
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"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": 0, | |
"id": 71, | |
"iteration": 1654689917156, | |
"links": [], | |
"liveNow": false, | |
"panels": [ | |
{ | |
"datasource": { | |
"type": "grafana-azure-monitor-datasource", | |
"uid": "P1EB995EACC6832D3" | |
}, | |
"fieldConfig": { | |
"defaults": { | |
"color": { | |
"mode": "palette-classic" | |
}, | |
"custom": { | |
"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" | |
} | |
}, | |
"decimals": 0, | |
"mappings": [], | |
"min": 0, | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "green", | |
"value": null | |
}, | |
{ | |
"color": "red", | |
"value": 80 | |
} | |
] | |
} | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 8, | |
"w": 12, | |
"x": 0, | |
"y": 0 | |
}, | |
"id": 1, | |
"options": { | |
"legend": { | |
"calcs": [], | |
"displayMode": "list", | |
"placement": "bottom" | |
}, | |
"tooltip": { | |
"mode": "single", | |
"sort": "none" | |
} | |
}, | |
"targets": [ | |
{ | |
"azureMonitor": { | |
"aggregation": "Average", | |
"allowedTimeGrainsMs": [ | |
60000, | |
300000, | |
900000, | |
1800000, | |
3600000, | |
21600000, | |
43200000, | |
86400000 | |
], | |
"dimensionFilters": [], | |
"metricDefinition": "Microsoft.Insights/components", | |
"metricName": "Current Thread Count", | |
"metricNamespace": "Azure.ApplicationInsights", | |
"resourceGroup": "$resourcegroup", | |
"resourceName": "$resourcename", | |
"timeGrain": "auto" | |
}, | |
"datasource": { | |
"type": "grafana-azure-monitor-datasource", | |
"uid": "P1EB995EACC6832D3" | |
}, | |
"key": "Q-cad5fbe2-5d78-4dd0-9dfb-98a154278b63-0", | |
"queryType": "Azure Monitor", | |
"refId": "A", | |
"subscription": "$subscription" | |
} | |
], | |
"title": "thread count", | |
"type": "timeseries" | |
}, | |
{ | |
"datasource": { | |
"type": "grafana-azure-monitor-datasource", | |
"uid": "P1EB995EACC6832D3" | |
}, | |
"description": "", | |
"fieldConfig": { | |
"defaults": { | |
"color": { | |
"mode": "palette-classic" | |
}, | |
"custom": { | |
"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 | |
} | |
] | |
}, | |
"unit": "short" | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 8, | |
"w": 12, | |
"x": 12, | |
"y": 0 | |
}, | |
"id": 4, | |
"options": { | |
"legend": { | |
"calcs": [], | |
"displayMode": "list", | |
"placement": "bottom" | |
}, | |
"tooltip": { | |
"mode": "single", | |
"sort": "none" | |
} | |
}, | |
"targets": [ | |
{ | |
"azureMonitor": { | |
"aggregation": "Average", | |
"allowedTimeGrainsMs": [ | |
60000, | |
300000, | |
900000, | |
1800000, | |
3600000, | |
21600000, | |
43200000, | |
86400000 | |
], | |
"dimensionFilters": [], | |
"metricDefinition": "Microsoft.Insights/components", | |
"metricName": "Loaded Class Count", | |
"metricNamespace": "Azure.ApplicationInsights", | |
"resourceGroup": "$resourcegroup", | |
"resourceName": "$resourcename", | |
"timeGrain": "auto" | |
}, | |
"datasource": { | |
"type": "grafana-azure-monitor-datasource", | |
"uid": "P1EB995EACC6832D3" | |
}, | |
"key": "Q-cad5fbe2-5d78-4dd0-9dfb-98a154278b63-0", | |
"queryType": "Azure Monitor", | |
"refId": "A", | |
"subscription": "$subscription" | |
} | |
], | |
"title": "loaded class count", | |
"type": "timeseries" | |
}, | |
{ | |
"datasource": { | |
"type": "grafana-azure-monitor-datasource", | |
"uid": "P1EB995EACC6832D3" | |
}, | |
"fieldConfig": { | |
"defaults": { | |
"color": { | |
"mode": "palette-classic" | |
}, | |
"custom": { | |
"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": [], | |
"max": 100, | |
"min": 0, | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "green", | |
"value": null | |
}, | |
{ | |
"color": "red", | |
"value": 80 | |
} | |
] | |
}, | |
"unit": "percent" | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 8, | |
"w": 12, | |
"x": 0, | |
"y": 8 | |
}, | |
"id": 2, | |
"options": { | |
"legend": { | |
"calcs": [], | |
"displayMode": "list", | |
"placement": "bottom" | |
}, | |
"tooltip": { | |
"mode": "single", | |
"sort": "none" | |
} | |
}, | |
"targets": [ | |
{ | |
"azureMonitor": { | |
"aggregation": "Average", | |
"allowedTimeGrainsMs": [ | |
60000, | |
300000, | |
900000, | |
1800000, | |
3600000, | |
21600000, | |
43200000, | |
86400000 | |
], | |
"dimensionFilters": [], | |
"metricDefinition": "Microsoft.Insights/components", | |
"metricName": "% Of Max Heap Memory Used", | |
"metricNamespace": "Azure.ApplicationInsights", | |
"resourceGroup": "$resourcegroup", | |
"resourceName": "$resourcename", | |
"timeGrain": "auto" | |
}, | |
"datasource": { | |
"type": "grafana-azure-monitor-datasource", | |
"uid": "P1EB995EACC6832D3" | |
}, | |
"key": "Q-cad5fbe2-5d78-4dd0-9dfb-98a154278b63-0", | |
"queryType": "Azure Monitor", | |
"refId": "A", | |
"subscription": "$subscription" | |
} | |
], | |
"title": "memory usage", | |
"type": "timeseries" | |
}, | |
{ | |
"datasource": { | |
"type": "grafana-azure-monitor-datasource", | |
"uid": "P1EB995EACC6832D3" | |
}, | |
"description": "", | |
"fieldConfig": { | |
"defaults": { | |
"color": { | |
"mode": "palette-classic" | |
}, | |
"custom": { | |
"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 | |
} | |
] | |
}, | |
"unit": "ms" | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 8, | |
"w": 12, | |
"x": 12, | |
"y": 8 | |
}, | |
"id": 3, | |
"options": { | |
"legend": { | |
"calcs": [], | |
"displayMode": "list", | |
"placement": "bottom" | |
}, | |
"tooltip": { | |
"mode": "single", | |
"sort": "none" | |
} | |
}, | |
"targets": [ | |
{ | |
"azureMonitor": { | |
"aggregation": "Average", | |
"allowedTimeGrainsMs": [ | |
60000, | |
300000, | |
900000, | |
1800000, | |
3600000, | |
21600000, | |
43200000, | |
86400000 | |
], | |
"dimensionFilters": [], | |
"metricDefinition": "Microsoft.Insights/components", | |
"metricName": "GC Total Time", | |
"metricNamespace": "Azure.ApplicationInsights", | |
"resourceGroup": "$resourcegroup", | |
"resourceName": "$resourcename", | |
"timeGrain": "auto" | |
}, | |
"datasource": { | |
"type": "grafana-azure-monitor-datasource", | |
"uid": "P1EB995EACC6832D3" | |
}, | |
"key": "Q-cad5fbe2-5d78-4dd0-9dfb-98a154278b63-0", | |
"queryType": "Azure Monitor", | |
"refId": "A", | |
"subscription": "$subscription" | |
} | |
], | |
"title": "garbage collector total time", | |
"type": "timeseries" | |
} | |
], | |
"schemaVersion": 36, | |
"style": "dark", | |
"tags": [], | |
"templating": { | |
"list": [ | |
{ | |
"current": { | |
"selected": false, | |
"text": "Production", | |
"value": "7c96f4fd-df1b-4ca5-976c-310a889b4969" | |
}, | |
"datasource": { | |
"type": "grafana-azure-monitor-datasource", | |
"uid": "P1EB995EACC6832D3" | |
}, | |
"definition": "", | |
"hide": 0, | |
"includeAll": false, | |
"label": "Subscription", | |
"multi": false, | |
"name": "subscription", | |
"options": [], | |
"query": { | |
"grafanaTemplateVariableFn": { | |
"kind": "SubscriptionsQuery", | |
"rawQuery": "Subscriptions()" | |
}, | |
"queryType": "Grafana Template Variable Function", | |
"refId": "A" | |
}, | |
"refresh": 1, | |
"regex": "", | |
"skipUrlSync": false, | |
"sort": 0, | |
"type": "query" | |
}, | |
{ | |
"current": { | |
"selected": false, | |
"text": "rg-appinsights-atlas-impost-server-zert-staging", | |
"value": "rg-appinsights-atlas-impost-server-zert-staging" | |
}, | |
"datasource": { | |
"type": "grafana-azure-monitor-datasource", | |
"uid": "P1EB995EACC6832D3" | |
}, | |
"definition": "", | |
"hide": 0, | |
"includeAll": false, | |
"label": "Resource Group", | |
"multi": false, | |
"name": "resourcegroup", | |
"options": [], | |
"query": { | |
"grafanaTemplateVariableFn": { | |
"kind": "ResourceGroupsQuery", | |
"rawQuery": "resourcegroups($subscription)", | |
"subscription": "$subscription" | |
}, | |
"queryType": "Grafana Template Variable Function", | |
"refId": "A" | |
}, | |
"refresh": 1, | |
"regex": "", | |
"skipUrlSync": false, | |
"sort": 5, | |
"type": "query" | |
}, | |
{ | |
"current": { | |
"selected": true, | |
"text": "Application Insights", | |
"value": "Microsoft.Insights/components" | |
}, | |
"datasource": { | |
"type": "grafana-azure-monitor-datasource", | |
"uid": "P1EB995EACC6832D3" | |
}, | |
"definition": "", | |
"hide": 0, | |
"includeAll": false, | |
"label": "Namespace", | |
"multi": false, | |
"name": "namespace", | |
"options": [], | |
"query": { | |
"grafanaTemplateVariableFn": { | |
"kind": "MetricDefinitionsQuery", | |
"rawQuery": "Namespaces($subscription, $resourcegroup)", | |
"resourceGroup": "$resourcegroup", | |
"subscription": "$subscription" | |
}, | |
"queryType": "Grafana Template Variable Function", | |
"refId": "A" | |
}, | |
"refresh": 1, | |
"regex": "", | |
"skipUrlSync": false, | |
"sort": 1, | |
"type": "query" | |
}, | |
{ | |
"current": { | |
"selected": false, | |
"text": "apis-atlas-impost-server-zert-staging", | |
"value": "apis-atlas-impost-server-zert-staging" | |
}, | |
"datasource": { | |
"type": "grafana-azure-monitor-datasource", | |
"uid": "P1EB995EACC6832D3" | |
}, | |
"definition": "", | |
"hide": 0, | |
"includeAll": false, | |
"label": "Resource Name", | |
"multi": false, | |
"name": "resourcename", | |
"options": [], | |
"query": { | |
"grafanaTemplateVariableFn": { | |
"kind": "ResourceNamesQuery", | |
"metricDefinition": "$namespace", | |
"rawQuery": "ResourceNames($subscription, $resourcegroup, $namespace)", | |
"resourceGroup": "$resourcegroup", | |
"subscription": "$subscription" | |
}, | |
"queryType": "Grafana Template Variable Function", | |
"refId": "A" | |
}, | |
"refresh": 1, | |
"regex": "", | |
"skipUrlSync": false, | |
"sort": 0, | |
"type": "query" | |
} | |
] | |
}, | |
"time": { | |
"from": "now-12h", | |
"to": "now" | |
}, | |
"timepicker": {}, | |
"timezone": "", | |
"title": "Application Insights", | |
"uid": "FxJ4NMjnz", | |
"version": 7, | |
"weekStart": "" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment