{
  "__inputs": [
    {
      "name": "DS_PETALSESB-PROMETHEUS",
      "label": "PetalsESB-Prometheus",
      "description": "",
      "type": "datasource",
      "pluginId": "prometheus",
      "pluginName": "Prometheus"
    }
  ],
  "__requires": [
    {
      "type": "grafana",
      "id": "grafana",
      "name": "Grafana",
      "version": "5.4.2"
    },
    {
      "type": "panel",
      "id": "graph",
      "name": "Graph",
      "version": "5.0.0"
    },
    {
      "type": "datasource",
      "id": "prometheus",
      "name": "Prometheus",
      "version": "5.0.0"
    }
  ],
  "annotations": {
    "list": [
      {
        "builtIn": 1,
        "datasource": "-- Grafana --",
        "enable": true,
        "hide": true,
        "iconColor": "rgba(0, 211, 255, 1)",
        "name": "Annotations & Alerts",
        "type": "dashboard"
      }
    ]
  },
  "editable": true,
  "gnetId": null,
  "graphTooltip": 0,
  "id": null,
  "iteration": 1552482419845,
  "links": [],
  "panels": [
    {
      "collapsed": false,
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 0
      },
      "id": 8,
      "panels": [],
      "repeat": "operation",
      "title": "$operation",
      "type": "row"
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "description": "",
      "fill": 1,
      "gridPos": {
        "h": 8,
        "w": 12,
        "x": 0,
        "y": 1
      },
      "hideTimeOverride": false,
      "id": 6,
      "interval": "",
      "legend": {
        "alignAsTable": true,
        "avg": true,
        "current": true,
        "hideEmpty": false,
        "hideZero": false,
        "max": true,
        "min": true,
        "show": true,
        "total": false,
        "values": true
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "null",
      "percentage": false,
      "pointradius": 5,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "expr": "delta(org_ow2_petals_custom_ServiceProviderInvocations{operationName=~\"$operation\",executionStatus=\"SUCCEEDED\"}[1m])",
          "format": "time_series",
          "intervalFactor": 1,
          "legendFormat": "Succeeded invocations per minute {{operationName}} {{container}}",
          "refId": "A"
        },
        {
          "expr": "sum(org_ow2_petals_custom_ServiceProviderInvocations{operationName=~\"$operation\",executionStatus=\"PENDING\"})",
          "format": "time_series",
          "intervalFactor": 1,
          "legendFormat": "total pending",
          "refId": "B"
        },
        {
          "expr": "delta(org_ow2_petals_custom_ServiceProviderInvocations{operationName=~\"$operation\",executionStatus=\"ERROR\"}[1m])",
          "format": "time_series",
          "intervalFactor": 1,
          "legendFormat": "total error",
          "refId": "C"
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "Service provider invocation",
      "tooltip": {
        "shared": true,
        "sort": 2,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": 100,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": false
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "fill": 1,
      "gridPos": {
        "h": 8,
        "w": 12,
        "x": 12,
        "y": 1
      },
      "id": 10,
      "legend": {
        "avg": false,
        "current": false,
        "max": false,
        "min": false,
        "show": true,
        "total": false,
        "values": false
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "null",
      "percentage": false,
      "pointradius": 5,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "expr": "org_ow2_petals_custom_ServiceProviderInvocationsResponseTimeRel_maximumValue{operationName=~\"$operation\",executionStatus=\"SUCCEEDED\"}",
          "format": "time_series",
          "intervalFactor": 1,
          "legendFormat": "max",
          "refId": "C"
        },
        {
          "expr": "org_ow2_petals_custom_ServiceProviderInvocationsResponseTimeRel_averageValue{operationName=~\"$operation\",executionStatus=\"SUCCEEDED\"}",
          "format": "time_series",
          "intervalFactor": 1,
          "legendFormat": "average ",
          "refId": "A"
        },
        {
          "expr": "org_ow2_petals_custom_ServiceProviderInvocationsResponseTimeRel_minimumValue{operationName=~\"$operation\",executionStatus=\"SUCCEEDED\"}",
          "format": "time_series",
          "intervalFactor": 1,
          "legendFormat": "min",
          "refId": "B"
        },
        {
          "expr": "org_ow2_petals_custom_ServiceProviderInvocationsResponseTimeRel_percentile_90Value{operationName=~\"$operation\",executionStatus=\"SUCCEEDED\"}",
          "format": "time_series",
          "intervalFactor": 1,
          "legendFormat": "90th percentile ",
          "refId": "F"
        },
        {
          "expr": "org_ow2_petals_custom_ServiceProviderInvocationsResponseTimeRel_percentile_50Value{operationName=~\"$operation\",executionStatus=\"SUCCEEDED\"}",
          "format": "time_series",
          "intervalFactor": 1,
          "legendFormat": "50th percentile",
          "refId": "E"
        },
        {
          "expr": "org_ow2_petals_custom_ServiceProviderInvocationsResponseTimeRel_percentile_10Value{operationName=~\"$operation\",executionStatus=\"SUCCEEDED\"}",
          "format": "time_series",
          "intervalFactor": 1,
          "legendFormat": "10th percentile ",
          "refId": "D"
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "Service provider invocation response time",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "ms",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    }
  ],
  "refresh": "5s",
  "schemaVersion": 16,
  "style": "dark",
  "tags": [],
  "templating": {
    "list": [
      {
        "allValue": null,
        "current": {},
        "datasource": "${DS_PETALSESB-PROMETHEUS}",
        "definition": "org_ow2_petals_custom_ServiceProviderInvocations",
        "hide": 0,
        "includeAll": true,
        "label": null,
        "multi": true,
        "name": "operation",
        "options": [],
        "query": "org_ow2_petals_custom_ServiceProviderInvocations",
        "refresh": 1,
        "regex": "^.*operationName=\"([^\"]*).*$",
        "skipUrlSync": false,
        "sort": 0,
        "tagValuesQuery": "",
        "tags": [],
        "tagsQuery": "",
        "type": "query",
        "useTags": false
      },
      {
        "allValue": null,
        "current": {},
        "datasource": "${DS_PETALSESB-PROMETHEUS}",
        "definition": "org_ow2_petals_custom_ServiceProviderInvocations{operationName=\"$operation\"}",
        "hide": 2,
        "includeAll": true,
        "label": null,
        "multi": true,
        "name": "container",
        "options": [],
        "query": "org_ow2_petals_custom_ServiceProviderInvocations{operationName=\"$operation\"}",
        "refresh": 1,
        "regex": "^.*container=\"([^\"]*).*$",
        "skipUrlSync": false,
        "sort": 0,
        "tagValuesQuery": "",
        "tags": [],
        "tagsQuery": "",
        "type": "query",
        "useTags": false
      }
    ]
  },
  "time": {
    "from": "now-1h",
    "to": "now"
  },
  "timepicker": {
    "refresh_intervals": [
      "5s",
      "10s",
      "30s",
      "1m",
      "5m",
      "15m",
      "30m",
      "1h",
      "2h",
      "1d"
    ],
    "time_options": [
      "5m",
      "15m",
      "1h",
      "6h",
      "12h",
      "24h",
      "2d",
      "7d",
      "30d"
    ]
  },
  "timezone": "",
  "title": "All services",
  "uid": "uoAOyujik",
  "version": 16
}