Grafana dashboard: Azure Logic Apps
Description: Monitor the executions of your Azure Logic Apps

## Description
Simple dashboard that allows you to monitor the execution of you Logic Apps in Azure. It gives an overview of the execution durations and results

## Metrics
- Number of executions and different exit states
- Graph of failed runs, along with alerts for any given threshold
- Stats related to run durations, with a table view to see the individual runs.

{
  "__inputs": [
    {
      "name": "DS_AZURE_MONITOR",
      "label": "Azure Monitor",
      "description": "",
      "type": "datasource",
      "pluginId": "grafana-azure-monitor-datasource",
      "pluginName": "Azure Monitor"
    }
  ],
  "__requires": [
    {
      "type": "panel",
      "id": "gauge",
      "name": "Gauge",
      "version": ""
    },
    {
      "type": "grafana",
      "id": "grafana",
      "name": "Grafana",
      "version": "7.4.2"
    },
    {
      "type": "datasource",
      "id": "grafana-azure-monitor-datasource",
      "name": "Azure Monitor",
      "version": "0.3.0"
    },
    {
      "type": "panel",
      "id": "graph",
      "name": "Graph",
      "version": ""
    },
    {
      "type": "panel",
      "id": "stat",
      "name": "Stat",
      "version": ""
    },
    {
      "type": "panel",
      "id": "table",
      "name": "Table",
      "version": ""
    },
    {
      "type": "panel",
      "id": "timeseries",
      "name": "Time series",
      "version": ""
    }
  ],
  "annotations": {
    "list": [
      {
        "builtIn": 1,
        "datasource": "-- Grafana --",
        "enable": true,
        "hide": true,
        "iconColor": "rgba(0, 211, 255, 1)",
        "name": "Annotations & Alerts",
        "type": "dashboard"
      }
    ]
  },
  "editable": true,
  "gnetId": 14111,
  "graphTooltip": 0,
  "id": null,
  "iteration": 1616418916981,
  "links": [],
  "panels": [
    {
      "datasource": "${DS_AZURE_MONITOR}",
      "fieldConfig": {
        "defaults": {
          "color": {
            "fixedColor": "green",
            "mode": "fixed"
          },
          "custom": {},
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              }
            ]
          },
          "unit": "s"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 5,
        "w": 8,
        "x": 0,
        "y": 0
      },
      "id": 71,
      "options": {
        "colorMode": "background",
        "graphMode": "area",
        "justifyMode": "auto",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "text": {},
        "textMode": "auto"
      },
      "pluginVersion": "7.4.2",
      "targets": [
        {
          "appInsights": {
            "dimension": [],
            "metricName": "select",
            "timeGrain": "auto"
          },
          "azureLogAnalytics": {
            "query": "//change this example to create your own time series query\n<table name>                                                              //the table to query (e.g. Usage, Heartbeat, Perf)\n| where $__timeFilter(TimeGenerated)                                      //this is a macro used to show the full chart’s time range, choose the datetime column here\n| summarize count() by <group by column>, bin(TimeGenerated, $__interval) //change “group by column” to a column in your table, such as “Computer”. The $__interval macro is used to auto-select the time grain. Can also use 1h, 5m etc.\n| order by TimeGenerated asc",
            "resultFormat": "time_series",
            "workspace": "207e14be-2664-4514-a054-cf0ecb3a2cfe"
          },
          "azureMonitor": {
            "aggOptions": [
              "None",
              "Average",
              "Minimum",
              "Maximum",
              "Total",
              "Count"
            ],
            "aggregation": "Average",
            "allowedTimeGrainsMs": [
              60000,
              300000,
              900000,
              1800000,
              3600000,
              21600000,
              43200000,
              86400000
            ],
            "dimensionFilter": "*",
            "dimensionFilters": [],
            "dimensions": [],
            "metricDefinition": "Microsoft.Logic/workflows",
            "metricName": "RunLatency",
            "metricNamespace": "Microsoft.Logic/workflows",
            "resourceGroup": "$ResourceGroup",
            "resourceName": "$LogicApp",
            "timeGrain": "auto",
            "timeGrains": [
              {
                "$$hashKey": "object:83",
                "text": "auto",
                "value": "auto"
              },
              {
                "$$hashKey": "object:84",
                "text": "1 minute",
                "value": "PT1M"
              },
              {
                "$$hashKey": "object:85",
                "text": "5 minutes",
                "value": "PT5M"
              },
              {
                "$$hashKey": "object:86",
                "text": "15 minutes",
                "value": "PT15M"
              },
              {
                "$$hashKey": "object:87",
                "text": "30 minutes",
                "value": "PT30M"
              },
              {
                "$$hashKey": "object:88",
                "text": "1 hour",
                "value": "PT1H"
              },
              {
                "$$hashKey": "object:89",
                "text": "6 hours",
                "value": "PT6H"
              },
              {
                "$$hashKey": "object:90",
                "text": "12 hours",
                "value": "PT12H"
              },
              {
                "$$hashKey": "object:91",
                "text": "1 day",
                "value": "P1D"
              }
            ],
            "top": "1000"
          },
          "insightsAnalytics": {
            "query": "",
            "resultFormat": "time_series"
          },
          "queryType": "Azure Monitor",
          "refId": "A",
          "subscription": "$Subscription"
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "Mean Duration ($LogicApp)",
      "transformations": [
        {
          "id": "filterByValue",
          "options": {
            "filters": [
              {
                "config": {
                  "id": "isNull",
                  "options": {}
                },
                "fieldName": "Run Latency"
              }
            ],
            "match": "all",
            "type": "exclude"
          }
        },
        {
          "id": "reduce",
          "options": {
            "reducers": [
              "mean"
            ]
          }
        }
      ],
      "type": "stat"
    },
    {
      "datasource": "${DS_AZURE_MONITOR}",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "custom": {
            "axisLabel": "",
            "axisPlacement": "auto",
            "barAlignment": 0,
            "drawStyle": "line",
            "fillOpacity": 12,
            "gradientMode": "none",
            "hideFrom": {
              "graph": false,
              "legend": false,
              "tooltip": false
            },
            "lineInterpolation": "smooth",
            "lineWidth": 1,
            "pointSize": 5,
            "scaleDistribution": {
              "type": "linear"
            },
            "showPoints": "always",
            "spanNulls": false
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": []
          },
          "unit": "s"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 11,
        "w": 11,
        "x": 8,
        "y": 0
      },
      "id": 70,
      "options": {
        "legend": {
          "calcs": [],
          "displayMode": "list",
          "placement": "bottom"
        },
        "tooltipOptions": {
          "mode": "single"
        }
      },
      "pluginVersion": "7.4.2",
      "targets": [
        {
          "appInsights": {
            "dimension": [],
            "metricName": "select",
            "timeGrain": "auto"
          },
          "azureLogAnalytics": {
            "query": "//change this example to create your own time series query\n<table name>                                                              //the table to query (e.g. Usage, Heartbeat, Perf)\n| where $__timeFilter(TimeGenerated)                                      //this is a macro used to show the full chart’s time range, choose the datetime column here\n| summarize count() by <group by column>, bin(TimeGenerated, $__interval) //change “group by column” to a column in your table, such as “Computer”. The $__interval macro is used to auto-select the time grain. Can also use 1h, 5m etc.\n| order by TimeGenerated asc",
            "resultFormat": "time_series",
            "workspace": "207e14be-2664-4514-a054-cf0ecb3a2cfe"
          },
          "azureMonitor": {
            "aggOptions": [
              "None",
              "Average",
              "Minimum",
              "Maximum",
              "Total",
              "Count"
            ],
            "aggregation": "Average",
            "allowedTimeGrainsMs": [
              60000,
              300000,
              900000,
              1800000,
              3600000,
              21600000,
              43200000,
              86400000
            ],
            "dimensionFilter": "*",
            "dimensionFilters": [],
            "dimensions": [],
            "metricDefinition": "Microsoft.Logic/workflows",
            "metricName": "RunLatency",
            "metricNamespace": "Microsoft.Logic/workflows",
            "resourceGroup": "$ResourceGroup",
            "resourceName": "$LogicApp",
            "timeGrain": "auto",
            "timeGrains": [
              {
                "$$hashKey": "object:83",
                "text": "auto",
                "value": "auto"
              },
              {
                "$$hashKey": "object:84",
                "text": "1 minute",
                "value": "PT1M"
              },
              {
                "$$hashKey": "object:85",
                "text": "5 minutes",
                "value": "PT5M"
              },
              {
                "$$hashKey": "object:86",
                "text": "15 minutes",
                "value": "PT15M"
              },
              {
                "$$hashKey": "object:87",
                "text": "30 minutes",
                "value": "PT30M"
              },
              {
                "$$hashKey": "object:88",
                "text": "1 hour",
                "value": "PT1H"
              },
              {
                "$$hashKey": "object:89",
                "text": "6 hours",
                "value": "PT6H"
              },
              {
                "$$hashKey": "object:90",
                "text": "12 hours",
                "value": "PT12H"
              },
              {
                "$$hashKey": "object:91",
                "text": "1 day",
                "value": "P1D"
              }
            ],
            "top": "1000"
          },
          "insightsAnalytics": {
            "query": "",
            "resultFormat": "time_series"
          },
          "queryType": "Azure Monitor",
          "refId": "A",
          "subscription": "$Subscription"
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "Run Duration of  $LogicApp",
      "transformations": [
        {
          "id": "filterByValue",
          "options": {
            "filters": [
              {
                "config": {
                  "id": "isNull",
                  "options": {}
                },
                "fieldName": "Run Latency"
              }
            ],
            "match": "all",
            "type": "exclude"
          }
        },
        {
          "id": "organize",
          "options": {
            "excludeByName": {},
            "indexByName": {},
            "renameByName": {
              "": "Date"
            }
          }
        }
      ],
      "type": "timeseries"
    },
    {
      "datasource": "${DS_AZURE_MONITOR}",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "custom": {
            "align": null,
            "filterable": false
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": []
          },
          "unit": "s"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 11,
        "w": 5,
        "x": 19,
        "y": 0
      },
      "id": 60,
      "options": {
        "showHeader": true,
        "sortBy": [
          {
            "desc": true,
            "displayName": "Date"
          }
        ]
      },
      "pluginVersion": "7.4.2",
      "targets": [
        {
          "appInsights": {
            "dimension": [],
            "metricName": "select",
            "timeGrain": "auto"
          },
          "azureLogAnalytics": {
            "query": "//change this example to create your own time series query\n<table name>                                                              //the table to query (e.g. Usage, Heartbeat, Perf)\n| where $__timeFilter(TimeGenerated)                                      //this is a macro used to show the full chart’s time range, choose the datetime column here\n| summarize count() by <group by column>, bin(TimeGenerated, $__interval) //change “group by column” to a column in your table, such as “Computer”. The $__interval macro is used to auto-select the time grain. Can also use 1h, 5m etc.\n| order by TimeGenerated asc",
            "resultFormat": "time_series",
            "workspace": "207e14be-2664-4514-a054-cf0ecb3a2cfe"
          },
          "azureMonitor": {
            "aggOptions": [
              "None",
              "Average",
              "Minimum",
              "Maximum",
              "Total",
              "Count"
            ],
            "aggregation": "Average",
            "allowedTimeGrainsMs": [
              60000,
              300000,
              900000,
              1800000,
              3600000,
              21600000,
              43200000,
              86400000
            ],
            "dimensionFilter": "*",
            "dimensionFilters": [],
            "dimensions": [],
            "metricDefinition": "Microsoft.Logic/workflows",
            "metricName": "RunLatency",
            "metricNamespace": "Microsoft.Logic/workflows",
            "resourceGroup": "$ResourceGroup",
            "resourceName": "$LogicApp",
            "timeGrain": "auto",
            "timeGrains": [
              {
                "$$hashKey": "object:83",
                "text": "auto",
                "value": "auto"
              },
              {
                "$$hashKey": "object:84",
                "text": "1 minute",
                "value": "PT1M"
              },
              {
                "$$hashKey": "object:85",
                "text": "5 minutes",
                "value": "PT5M"
              },
              {
                "$$hashKey": "object:86",
                "text": "15 minutes",
                "value": "PT15M"
              },
              {
                "$$hashKey": "object:87",
                "text": "30 minutes",
                "value": "PT30M"
              },
              {
                "$$hashKey": "object:88",
                "text": "1 hour",
                "value": "PT1H"
              },
              {
                "$$hashKey": "object:89",
                "text": "6 hours",
                "value": "PT6H"
              },
              {
                "$$hashKey": "object:90",
                "text": "12 hours",
                "value": "PT12H"
              },
              {
                "$$hashKey": "object:91",
                "text": "1 day",
                "value": "P1D"
              }
            ],
            "top": "1000"
          },
          "insightsAnalytics": {
            "query": "",
            "resultFormat": "time_series"
          },
          "queryType": "Azure Monitor",
          "refId": "A",
          "subscription": "$Subscription"
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "Run Duration of  $LogicApp",
      "transformations": [
        {
          "id": "filterByValue",
          "options": {
            "filters": [
              {
                "config": {
                  "id": "isNull",
                  "options": {}
                },
                "fieldName": "Run Latency"
              }
            ],
            "match": "all",
            "type": "exclude"
          }
        },
        {
          "id": "organize",
          "options": {
            "excludeByName": {},
            "indexByName": {},
            "renameByName": {
              "": "Date"
            }
          }
        }
      ],
      "type": "table"
    },
    {
      "datasource": "${DS_AZURE_MONITOR}",
      "fieldConfig": {
        "defaults": {
          "color": {
            "fixedColor": "blue",
            "mode": "fixed"
          },
          "custom": {},
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": []
          },
          "unit": "s"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 6,
        "w": 4,
        "x": 0,
        "y": 5
      },
      "id": 73,
      "options": {
        "colorMode": "background",
        "graphMode": "area",
        "justifyMode": "auto",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "text": {},
        "textMode": "auto"
      },
      "pluginVersion": "7.4.2",
      "targets": [
        {
          "appInsights": {
            "dimension": [],
            "metricName": "select",
            "timeGrain": "auto"
          },
          "azureLogAnalytics": {
            "query": "//change this example to create your own time series query\n<table name>                                                              //the table to query (e.g. Usage, Heartbeat, Perf)\n| where $__timeFilter(TimeGenerated)                                      //this is a macro used to show the full chart’s time range, choose the datetime column here\n| summarize count() by <group by column>, bin(TimeGenerated, $__interval) //change “group by column” to a column in your table, such as “Computer”. The $__interval macro is used to auto-select the time grain. Can also use 1h, 5m etc.\n| order by TimeGenerated asc",
            "resultFormat": "time_series",
            "workspace": "207e14be-2664-4514-a054-cf0ecb3a2cfe"
          },
          "azureMonitor": {
            "aggOptions": [
              "None",
              "Average",
              "Minimum",
              "Maximum",
              "Total",
              "Count"
            ],
            "aggregation": "Average",
            "allowedTimeGrainsMs": [
              60000,
              300000,
              900000,
              1800000,
              3600000,
              21600000,
              43200000,
              86400000
            ],
            "dimensionFilter": "*",
            "dimensionFilters": [],
            "dimensions": [],
            "metricDefinition": "Microsoft.Logic/workflows",
            "metricName": "RunLatency",
            "metricNamespace": "Microsoft.Logic/workflows",
            "resourceGroup": "$ResourceGroup",
            "resourceName": "$LogicApp",
            "timeGrain": "auto",
            "timeGrains": [
              {
                "$$hashKey": "object:83",
                "text": "auto",
                "value": "auto"
              },
              {
                "$$hashKey": "object:84",
                "text": "1 minute",
                "value": "PT1M"
              },
              {
                "$$hashKey": "object:85",
                "text": "5 minutes",
                "value": "PT5M"
              },
              {
                "$$hashKey": "object:86",
                "text": "15 minutes",
                "value": "PT15M"
              },
              {
                "$$hashKey": "object:87",
                "text": "30 minutes",
                "value": "PT30M"
              },
              {
                "$$hashKey": "object:88",
                "text": "1 hour",
                "value": "PT1H"
              },
              {
                "$$hashKey": "object:89",
                "text": "6 hours",
                "value": "PT6H"
              },
              {
                "$$hashKey": "object:90",
                "text": "12 hours",
                "value": "PT12H"
              },
              {
                "$$hashKey": "object:91",
                "text": "1 day",
                "value": "P1D"
              }
            ],
            "top": "1000"
          },
          "insightsAnalytics": {
            "query": "",
            "resultFormat": "time_series"
          },
          "queryType": "Azure Monitor",
          "refId": "A",
          "subscription": "$Subscription"
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "Shortest Duration ($LogicApp)",
      "transformations": [
        {
          "id": "filterByValue",
          "options": {
            "filters": [
              {
                "config": {
                  "id": "isNull",
                  "options": {}
                },
                "fieldName": "Run Latency"
              }
            ],
            "match": "all",
            "type": "exclude"
          }
        },
        {
          "id": "reduce",
          "options": {
            "reducers": [
              "min"
            ]
          }
        }
      ],
      "type": "stat"
    },
    {
      "datasource": "${DS_AZURE_MONITOR}",
      "fieldConfig": {
        "defaults": {
          "color": {
            "fixedColor": "blue",
            "mode": "fixed"
          },
          "custom": {},
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": []
          },
          "unit": "s"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 6,
        "w": 4,
        "x": 4,
        "y": 5
      },
      "id": 72,
      "options": {
        "colorMode": "background",
        "graphMode": "area",
        "justifyMode": "auto",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "text": {},
        "textMode": "auto"
      },
      "pluginVersion": "7.4.2",
      "targets": [
        {
          "appInsights": {
            "dimension": [],
            "metricName": "select",
            "timeGrain": "auto"
          },
          "azureLogAnalytics": {
            "query": "//change this example to create your own time series query\n<table name>                                                              //the table to query (e.g. Usage, Heartbeat, Perf)\n| where $__timeFilter(TimeGenerated)                                      //this is a macro used to show the full chart’s time range, choose the datetime column here\n| summarize count() by <group by column>, bin(TimeGenerated, $__interval) //change “group by column” to a column in your table, such as “Computer”. The $__interval macro is used to auto-select the time grain. Can also use 1h, 5m etc.\n| order by TimeGenerated asc",
            "resultFormat": "time_series",
            "workspace": "207e14be-2664-4514-a054-cf0ecb3a2cfe"
          },
          "azureMonitor": {
            "aggOptions": [
              "None",
              "Average",
              "Minimum",
              "Maximum",
              "Total",
              "Count"
            ],
            "aggregation": "Average",
            "allowedTimeGrainsMs": [
              60000,
              300000,
              900000,
              1800000,
              3600000,
              21600000,
              43200000,
              86400000
            ],
            "dimensionFilter": "*",
            "dimensionFilters": [],
            "dimensions": [],
            "metricDefinition": "Microsoft.Logic/workflows",
            "metricName": "RunLatency",
            "metricNamespace": "Microsoft.Logic/workflows",
            "resourceGroup": "$ResourceGroup",
            "resourceName": "$LogicApp",
            "timeGrain": "auto",
            "timeGrains": [
              {
                "$$hashKey": "object:83",
                "text": "auto",
                "value": "auto"
              },
              {
                "$$hashKey": "object:84",
                "text": "1 minute",
                "value": "PT1M"
              },
              {
                "$$hashKey": "object:85",
                "text": "5 minutes",
                "value": "PT5M"
              },
              {
                "$$hashKey": "object:86",
                "text": "15 minutes",
                "value": "PT15M"
              },
              {
                "$$hashKey": "object:87",
                "text": "30 minutes",
                "value": "PT30M"
              },
              {
                "$$hashKey": "object:88",
                "text": "1 hour",
                "value": "PT1H"
              },
              {
                "$$hashKey": "object:89",
                "text": "6 hours",
                "value": "PT6H"
              },
              {
                "$$hashKey": "object:90",
                "text": "12 hours",
                "value": "PT12H"
              },
              {
                "$$hashKey": "object:91",
                "text": "1 day",
                "value": "P1D"
              }
            ],
            "top": "1000"
          },
          "insightsAnalytics": {
            "query": "",
            "resultFormat": "time_series"
          },
          "queryType": "Azure Monitor",
          "refId": "A",
          "subscription": "$Subscription"
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "Longest Duration ($LogicApp)",
      "transformations": [
        {
          "id": "filterByValue",
          "options": {
            "filters": [
              {
                "config": {
                  "id": "isNull",
                  "options": {}
                },
                "fieldName": "Run Latency"
              }
            ],
            "match": "all",
            "type": "exclude"
          }
        },
        {
          "id": "reduce",
          "options": {
            "reducers": [
              "max"
            ]
          }
        }
      ],
      "type": "stat"
    },
    {
      "datasource": "${DS_AZURE_MONITOR}",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "custom": {},
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "dark-green",
                "value": 0
              }
            ]
          },
          "unit": "none"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 4,
        "w": 15,
        "x": 0,
        "y": 11
      },
      "id": 65,
      "options": {
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "showThresholdLabels": false,
        "showThresholdMarkers": true,
        "text": {}
      },
      "pluginVersion": "7.4.2",
      "targets": [
        {
          "appInsights": {
            "dimension": [],
            "metricName": "select",
            "timeGrain": "auto"
          },
          "azureLogAnalytics": {
            "query": "//change this example to create your own time series query\n<table name>                                                              //the table to query (e.g. Usage, Heartbeat, Perf)\n| where $__timeFilter(TimeGenerated)                                      //this is a macro used to show the full chart’s time range, choose the datetime column here\n| summarize count() by <group by column>, bin(TimeGenerated, $__interval) //change “group by column” to a column in your table, such as “Computer”. The $__interval macro is used to auto-select the time grain. Can also use 1h, 5m etc.\n| order by TimeGenerated asc",
            "resultFormat": "time_series",
            "workspace": "207e14be-2664-4514-a054-cf0ecb3a2cfe"
          },
          "azureMonitor": {
            "aggOptions": [
              "None",
              "Average",
              "Minimum",
              "Maximum",
              "Total",
              "Count"
            ],
            "aggregation": "Total",
            "allowedTimeGrainsMs": [
              60000,
              300000,
              900000,
              1800000,
              3600000,
              21600000,
              43200000,
              86400000
            ],
            "dimensionFilter": "*",
            "dimensionFilters": [],
            "dimensions": [],
            "metricDefinition": "Microsoft.Logic/workflows",
            "metricName": "RunsStarted",
            "metricNamespace": "Microsoft.Logic/workflows",
            "resourceGroup": "$ResourceGroup",
            "resourceName": "$LogicApp",
            "timeGrain": "auto",
            "timeGrains": [
              {
                "$$hashKey": "object:167",
                "text": "auto",
                "value": "auto"
              },
              {
                "$$hashKey": "object:168",
                "text": "1 minute",
                "value": "PT1M"
              },
              {
                "$$hashKey": "object:169",
                "text": "5 minutes",
                "value": "PT5M"
              },
              {
                "$$hashKey": "object:170",
                "text": "15 minutes",
                "value": "PT15M"
              },
              {
                "$$hashKey": "object:171",
                "text": "30 minutes",
                "value": "PT30M"
              },
              {
                "$$hashKey": "object:172",
                "text": "1 hour",
                "value": "PT1H"
              },
              {
                "$$hashKey": "object:173",
                "text": "6 hours",
                "value": "PT6H"
              },
              {
                "$$hashKey": "object:174",
                "text": "12 hours",
                "value": "PT12H"
              },
              {
                "$$hashKey": "object:175",
                "text": "1 day",
                "value": "P1D"
              }
            ],
            "top": "1000"
          },
          "insightsAnalytics": {
            "query": "",
            "resultFormat": "time_series"
          },
          "queryType": "Azure Monitor",
          "refId": "A",
          "subscription": "$Subscription"
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "Number of execution of  $LogicApp",
      "transformations": [
        {
          "id": "filterByValue",
          "options": {
            "filters": [
              {
                "config": {
                  "id": "isNull",
                  "options": {}
                },
                "fieldName": "Runs Started"
              }
            ],
            "match": "any",
            "type": "exclude"
          }
        },
        {
          "id": "reduce",
          "options": {
            "reducers": [
              "sum"
            ]
          }
        }
      ],
      "transparent": true,
      "type": "gauge"
    },
    {
      "alert": {
        "alertRuleTags": {},
        "conditions": [
          {
            "evaluator": {
              "params": [
                0
              ],
              "type": "gt"
            },
            "operator": {
              "type": "and"
            },
            "query": {
              "params": [
                "A",
                "5m",
                "now"
              ]
            },
            "reducer": {
              "params": [],
              "type": "max"
            },
            "type": "query"
          }
        ],
        "executionErrorState": "alerting",
        "for": "5m",
        "frequency": "1m",
        "handler": 1,
        "name": "Failed executions of $LogicApp",
        "noDataState": "ok",
        "notifications": []
      },
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_AZURE_MONITOR}",
      "fieldConfig": {
        "defaults": {
          "color": {},
          "custom": {},
          "thresholds": {
            "mode": "absolute",
            "steps": []
          },
          "unit": "none"
        },
        "overrides": []
      },
      "fill": 1,
      "fillGradient": 0,
      "gridPos": {
        "h": 8,
        "w": 9,
        "x": 15,
        "y": 11
      },
      "hiddenSeries": false,
      "id": 84,
      "legend": {
        "avg": false,
        "current": false,
        "max": false,
        "min": false,
        "show": true,
        "total": false,
        "values": false
      },
      "lines": true,
      "linewidth": 1,
      "nullPointMode": "null",
      "options": {
        "alertThreshold": true
      },
      "percentage": false,
      "pluginVersion": "7.4.2",
      "pointradius": 2,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "appInsights": {
            "dimension": [],
            "metricName": "select",
            "timeGrain": "auto"
          },
          "azureLogAnalytics": {
            "query": "//change this example to create your own time series query\n<table name>                                                              //the table to query (e.g. Usage, Heartbeat, Perf)\n| where $__timeFilter(TimeGenerated)                                      //this is a macro used to show the full chart’s time range, choose the datetime column here\n| summarize count() by <group by column>, bin(TimeGenerated, $__interval) //change “group by column” to a column in your table, such as “Computer”. The $__interval macro is used to auto-select the time grain. Can also use 1h, 5m etc.\n| order by TimeGenerated asc",
            "resultFormat": "time_series",
            "workspace": "207e14be-2664-4514-a054-cf0ecb3a2cfe"
          },
          "azureMonitor": {
            "aggOptions": [
              "None",
              "Average",
              "Minimum",
              "Maximum",
              "Total",
              "Count"
            ],
            "aggregation": "Total",
            "allowedTimeGrainsMs": [
              60000,
              300000,
              900000,
              1800000,
              3600000,
              21600000,
              43200000,
              86400000
            ],
            "dimensionFilter": "*",
            "dimensionFilters": [],
            "dimensions": [],
            "metricDefinition": "Microsoft.Logic/workflows",
            "metricName": "RunsFailed",
            "metricNamespace": "Microsoft.Logic/workflows",
            "resourceGroup": "$ResourceGroup",
            "resourceName": "$LogicApp",
            "timeGrain": "auto",
            "timeGrains": [
              {
                "$$hashKey": "object:37",
                "text": "auto",
                "value": "auto"
              },
              {
                "$$hashKey": "object:38",
                "text": "1 minute",
                "value": "PT1M"
              },
              {
                "$$hashKey": "object:39",
                "text": "5 minutes",
                "value": "PT5M"
              },
              {
                "$$hashKey": "object:40",
                "text": "15 minutes",
                "value": "PT15M"
              },
              {
                "$$hashKey": "object:41",
                "text": "30 minutes",
                "value": "PT30M"
              },
              {
                "$$hashKey": "object:42",
                "text": "1 hour",
                "value": "PT1H"
              },
              {
                "$$hashKey": "object:43",
                "text": "6 hours",
                "value": "PT6H"
              },
              {
                "$$hashKey": "object:44",
                "text": "12 hours",
                "value": "PT12H"
              },
              {
                "$$hashKey": "object:45",
                "text": "1 day",
                "value": "P1D"
              }
            ],
            "top": "1000"
          },
          "insightsAnalytics": {
            "query": "",
            "resultFormat": "time_series"
          },
          "queryType": "Azure Monitor",
          "refId": "A",
          "subscription": "$Subscription"
        }
      ],
      "thresholds": [
        {
          "colorMode": "critical",
          "fill": true,
          "line": true,
          "op": "gt",
          "value": 0,
          "visible": true
        }
      ],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "Failed executions of $LogicApp",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "transformations": [],
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "$$hashKey": "object:89",
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "$$hashKey": "object:90",
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "datasource": "${DS_AZURE_MONITOR}",
      "description": "",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "custom": {},
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "dark-red",
                "value": null
              },
              {
                "color": "dark-green",
                "value": 1
              }
            ]
          },
          "unit": "none"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 4,
        "w": 5,
        "x": 0,
        "y": 15
      },
      "id": 68,
      "options": {
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "showThresholdLabels": false,
        "showThresholdMarkers": true,
        "text": {}
      },
      "pluginVersion": "7.4.2",
      "targets": [
        {
          "appInsights": {
            "dimension": [],
            "metricName": "select",
            "timeGrain": "auto"
          },
          "azureLogAnalytics": {
            "query": "//change this example to create your own time series query\n<table name>                                                              //the table to query (e.g. Usage, Heartbeat, Perf)\n| where $__timeFilter(TimeGenerated)                                      //this is a macro used to show the full chart’s time range, choose the datetime column here\n| summarize count() by <group by column>, bin(TimeGenerated, $__interval) //change “group by column” to a column in your table, such as “Computer”. The $__interval macro is used to auto-select the time grain. Can also use 1h, 5m etc.\n| order by TimeGenerated asc",
            "resultFormat": "time_series",
            "workspace": "207e14be-2664-4514-a054-cf0ecb3a2cfe"
          },
          "azureMonitor": {
            "aggOptions": [
              "None",
              "Average",
              "Minimum",
              "Maximum",
              "Total",
              "Count"
            ],
            "aggregation": "Total",
            "allowedTimeGrainsMs": [
              60000,
              300000,
              900000,
              1800000,
              3600000,
              21600000,
              43200000,
              86400000
            ],
            "dimensionFilter": "*",
            "dimensionFilters": [],
            "dimensions": [],
            "metricDefinition": "Microsoft.Logic/workflows",
            "metricName": "RunsSucceeded",
            "metricNamespace": "Microsoft.Logic/workflows",
            "resourceGroup": "$ResourceGroup",
            "resourceName": "$LogicApp",
            "timeGrain": "auto",
            "timeGrains": [
              {
                "$$hashKey": "object:20",
                "text": "auto",
                "value": "auto"
              },
              {
                "$$hashKey": "object:21",
                "text": "1 minute",
                "value": "PT1M"
              },
              {
                "$$hashKey": "object:22",
                "text": "5 minutes",
                "value": "PT5M"
              },
              {
                "$$hashKey": "object:23",
                "text": "15 minutes",
                "value": "PT15M"
              },
              {
                "$$hashKey": "object:24",
                "text": "30 minutes",
                "value": "PT30M"
              },
              {
                "$$hashKey": "object:25",
                "text": "1 hour",
                "value": "PT1H"
              },
              {
                "$$hashKey": "object:26",
                "text": "6 hours",
                "value": "PT6H"
              },
              {
                "$$hashKey": "object:27",
                "text": "12 hours",
                "value": "PT12H"
              },
              {
                "$$hashKey": "object:28",
                "text": "1 day",
                "value": "P1D"
              }
            ],
            "top": "1000"
          },
          "insightsAnalytics": {
            "query": "",
            "resultFormat": "time_series"
          },
          "queryType": "Azure Monitor",
          "refId": "A",
          "subscription": "$Subscription"
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "Number of successful executions of  $LogicApp",
      "transformations": [
        {
          "id": "filterByValue",
          "options": {
            "filters": [
              {
                "config": {
                  "id": "isNull",
                  "options": {}
                },
                "fieldName": "Runs Started"
              }
            ],
            "match": "any",
            "type": "exclude"
          }
        },
        {
          "id": "reduce",
          "options": {
            "reducers": [
              "sum"
            ]
          }
        }
      ],
      "transparent": true,
      "type": "gauge"
    },
    {
      "datasource": "${DS_AZURE_MONITOR}",
      "description": "",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "custom": {},
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "semi-dark-red",
                "value": 1
              }
            ]
          },
          "unit": "none"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 4,
        "w": 5,
        "x": 5,
        "y": 15
      },
      "id": 67,
      "options": {
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "showThresholdLabels": false,
        "showThresholdMarkers": true,
        "text": {}
      },
      "pluginVersion": "7.4.2",
      "targets": [
        {
          "appInsights": {
            "dimension": [],
            "metricName": "select",
            "timeGrain": "auto"
          },
          "azureLogAnalytics": {
            "query": "//change this example to create your own time series query\n<table name>                                                              //the table to query (e.g. Usage, Heartbeat, Perf)\n| where $__timeFilter(TimeGenerated)                                      //this is a macro used to show the full chart’s time range, choose the datetime column here\n| summarize count() by <group by column>, bin(TimeGenerated, $__interval) //change “group by column” to a column in your table, such as “Computer”. The $__interval macro is used to auto-select the time grain. Can also use 1h, 5m etc.\n| order by TimeGenerated asc",
            "resultFormat": "time_series",
            "workspace": "207e14be-2664-4514-a054-cf0ecb3a2cfe"
          },
          "azureMonitor": {
            "aggOptions": [
              "None",
              "Average",
              "Minimum",
              "Maximum",
              "Total",
              "Count"
            ],
            "aggregation": "Total",
            "allowedTimeGrainsMs": [
              60000,
              300000,
              900000,
              1800000,
              3600000,
              21600000,
              43200000,
              86400000
            ],
            "dimensionFilter": "*",
            "dimensionFilters": [],
            "dimensions": [],
            "metricDefinition": "Microsoft.Logic/workflows",
            "metricName": "RunsFailed",
            "metricNamespace": "Microsoft.Logic/workflows",
            "resourceGroup": "$ResourceGroup",
            "resourceName": "$LogicApp",
            "timeGrain": "auto",
            "timeGrains": [
              {
                "$$hashKey": "object:522",
                "text": "auto",
                "value": "auto"
              },
              {
                "$$hashKey": "object:523",
                "text": "1 minute",
                "value": "PT1M"
              },
              {
                "$$hashKey": "object:524",
                "text": "5 minutes",
                "value": "PT5M"
              },
              {
                "$$hashKey": "object:525",
                "text": "15 minutes",
                "value": "PT15M"
              },
              {
                "$$hashKey": "object:526",
                "text": "30 minutes",
                "value": "PT30M"
              },
              {
                "$$hashKey": "object:527",
                "text": "1 hour",
                "value": "PT1H"
              },
              {
                "$$hashKey": "object:528",
                "text": "6 hours",
                "value": "PT6H"
              },
              {
                "$$hashKey": "object:529",
                "text": "12 hours",
                "value": "PT12H"
              },
              {
                "$$hashKey": "object:530",
                "text": "1 day",
                "value": "P1D"
              }
            ],
            "top": "1000"
          },
          "insightsAnalytics": {
            "query": "",
            "resultFormat": "time_series"
          },
          "queryType": "Azure Monitor",
          "refId": "A",
          "subscription": "$Subscription"
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "Number of failed executions of  $LogicApp",
      "transformations": [
        {
          "id": "filterByValue",
          "options": {
            "filters": [
              {
                "config": {
                  "id": "isNull",
                  "options": {}
                },
                "fieldName": "Runs Started"
              }
            ],
            "match": "any",
            "type": "exclude"
          }
        },
        {
          "id": "reduce",
          "options": {
            "reducers": [
              "sum"
            ]
          }
        }
      ],
      "transparent": true,
      "type": "gauge"
    },
    {
      "datasource": "${DS_AZURE_MONITOR}",
      "description": "",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "custom": {},
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "rgb(147, 147, 147)",
                "value": null
              },
              {
                "color": "semi-dark-red",
                "value": 1
              }
            ]
          },
          "unit": "none"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 4,
        "w": 5,
        "x": 10,
        "y": 15
      },
      "id": 69,
      "options": {
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "showThresholdLabels": false,
        "showThresholdMarkers": true,
        "text": {}
      },
      "pluginVersion": "7.4.2",
      "targets": [
        {
          "appInsights": {
            "dimension": [],
            "metricName": "select",
            "timeGrain": "auto"
          },
          "azureLogAnalytics": {
            "query": "//change this example to create your own time series query\n<table name>                                                              //the table to query (e.g. Usage, Heartbeat, Perf)\n| where $__timeFilter(TimeGenerated)                                      //this is a macro used to show the full chart’s time range, choose the datetime column here\n| summarize count() by <group by column>, bin(TimeGenerated, $__interval) //change “group by column” to a column in your table, such as “Computer”. The $__interval macro is used to auto-select the time grain. Can also use 1h, 5m etc.\n| order by TimeGenerated asc",
            "resultFormat": "time_series",
            "workspace": "207e14be-2664-4514-a054-cf0ecb3a2cfe"
          },
          "azureMonitor": {
            "aggOptions": [
              "None",
              "Average",
              "Minimum",
              "Maximum",
              "Total",
              "Count"
            ],
            "aggregation": "Total",
            "allowedTimeGrainsMs": [
              60000,
              300000,
              900000,
              1800000,
              3600000,
              21600000,
              43200000,
              86400000
            ],
            "dimensionFilter": "*",
            "dimensionFilters": [],
            "dimensions": [],
            "metricDefinition": "Microsoft.Logic/workflows",
            "metricName": "RunsCancelled",
            "metricNamespace": "Microsoft.Logic/workflows",
            "resourceGroup": "$ResourceGroup",
            "resourceName": "$LogicApp",
            "timeGrain": "auto",
            "timeGrains": [
              {
                "$$hashKey": "object:72",
                "text": "auto",
                "value": "auto"
              },
              {
                "$$hashKey": "object:73",
                "text": "1 minute",
                "value": "PT1M"
              },
              {
                "$$hashKey": "object:74",
                "text": "5 minutes",
                "value": "PT5M"
              },
              {
                "$$hashKey": "object:75",
                "text": "15 minutes",
                "value": "PT15M"
              },
              {
                "$$hashKey": "object:76",
                "text": "30 minutes",
                "value": "PT30M"
              },
              {
                "$$hashKey": "object:77",
                "text": "1 hour",
                "value": "PT1H"
              },
              {
                "$$hashKey": "object:78",
                "text": "6 hours",
                "value": "PT6H"
              },
              {
                "$$hashKey": "object:79",
                "text": "12 hours",
                "value": "PT12H"
              },
              {
                "$$hashKey": "object:80",
                "text": "1 day",
                "value": "P1D"
              }
            ],
            "top": "1000"
          },
          "insightsAnalytics": {
            "query": "",
            "resultFormat": "time_series"
          },
          "queryType": "Azure Monitor",
          "refId": "A",
          "subscription": "$Subscription"
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "Number of cancelled executions of  $LogicApp",
      "transformations": [
        {
          "id": "filterByValue",
          "options": {
            "filters": [
              {
                "config": {
                  "id": "isNull",
                  "options": {}
                },
                "fieldName": "Runs Started"
              }
            ],
            "match": "any",
            "type": "exclude"
          }
        },
        {
          "id": "reduce",
          "options": {
            "reducers": [
              "sum"
            ]
          }
        }
      ],
      "transparent": true,
      "type": "gauge"
    }
  ],
  "refresh": false,
  "schemaVersion": 27,
  "style": "dark",
  "tags": [],
  "templating": {
    "list": [
      {
        "current": {
          "selected": false,
          "text": "Azure Monitor",
          "value": "Azure Monitor"
        },
        "description": null,
        "error": null,
        "hide": 0,
        "includeAll": false,
        "label": "Data Source",
        "multi": false,
        "name": "DataSource",
        "options": [],
        "query": "grafana-azure-monitor-datasource",
        "queryValue": "",
        "refresh": 1,
        "regex": "",
        "skipUrlSync": false,
        "type": "datasource"
      },
      {
        "allValue": null,
        "current": {},
        "datasource": "$DataSource",
        "definition": "Subscriptions()",
        "description": null,
        "error": null,
        "hide": 0,
        "includeAll": false,
        "label": "Subscription",
        "multi": false,
        "name": "Subscription",
        "options": [],
        "query": "Subscriptions()",
        "refresh": 1,
        "regex": "",
        "skipUrlSync": false,
        "sort": 1,
        "tagValuesQuery": "",
        "tags": [],
        "tagsQuery": "",
        "type": "query",
        "useTags": false
      },
      {
        "allValue": null,
        "current": {},
        "datasource": "$DataSource",
        "definition": "ResourceGroups($Subscription)",
        "description": null,
        "error": null,
        "hide": 0,
        "includeAll": false,
        "label": "RG",
        "multi": false,
        "name": "ResourceGroup",
        "options": [],
        "query": "ResourceGroups($Subscription)",
        "refresh": 1,
        "regex": "",
        "skipUrlSync": false,
        "sort": 1,
        "tagValuesQuery": "",
        "tags": [],
        "tagsQuery": "",
        "type": "query",
        "useTags": false
      },
      {
        "allValue": null,
        "current": {},
        "datasource": "$DataSource",
        "definition": "ResourceNames($Subscription,$ResourceGroup, Microsoft.Logic/workflows)",
        "description": null,
        "error": null,
        "hide": 0,
        "includeAll": false,
        "label": "LogicApp",
        "multi": true,
        "name": "LogicApp",
        "options": [],
        "query": "ResourceNames($Subscription,$ResourceGroup, Microsoft.Logic/workflows)",
        "refresh": 1,
        "regex": "",
        "skipUrlSync": false,
        "sort": 1,
        "tagValuesQuery": "",
        "tags": [],
        "tagsQuery": "",
        "type": "query",
        "useTags": false
      }
    ]
  },
  "time": {
    "from": "now-7d",
    "to": "now"
  },
  "timepicker": {
    "refresh_intervals": [
      "10s",
      "30s",
      "1m",
      "5m",
      "15m",
      "30m",
      "1h",
      "2h",
      "1d"
    ]
  },
  "timezone": "",
  "title": "Azure Logic Apps",
  "uid": "BA5f5OiMs",
  "version": 41,
  "description": "Monitor the executions of your Azure Logic Apps"
}