Grafana dashboard: Sockshop Performance


{
  "__inputs": [
    {
      "name": "DS_PROMETHEUS_(CLOUD)",
      "label": "Prometheus (Cloud)",
      "description": "",
      "type": "datasource",
      "pluginId": "prometheus",
      "pluginName": "Prometheus"
    }
  ],
  "__elements": {
    "eqz00qNnk": {
      "name": "95th percentile latency, Sockshop Application",
      "uid": "eqz00qNnk",
      "kind": 1,
      "model": {
        "datasource": {
          "type": "prometheus",
          "uid": "${DS_PROMETHEUS_(CLOUD)}"
        },
        "description": "",
        "fieldConfig": {
          "defaults": {
            "color": {
              "mode": "palette-classic"
            },
            "custom": {
              "axisCenteredZero": false,
              "axisColorMode": "text",
              "axisLabel": "",
              "axisPlacement": "auto",
              "barAlignment": 0,
              "drawStyle": "line",
              "fillOpacity": 0,
              "gradientMode": "none",
              "hideFrom": {
                "legend": false,
                "tooltip": false,
                "viz": false
              },
              "lineInterpolation": "linear",
              "lineWidth": 2,
              "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
                }
              ]
            }
          },
          "overrides": [
            {
              "matcher": {
                "id": "byName",
                "options": "carts"
              },
              "properties": [
                {
                  "id": "color",
                  "value": {
                    "fixedColor": "orange",
                    "mode": "fixed"
                  }
                }
              ]
            },
            {
              "matcher": {
                "id": "byName",
                "options": "payment"
              },
              "properties": [
                {
                  "id": "color",
                  "value": {
                    "fixedColor": "green",
                    "mode": "fixed"
                  }
                }
              ]
            },
            {
              "matcher": {
                "id": "byName",
                "options": "orders"
              },
              "properties": [
                {
                  "id": "color",
                  "value": {
                    "fixedColor": "blue",
                    "mode": "fixed"
                  }
                }
              ]
            },
            {
              "matcher": {
                "id": "byName",
                "options": "user"
              },
              "properties": [
                {
                  "id": "color",
                  "value": {
                    "fixedColor": "dark-purple",
                    "mode": "fixed"
                  }
                }
              ]
            }
          ]
        },
        "options": {
          "legend": {
            "calcs": [],
            "displayMode": "list",
            "placement": "bottom",
            "showLegend": true
          },
          "tooltip": {
            "mode": "single",
            "sort": "none"
          }
        },
        "targets": [
          {
            "datasource": {
              "type": "prometheus",
              "uid": "${DS_PROMETHEUS_(CLOUD)}"
            },
            "editorMode": "code",
            "exemplar": true,
            "expr": "histogram_quantile(0.95, sum(rate(request_duration_seconds_bucket{app=\"sockshop\"}[5m])) by (le,job))",
            "interval": "",
            "legendFormat": "{{ job }}",
            "range": true,
            "refId": "A"
          }
        ],
        "title": "95th percentile latency, Sockshop Application",
        "transformations": [
          {
            "id": "renameByRegex",
            "options": {
              "regex": "(.*)/(.*)",
              "renamePattern": "$2"
            }
          }
        ],
        "transparent": true,
        "type": "timeseries"
      }
    },
    "WvW1PDQnk": {
      "name": "Blank Space",
      "uid": "WvW1PDQnk",
      "kind": 1,
      "model": {
        "description": "",
        "options": {
          "code": {
            "language": "plaintext",
            "showLineNumbers": false,
            "showMiniMap": false
          },
          "content": "",
          "mode": "markdown"
        },
        "pluginVersion": "9.2.0",
        "transparent": true,
        "type": "text"
      }
    },
    "4WKrEvQ7k": {
      "name": "Latency profile, Sockshop Application",
      "uid": "4WKrEvQ7k",
      "kind": 1,
      "model": {
        "datasource": {
          "type": "prometheus",
          "uid": "${DS_PROMETHEUS_(CLOUD)}"
        },
        "description": "The following depicts application latencies for the Sockshop application (all services).  ",
        "fieldConfig": {
          "defaults": {
            "color": {
              "mode": "palette-classic"
            },
            "custom": {
              "axisCenteredZero": false,
              "axisColorMode": "text",
              "axisGridShow": true,
              "axisLabel": "",
              "axisPlacement": "auto",
              "barAlignment": 0,
              "drawStyle": "line",
              "fillOpacity": 100,
              "gradientMode": "none",
              "hideFrom": {
                "legend": false,
                "tooltip": false,
                "viz": false
              },
              "lineInterpolation": "linear",
              "lineStyle": {
                "fill": "solid"
              },
              "lineWidth": 0,
              "pointSize": 5,
              "scaleDistribution": {
                "type": "linear"
              },
              "showPoints": "auto",
              "spanNulls": true,
              "stacking": {
                "group": "A",
                "mode": "none"
              },
              "thresholdsStyle": {
                "mode": "line"
              }
            },
            "mappings": [
              {
                "options": {
                  "500": {
                    "index": 0,
                    "text": "WARNING"
                  },
                  "1000": {
                    "index": 1,
                    "text": "CRITICAL"
                  }
                },
                "type": "value"
              }
            ],
            "max": 200,
            "thresholds": {
              "mode": "absolute",
              "steps": [
                {
                  "color": "super-light-blue",
                  "value": null
                },
                {
                  "color": "#ffcb7d",
                  "value": 100
                },
                {
                  "color": "orange",
                  "value": 150
                }
              ]
            },
            "unit": "ms"
          },
          "overrides": [
            {
              "matcher": {
                "id": "byName",
                "options": "catalogue"
              },
              "properties": [
                {
                  "id": "color",
                  "value": {
                    "fixedColor": "#5d7881",
                    "mode": "fixed"
                  }
                }
              ]
            },
            {
              "matcher": {
                "id": "byName",
                "options": "orders"
              },
              "properties": [
                {
                  "id": "color",
                  "value": {
                    "fixedColor": "#9bc9d7",
                    "mode": "fixed"
                  }
                }
              ]
            },
            {
              "matcher": {
                "id": "byName",
                "options": "payment"
              },
              "properties": [
                {
                  "id": "color",
                  "value": {
                    "fixedColor": "dark-red",
                    "mode": "fixed"
                  }
                }
              ]
            },
            {
              "matcher": {
                "id": "byName",
                "options": "shipping"
              },
              "properties": [
                {
                  "id": "color",
                  "value": {
                    "fixedColor": "super-light-green",
                    "mode": "fixed"
                  }
                }
              ]
            },
            {
              "matcher": {
                "id": "byName",
                "options": "carts"
              },
              "properties": [
                {
                  "id": "color",
                  "value": {
                    "fixedColor": "yellow",
                    "mode": "fixed"
                  }
                }
              ]
            },
            {
              "matcher": {
                "id": "byName",
                "options": "user"
              },
              "properties": [
                {
                  "id": "color",
                  "value": {
                    "fixedColor": "semi-dark-purple",
                    "mode": "fixed"
                  }
                }
              ]
            },
            {
              "matcher": {
                "id": "byName",
                "options": "99th"
              },
              "properties": [
                {
                  "id": "color",
                  "value": {
                    "fixedColor": "blue",
                    "mode": "fixed"
                  }
                }
              ]
            },
            {
              "matcher": {
                "id": "byName",
                "options": "95th"
              },
              "properties": [
                {
                  "id": "color",
                  "value": {
                    "fixedColor": "dark-purple",
                    "mode": "fixed"
                  }
                }
              ]
            },
            {
              "matcher": {
                "id": "byName",
                "options": "90th"
              },
              "properties": [
                {
                  "id": "color",
                  "value": {
                    "fixedColor": "orange",
                    "mode": "fixed"
                  }
                }
              ]
            },
            {
              "matcher": {
                "id": "byName",
                "options": "75th"
              },
              "properties": [
                {
                  "id": "color",
                  "value": {
                    "fixedColor": "dark-blue",
                    "mode": "fixed"
                  }
                }
              ]
            }
          ]
        },
        "links": [
          {
            "targetBlank": true,
            "title": "Sockshop Service Details",
            "url": "/d/b2kdXLwnz/sockshop-performance?orgId=1"
          }
        ],
        "options": {
          "legend": {
            "calcs": [],
            "displayMode": "list",
            "placement": "bottom",
            "showLegend": true
          },
          "tooltip": {
            "mode": "single",
            "sort": "none"
          }
        },
        "targets": [
          {
            "datasource": {
              "type": "prometheus",
              "uid": "${DS_PROMETHEUS_(CLOUD)}"
            },
            "exemplar": true,
            "expr": "histogram_quantile(0.99, sum(rate(request_duration_seconds_bucket{app=\"sockshop\"}[5m])) by (le)) * 1000",
            "interval": "",
            "legendFormat": "99th",
            "refId": "A"
          },
          {
            "datasource": {
              "type": "prometheus",
              "uid": "${DS_PROMETHEUS_(CLOUD)}"
            },
            "exemplar": true,
            "expr": "histogram_quantile(0.95, sum(rate(request_duration_seconds_bucket{app=\"sockshop\"}[5m])) by (le)) * 1000",
            "hide": false,
            "interval": "",
            "legendFormat": "95th",
            "refId": "B"
          },
          {
            "datasource": {
              "type": "prometheus",
              "uid": "${DS_PROMETHEUS_(CLOUD)}"
            },
            "exemplar": true,
            "expr": "histogram_quantile(0.90, sum(rate(request_duration_seconds_bucket{app=\"sockshop\"}[5m])) by (le)) * 1000",
            "hide": false,
            "interval": "",
            "legendFormat": "90th",
            "refId": "C"
          },
          {
            "datasource": {
              "type": "prometheus",
              "uid": "${DS_PROMETHEUS_(CLOUD)}"
            },
            "exemplar": true,
            "expr": "histogram_quantile(0.75, sum(rate(request_duration_seconds_bucket{app=\"sockshop\"}[5m])) by (le)) * 1000",
            "hide": false,
            "interval": "",
            "legendFormat": "75th",
            "refId": "D"
          },
          {
            "datasource": {
              "type": "prometheus",
              "uid": "${DS_PROMETHEUS_(CLOUD)}"
            },
            "exemplar": true,
            "expr": "histogram_quantile(0.5, sum(rate(request_duration_seconds_bucket{app=\"sockshop\"}[5m])) by (le)) * 1000",
            "hide": false,
            "interval": "",
            "legendFormat": "50th",
            "refId": "E"
          }
        ],
        "title": "Latency quantiles, Sockshop Application",
        "transformations": [
          {
            "id": "renameByRegex",
            "options": {
              "regex": "(.*)/(.*)",
              "renamePattern": "$2"
            }
          }
        ],
        "transparent": true,
        "type": "timeseries"
      }
    }
  },
  "__requires": [
    {
      "type": "grafana",
      "id": "grafana",
      "name": "Grafana",
      "version": "9.2.0"
    },
    {
      "type": "panel",
      "id": "grafana-polystat-panel",
      "name": "Polystat",
      "version": "2.0.1"
    },
    {
      "type": "datasource",
      "id": "prometheus",
      "name": "Prometheus",
      "version": "1.0.0"
    },
    {
      "type": "panel",
      "id": "stat",
      "name": "Stat",
      "version": ""
    },
    {
      "type": "panel",
      "id": "text",
      "name": "Text",
      "version": ""
    },
    {
      "type": "panel",
      "id": "timeseries",
      "name": "Time series",
      "version": ""
    }
  ],
  "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"
      }
    ]
  },
  "editable": true,
  "fiscalYearStartMonth": 0,
  "graphTooltip": 0,
  "id": null,
  "links": [],
  "liveNow": false,
  "panels": [
    {
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 0
      },
      "id": 11,
      "title": "Sockshop SLIs",
      "type": "row"
    },
    {
      "datasource": {
        "type": "prometheus",
        "uid": "${DS_PROMETHEUS_(CLOUD)}"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "decimals": 2,
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "blue",
                "value": null
              },
              {
                "color": "orange",
                "value": 0.01
              }
            ]
          }
        },
        "overrides": []
      },
      "gridPos": {
        "h": 5,
        "w": 3,
        "x": 0,
        "y": 1
      },
      "id": 22,
      "options": {
        "colorMode": "value",
        "graphMode": "none",
        "justifyMode": "center",
        "orientation": "horizontal",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "text": {},
        "textMode": "value_and_name"
      },
      "pluginVersion": "9.2.0",
      "targets": [
        {
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_PROMETHEUS_(CLOUD)}"
          },
          "editorMode": "code",
          "exemplar": true,
          "expr": "avg(rate(counter_status_500_orders{app=\"sockshop\"}[1h]))",
          "interval": "",
          "legendFormat": "5xx error rate - Orders",
          "range": true,
          "refId": "A"
        }
      ],
      "transparent": true,
      "type": "stat"
    },
    {
      "datasource": {
        "type": "prometheus",
        "uid": "${DS_PROMETHEUS_(CLOUD)}"
      },
      "description": "",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "links": [
            {
              "targetBlank": true,
              "title": "See Payment Declined Logs",
              "url": "https://se-demo.grafana.net/explore?left=%7B%22datasource%22:%22Prometheus%22,%22queries%22:%5B%7B%22exemplar%22:true,%22expr%22:%22avg(rate(counter_status_406_orders%7Bapp%3D%5C%22sockshop%5C%22%7D%5B1h%5D))%22,%22format%22:%22time_series%22,%22interval%22:%22%22,%22intervalFactor%22:2,%22refId%22:%22A%22,%22step%22:10%7D%5D,%22range%22:%7B%22from%22:%221650984763463%22,%22to%22:%221650986075064%22%7D%7D&orgId=1&right=%7B%22datasource%22:%22Loki%20(Cloud)%22,%22queries%22:%5B%7B%22refId%22:%22A%22,%22expr%22:%22%7Bcontainer%3D%5C%22orders%5C%22,prometheus_io_label_app%3D%5C%22sockshop%5C%22%7D%20%7C%3D%20%5C%22authorised%3Dfalse%5C%22%22,%22queryType%22:%22range%22%7D%5D,%22range%22:%7B%22from%22:%221650984107662%22,%22to%22:%221650985419263%22%7D%7D"
            }
          ],
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "orange",
                "value": null
              }
            ]
          }
        },
        "overrides": []
      },
      "gridPos": {
        "h": 5,
        "w": 4,
        "x": 3,
        "y": 1
      },
      "id": 20,
      "options": {
        "colorMode": "value",
        "graphMode": "area",
        "justifyMode": "auto",
        "orientation": "horizontal",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "text": {},
        "textMode": "value_and_name"
      },
      "pluginVersion": "9.2.0",
      "targets": [
        {
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_PROMETHEUS_(CLOUD)}"
          },
          "editorMode": "code",
          "exemplar": true,
          "expr": "avg(rate(counter_status_406_orders{app=\"sockshop\"}[1h]))",
          "interval": "",
          "legendFormat": "Payment Declined rate - Orders",
          "range": true,
          "refId": "A"
        }
      ],
      "transparent": true,
      "type": "stat"
    },
    {
      "datasource": {
        "type": "prometheus",
        "uid": "${DS_PROMETHEUS_(CLOUD)}"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "blue",
                "value": null
              },
              {
                "color": "orange",
                "value": 80
              }
            ]
          }
        },
        "overrides": []
      },
      "gridPos": {
        "h": 5,
        "w": 5,
        "x": 7,
        "y": 1
      },
      "id": 18,
      "options": {
        "colorMode": "value",
        "graphMode": "area",
        "justifyMode": "auto",
        "orientation": "horizontal",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "text": {},
        "textMode": "value_and_name"
      },
      "pluginVersion": "9.2.0",
      "targets": [
        {
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_PROMETHEUS_(CLOUD)}"
          },
          "editorMode": "code",
          "exemplar": true,
          "expr": "sum(rate(counter_status_201_shipping{}[1h]))",
          "interval": "",
          "legendFormat": "Request rate - Shipping",
          "range": true,
          "refId": "A"
        }
      ],
      "transparent": true,
      "type": "stat"
    },
    {
      "gridPos": {
        "h": 11,
        "w": 7,
        "x": 13,
        "y": 1
      },
      "id": 15,
      "libraryPanel": {
        "uid": "eqz00qNnk",
        "name": "95th percentile latency, Sockshop Application"
      }
    },
    {
      "description": "",
      "gridPos": {
        "h": 10,
        "w": 4,
        "x": 20,
        "y": 1
      },
      "id": 25,
      "options": {
        "code": {
          "language": "plaintext",
          "showLineNumbers": false,
          "showMiniMap": false
        },
        "content": "<center><h2>Sockshop Application</h2></center>\n<center><img src=\"https://www.downloadclipart.net/medium/socks-png-pic.png\" ></center>",
        "mode": "html"
      },
      "pluginVersion": "9.2.0",
      "transparent": true,
      "type": "text"
    },
    {
      "gridPos": {
        "h": 1,
        "w": 12,
        "x": 0,
        "y": 6
      },
      "id": 24,
      "libraryPanel": {
        "uid": "WvW1PDQnk",
        "name": "Blank Space"
      }
    },
    {
      "datasource": {
        "type": "prometheus",
        "uid": "${DS_PROMETHEUS_(CLOUD)}"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "links": [
            {
              "targetBlank": true,
              "title": "See Cart error logs",
              "url": "/explore?left=%7B%22datasource%22:%22Prometheus%22,%22queries%22:%5B%7B%22exemplar%22:true,%22expr%22:%22avg(rate(counter_status_500_carts_customerId_items%7Bapp%3D%5C%22sockshop%5C%22%7D%5B1h%5D))%22,%22format%22:%22time_series%22,%22interval%22:%22%22,%22intervalFactor%22:2,%22refId%22:%22A%22,%22step%22:10%7D%5D,%22range%22:%7B%22from%22:%221650984763463%22,%22to%22:%221650986075064%22%7D%7D&orgId=1&right=%7B%22datasource%22:%22Loki%20(Cloud)%22,%22queries%22:%5B%7B%22refId%22:%22A%22,%22expr%22:%22%7Bcontainer%3D%5C%22carts%5C%22,prometheus_io_label_app%3D%5C%22sockshop%5C%22%7D%20%7C%3D%20%5C%22ERROR%5C%22%22,%22queryType%22:%22range%22%7D%5D,%22range%22:%7B%22from%22:%221650984107662%22,%22to%22:%221650985419263%22%7D%7D"
            }
          ],
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "orange",
                "value": null
              }
            ]
          }
        },
        "overrides": []
      },
      "gridPos": {
        "h": 5,
        "w": 7,
        "x": 0,
        "y": 7
      },
      "id": 21,
      "options": {
        "colorMode": "value",
        "graphMode": "area",
        "justifyMode": "auto",
        "orientation": "horizontal",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "text": {},
        "textMode": "value_and_name"
      },
      "pluginVersion": "9.2.0",
      "targets": [
        {
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_PROMETHEUS_(CLOUD)}"
          },
          "editorMode": "code",
          "exemplar": true,
          "expr": "avg(rate(counter_status_500_carts_customerId_items{app=\"sockshop\"}[1h]))",
          "interval": "",
          "legendFormat": "5xx error rate - Carts",
          "range": true,
          "refId": "A"
        }
      ],
      "transparent": true,
      "type": "stat"
    },
    {
      "datasource": {
        "type": "prometheus",
        "uid": "${DS_PROMETHEUS_(CLOUD)}"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "blue",
                "value": null
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          }
        },
        "overrides": []
      },
      "gridPos": {
        "h": 5,
        "w": 5,
        "x": 7,
        "y": 7
      },
      "id": 29,
      "options": {
        "colorMode": "value",
        "graphMode": "area",
        "justifyMode": "auto",
        "orientation": "horizontal",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "text": {},
        "textMode": "value_and_name"
      },
      "pluginVersion": "9.2.0",
      "targets": [
        {
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_PROMETHEUS_(CLOUD)}"
          },
          "editorMode": "code",
          "exemplar": true,
          "expr": "avg(rate(counter_status_200_carts_customerId_items{app=\"sockshop\"}[1h]))",
          "interval": "",
          "legendFormat": "Item requests - Carts",
          "range": true,
          "refId": "A"
        }
      ],
      "transparent": true,
      "type": "stat"
    },
    {
      "gridPos": {
        "h": 1,
        "w": 4,
        "x": 20,
        "y": 11
      },
      "id": 30,
      "libraryPanel": {
        "uid": "WvW1PDQnk",
        "name": "Blank Space"
      }
    },
    {
      "gridPos": {
        "h": 1,
        "w": 17,
        "x": 0,
        "y": 12
      },
      "id": 32,
      "libraryPanel": {
        "uid": "WvW1PDQnk",
        "name": "Blank Space"
      }
    },
    {
      "datasource": {
        "type": "prometheus",
        "uid": "${DS_PROMETHEUS_(CLOUD)}"
      },
      "description": "",
      "fieldConfig": {
        "defaults": {
          "mappings": [
            {
              "options": {
                "0": {
                  "color": "orange",
                  "index": 1,
                  "text": "DOWN"
                },
                "1": {
                  "color": "blue",
                  "index": 0,
                  "text": "UP"
                }
              },
              "type": "value"
            },
            {
              "options": {
                "match": "null",
                "result": {
                  "index": 2,
                  "text": "N/A"
                }
              },
              "type": "special"
            }
          ]
        },
        "overrides": []
      },
      "gridPos": {
        "h": 10,
        "w": 4,
        "x": 19,
        "y": 12
      },
      "id": 27,
      "links": [],
      "mappingTypes": [
        {
          "$$hashKey": "object:1761",
          "name": "value to text",
          "value": 1
        },
        {
          "$$hashKey": "object:1762",
          "name": "range to text",
          "value": 2
        }
      ],
      "nullPointMode": "connected",
      "options": {
        "autoSizeColumns": true,
        "autoSizePolygons": true,
        "autoSizeRows": true,
        "compositeConfig": {
          "animationSpeed": "2500",
          "composites": [],
          "enabled": true
        },
        "ellipseCharacters": 18,
        "ellipseEnabled": false,
        "globalAutoScaleFonts": true,
        "globalClickthrough": "",
        "globalClickthroughNewTabEnabled": true,
        "globalClickthroughSanitizedEnabled": false,
        "globalDecimals": 2,
        "globalDisplayMode": "all",
        "globalDisplayTextTriggeredEmpty": "OK",
        "globalFillColor": "#0a50a1",
        "globalFontSize": 12,
        "globalGradientsEnabled": true,
        "globalOperator": "mean",
        "globalPolygonBorderColor": "black",
        "globalPolygonBorderSize": 1,
        "globalPolygonSize": 50,
        "globalRegexPattern": "",
        "globalShape": "hexagon_pointed_top",
        "globalShowValueEnabled": true,
        "globalTextFontAutoColor": "#000000",
        "globalTextFontAutoColorEnabled": true,
        "globalTextFontColor": "",
        "globalThresholdsConfig": [],
        "globalTooltipsEnabled": true,
        "globalTooltipsShowTimestampEnabled": true,
        "globalUnitFormat": "short",
        "layoutDisplayLimit": 100,
        "layoutNumColumns": 8,
        "layoutNumRows": 8,
        "overrideConfig": {
          "overrides": []
        },
        "panelId": 0,
        "radius": 100,
        "sortByDirection": 1,
        "sortByField": "name",
        "tooltipDisplayMode": "all",
        "tooltipDisplayTextTriggeredEmpty": "OK",
        "tooltipPrimarySortByField": "thresholdLevel",
        "tooltipPrimarySortDirection": 2,
        "tooltipSecondarySortByField": "value",
        "tooltipSecondarySortDirection": 2
      },
      "pluginVersion": "2.0.1",
      "targets": [
        {
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_PROMETHEUS_(CLOUD)}"
          },
          "exemplar": true,
          "expr": "up{app=\"sockshop\"}",
          "interval": "",
          "legendFormat": "{{container}}",
          "refId": "A"
        }
      ],
      "title": "K8s Service Status",
      "transparent": true,
      "type": "grafana-polystat-panel"
    },
    {
      "gridPos": {
        "h": 9,
        "w": 18,
        "x": 0,
        "y": 13
      },
      "id": 13,
      "libraryPanel": {
        "uid": "4WKrEvQ7k",
        "name": "Latency profile, Sockshop Application"
      }
    },
    {
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 22
      },
      "id": 31,
      "libraryPanel": {
        "uid": "WvW1PDQnk",
        "name": "Blank Space"
      }
    },
    {
      "collapsed": false,
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 23
      },
      "id": 9,
      "panels": [],
      "title": "Latency Details",
      "type": "row"
    },
    {
      "datasource": {
        "type": "prometheus",
        "uid": "${DS_PROMETHEUS_(CLOUD)}"
      },
      "description": "The following depicts application latencies for the Sockshop application (Carts service).  ",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "custom": {
            "axisCenteredZero": false,
            "axisColorMode": "text",
            "axisGridShow": true,
            "axisLabel": "",
            "axisPlacement": "auto",
            "barAlignment": 0,
            "drawStyle": "line",
            "fillOpacity": 100,
            "gradientMode": "none",
            "hideFrom": {
              "legend": false,
              "tooltip": false,
              "viz": false
            },
            "lineInterpolation": "linear",
            "lineStyle": {
              "fill": "solid"
            },
            "lineWidth": 0,
            "pointSize": 5,
            "scaleDistribution": {
              "type": "linear"
            },
            "showPoints": "auto",
            "spanNulls": true,
            "stacking": {
              "group": "A",
              "mode": "none"
            },
            "thresholdsStyle": {
              "mode": "line"
            }
          },
          "mappings": [
            {
              "options": {
                "500": {
                  "index": 0,
                  "text": "WARNING"
                },
                "1000": {
                  "index": 1,
                  "text": "CRITICAL"
                }
              },
              "type": "value"
            }
          ],
          "max": 200,
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "super-light-blue",
                "value": null
              },
              {
                "color": "#ffcb7d",
                "value": 100
              },
              {
                "color": "orange",
                "value": 150
              }
            ]
          },
          "unit": "ms"
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "catalogue"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "#5d7881",
                  "mode": "fixed"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "orders"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "#9bc9d7",
                  "mode": "fixed"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "payment"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "dark-red",
                  "mode": "fixed"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "shipping"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "super-light-green",
                  "mode": "fixed"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "carts"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "yellow",
                  "mode": "fixed"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "user"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "semi-dark-purple",
                  "mode": "fixed"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "99th"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "blue",
                  "mode": "fixed"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "95th"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "dark-purple",
                  "mode": "fixed"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "90th"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "orange",
                  "mode": "fixed"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "75th"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "dark-blue",
                  "mode": "fixed"
                }
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 11,
        "w": 8,
        "x": 0,
        "y": 24
      },
      "id": 2,
      "options": {
        "legend": {
          "calcs": [],
          "displayMode": "list",
          "placement": "bottom",
          "showLegend": true
        },
        "tooltip": {
          "mode": "single",
          "sort": "none"
        }
      },
      "targets": [
        {
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_PROMETHEUS_(CLOUD)}"
          },
          "exemplar": true,
          "expr": "histogram_quantile(0.99, sum(rate(request_duration_seconds_bucket{app=\"sockshop\", job=\"development/carts\"}[5m])) by (le)) * 1000",
          "interval": "",
          "legendFormat": "99th",
          "refId": "A"
        },
        {
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_PROMETHEUS_(CLOUD)}"
          },
          "exemplar": true,
          "expr": "histogram_quantile(0.95, sum(rate(request_duration_seconds_bucket{app=\"sockshop\", job=\"development/carts\"}[5m])) by (le)) * 1000",
          "hide": false,
          "interval": "",
          "legendFormat": "95th",
          "refId": "B"
        },
        {
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_PROMETHEUS_(CLOUD)}"
          },
          "exemplar": true,
          "expr": "histogram_quantile(0.90, sum(rate(request_duration_seconds_bucket{app=\"sockshop\", job=\"development/carts\"}[5m])) by (le)) * 1000",
          "hide": false,
          "interval": "",
          "legendFormat": "90th",
          "refId": "C"
        },
        {
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_PROMETHEUS_(CLOUD)}"
          },
          "exemplar": true,
          "expr": "histogram_quantile(0.75, sum(rate(request_duration_seconds_bucket{app=\"sockshop\", job=\"development/carts\"}[5m])) by (le)) * 1000",
          "hide": false,
          "interval": "",
          "legendFormat": "75th",
          "refId": "D"
        },
        {
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_PROMETHEUS_(CLOUD)}"
          },
          "exemplar": true,
          "expr": "histogram_quantile(0.5, sum(rate(request_duration_seconds_bucket{app=\"sockshop\", job=\"development/carts\"}[5m])) by (le)) * 1000",
          "hide": false,
          "interval": "",
          "legendFormat": "50th",
          "refId": "E"
        }
      ],
      "title": "Latency quantiles, Sockshop Application - Carts Service",
      "transformations": [
        {
          "id": "renameByRegex",
          "options": {
            "regex": "(.*)/(.*)",
            "renamePattern": "$2"
          }
        }
      ],
      "transparent": true,
      "type": "timeseries"
    },
    {
      "datasource": {
        "type": "prometheus",
        "uid": "${DS_PROMETHEUS_(CLOUD)}"
      },
      "description": "The following depicts application latencies for the Sockshop application (Catalogue service).  ",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "custom": {
            "axisCenteredZero": false,
            "axisColorMode": "text",
            "axisGridShow": true,
            "axisLabel": "",
            "axisPlacement": "auto",
            "barAlignment": 0,
            "drawStyle": "line",
            "fillOpacity": 100,
            "gradientMode": "none",
            "hideFrom": {
              "legend": false,
              "tooltip": false,
              "viz": false
            },
            "lineInterpolation": "linear",
            "lineStyle": {
              "fill": "solid"
            },
            "lineWidth": 0,
            "pointSize": 5,
            "scaleDistribution": {
              "type": "linear"
            },
            "showPoints": "auto",
            "spanNulls": true,
            "stacking": {
              "group": "A",
              "mode": "none"
            },
            "thresholdsStyle": {
              "mode": "line"
            }
          },
          "mappings": [
            {
              "options": {
                "500": {
                  "index": 0,
                  "text": "WARNING"
                },
                "1000": {
                  "index": 1,
                  "text": "CRITICAL"
                }
              },
              "type": "value"
            }
          ],
          "max": 200,
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "super-light-blue",
                "value": null
              },
              {
                "color": "#ffcb7d",
                "value": 100
              },
              {
                "color": "orange",
                "value": 150
              }
            ]
          },
          "unit": "ms"
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "catalogue"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "#5d7881",
                  "mode": "fixed"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "orders"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "#9bc9d7",
                  "mode": "fixed"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "payment"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "dark-red",
                  "mode": "fixed"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "shipping"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "super-light-green",
                  "mode": "fixed"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "carts"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "yellow",
                  "mode": "fixed"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "user"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "semi-dark-purple",
                  "mode": "fixed"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "99th"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "blue",
                  "mode": "fixed"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "95th"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "dark-purple",
                  "mode": "fixed"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "90th"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "orange",
                  "mode": "fixed"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "75th"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "dark-blue",
                  "mode": "fixed"
                }
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 11,
        "w": 8,
        "x": 8,
        "y": 24
      },
      "id": 5,
      "options": {
        "legend": {
          "calcs": [],
          "displayMode": "list",
          "placement": "bottom",
          "showLegend": true
        },
        "tooltip": {
          "mode": "single",
          "sort": "none"
        }
      },
      "targets": [
        {
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_PROMETHEUS_(CLOUD)}"
          },
          "exemplar": true,
          "expr": "histogram_quantile(0.99, sum(rate(request_duration_seconds_bucket{app=\"sockshop\", job=\"development/catalogue\"}[5m])) by (le)) * 1000",
          "interval": "",
          "legendFormat": "99th",
          "refId": "A"
        },
        {
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_PROMETHEUS_(CLOUD)}"
          },
          "exemplar": true,
          "expr": "histogram_quantile(0.95, sum(rate(request_duration_seconds_bucket{app=\"sockshop\", job=\"development/catalogue\"}[5m])) by (le)) * 1000",
          "hide": false,
          "interval": "",
          "legendFormat": "95th",
          "refId": "B"
        },
        {
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_PROMETHEUS_(CLOUD)}"
          },
          "exemplar": true,
          "expr": "histogram_quantile(0.90, sum(rate(request_duration_seconds_bucket{app=\"sockshop\", job=\"development/catalogue\"}[5m])) by (le)) * 1000",
          "hide": false,
          "interval": "",
          "legendFormat": "90th",
          "refId": "C"
        },
        {
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_PROMETHEUS_(CLOUD)}"
          },
          "exemplar": true,
          "expr": "histogram_quantile(0.75, sum(rate(request_duration_seconds_bucket{app=\"sockshop\", job=\"development/catalogue\"}[5m])) by (le)) * 1000",
          "hide": false,
          "interval": "",
          "legendFormat": "75th",
          "refId": "D"
        },
        {
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_PROMETHEUS_(CLOUD)}"
          },
          "exemplar": true,
          "expr": "histogram_quantile(0.5, sum(rate(request_duration_seconds_bucket{app=\"sockshop\", job=\"development/catalogue\"}[5m])) by (le)) * 1000",
          "hide": false,
          "interval": "",
          "legendFormat": "50th",
          "refId": "E"
        }
      ],
      "title": "Latency quantiles, Sockshop Application - Catalogue Service",
      "transformations": [
        {
          "id": "renameByRegex",
          "options": {
            "regex": "(.*)/(.*)",
            "renamePattern": "$2"
          }
        }
      ],
      "transparent": true,
      "type": "timeseries"
    },
    {
      "datasource": {
        "type": "prometheus",
        "uid": "${DS_PROMETHEUS_(CLOUD)}"
      },
      "description": "The following depicts application latencies for the Sockshop application (Orders service).  ",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "custom": {
            "axisCenteredZero": false,
            "axisColorMode": "text",
            "axisGridShow": true,
            "axisLabel": "",
            "axisPlacement": "auto",
            "barAlignment": 0,
            "drawStyle": "line",
            "fillOpacity": 100,
            "gradientMode": "none",
            "hideFrom": {
              "legend": false,
              "tooltip": false,
              "viz": false
            },
            "lineInterpolation": "linear",
            "lineStyle": {
              "fill": "solid"
            },
            "lineWidth": 0,
            "pointSize": 5,
            "scaleDistribution": {
              "type": "linear"
            },
            "showPoints": "auto",
            "spanNulls": true,
            "stacking": {
              "group": "A",
              "mode": "none"
            },
            "thresholdsStyle": {
              "mode": "line"
            }
          },
          "mappings": [
            {
              "options": {
                "500": {
                  "index": 0,
                  "text": "WARNING"
                },
                "1000": {
                  "index": 1,
                  "text": "CRITICAL"
                }
              },
              "type": "value"
            }
          ],
          "max": 200,
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "super-light-blue",
                "value": null
              },
              {
                "color": "#ffcb7d",
                "value": 100
              },
              {
                "color": "orange",
                "value": 150
              }
            ]
          },
          "unit": "ms"
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "catalogue"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "#5d7881",
                  "mode": "fixed"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "orders"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "#9bc9d7",
                  "mode": "fixed"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "payment"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "dark-red",
                  "mode": "fixed"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "shipping"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "super-light-green",
                  "mode": "fixed"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "carts"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "yellow",
                  "mode": "fixed"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "user"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "semi-dark-purple",
                  "mode": "fixed"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "99th"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "blue",
                  "mode": "fixed"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "95th"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "dark-purple",
                  "mode": "fixed"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "90th"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "orange",
                  "mode": "fixed"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "75th"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "dark-blue",
                  "mode": "fixed"
                }
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 11,
        "w": 8,
        "x": 16,
        "y": 24
      },
      "id": 4,
      "options": {
        "legend": {
          "calcs": [],
          "displayMode": "list",
          "placement": "bottom",
          "showLegend": true
        },
        "tooltip": {
          "mode": "single",
          "sort": "none"
        }
      },
      "targets": [
        {
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_PROMETHEUS_(CLOUD)}"
          },
          "exemplar": true,
          "expr": "histogram_quantile(0.99, sum(rate(request_duration_seconds_bucket{app=\"sockshop\", job=\"development/orders\"}[5m])) by (le)) * 1000",
          "interval": "",
          "legendFormat": "99th",
          "refId": "A"
        },
        {
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_PROMETHEUS_(CLOUD)}"
          },
          "exemplar": true,
          "expr": "histogram_quantile(0.95, sum(rate(request_duration_seconds_bucket{app=\"sockshop\", job=\"development/orders\"}[5m])) by (le)) * 1000",
          "hide": false,
          "interval": "",
          "legendFormat": "95th",
          "refId": "B"
        },
        {
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_PROMETHEUS_(CLOUD)}"
          },
          "exemplar": true,
          "expr": "histogram_quantile(0.90, sum(rate(request_duration_seconds_bucket{app=\"sockshop\", job=\"development/orders\"}[5m])) by (le)) * 1000",
          "hide": false,
          "interval": "",
          "legendFormat": "90th",
          "refId": "C"
        },
        {
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_PROMETHEUS_(CLOUD)}"
          },
          "exemplar": true,
          "expr": "histogram_quantile(0.75, sum(rate(request_duration_seconds_bucket{app=\"sockshop\", job=\"development/orders\"}[5m])) by (le)) * 1000",
          "hide": false,
          "interval": "",
          "legendFormat": "75th",
          "refId": "D"
        },
        {
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_PROMETHEUS_(CLOUD)}"
          },
          "exemplar": true,
          "expr": "histogram_quantile(0.5, sum(rate(request_duration_seconds_bucket{app=\"sockshop\", job=\"development/orders\"}[5m])) by (le)) * 1000",
          "hide": false,
          "interval": "",
          "legendFormat": "50th",
          "refId": "E"
        }
      ],
      "title": "Latency quantiles, Sockshop Application - Orders Service",
      "transformations": [
        {
          "id": "renameByRegex",
          "options": {
            "regex": "(.*)/(.*)",
            "renamePattern": "$2"
          }
        }
      ],
      "transparent": true,
      "type": "timeseries"
    },
    {
      "datasource": {
        "type": "prometheus",
        "uid": "${DS_PROMETHEUS_(CLOUD)}"
      },
      "description": "The following depicts application latencies for the Sockshop application (Payment service).  ",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "custom": {
            "axisCenteredZero": false,
            "axisColorMode": "text",
            "axisGridShow": true,
            "axisLabel": "",
            "axisPlacement": "auto",
            "barAlignment": 0,
            "drawStyle": "line",
            "fillOpacity": 100,
            "gradientMode": "none",
            "hideFrom": {
              "legend": false,
              "tooltip": false,
              "viz": false
            },
            "lineInterpolation": "linear",
            "lineStyle": {
              "fill": "solid"
            },
            "lineWidth": 0,
            "pointSize": 5,
            "scaleDistribution": {
              "type": "linear"
            },
            "showPoints": "auto",
            "spanNulls": true,
            "stacking": {
              "group": "A",
              "mode": "none"
            },
            "thresholdsStyle": {
              "mode": "line"
            }
          },
          "mappings": [
            {
              "options": {
                "500": {
                  "index": 0,
                  "text": "WARNING"
                },
                "1000": {
                  "index": 1,
                  "text": "CRITICAL"
                }
              },
              "type": "value"
            }
          ],
          "max": 200,
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "super-light-blue",
                "value": null
              },
              {
                "color": "#ffcb7d",
                "value": 100
              },
              {
                "color": "orange",
                "value": 150
              }
            ]
          },
          "unit": "ms"
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "catalogue"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "#5d7881",
                  "mode": "fixed"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "orders"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "#9bc9d7",
                  "mode": "fixed"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "payment"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "dark-red",
                  "mode": "fixed"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "shipping"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "super-light-green",
                  "mode": "fixed"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "carts"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "yellow",
                  "mode": "fixed"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "user"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "semi-dark-purple",
                  "mode": "fixed"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "99th"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "blue",
                  "mode": "fixed"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "95th"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "dark-purple",
                  "mode": "fixed"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "90th"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "orange",
                  "mode": "fixed"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "75th"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "dark-blue",
                  "mode": "fixed"
                }
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 11,
        "w": 8,
        "x": 0,
        "y": 35
      },
      "id": 3,
      "options": {
        "legend": {
          "calcs": [],
          "displayMode": "list",
          "placement": "bottom",
          "showLegend": true
        },
        "tooltip": {
          "mode": "single",
          "sort": "none"
        }
      },
      "targets": [
        {
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_PROMETHEUS_(CLOUD)}"
          },
          "exemplar": true,
          "expr": "histogram_quantile(0.99, sum(rate(request_duration_seconds_bucket{app=\"sockshop\", job=\"development/payment\"}[5m])) by (le)) * 1000",
          "interval": "",
          "legendFormat": "99th",
          "refId": "A"
        },
        {
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_PROMETHEUS_(CLOUD)}"
          },
          "exemplar": true,
          "expr": "histogram_quantile(0.95, sum(rate(request_duration_seconds_bucket{app=\"sockshop\", job=\"development/payment\"}[5m])) by (le)) * 1000",
          "hide": false,
          "interval": "",
          "legendFormat": "95th",
          "refId": "B"
        },
        {
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_PROMETHEUS_(CLOUD)}"
          },
          "exemplar": true,
          "expr": "histogram_quantile(0.90, sum(rate(request_duration_seconds_bucket{app=\"sockshop\", job=\"development/payment\"}[5m])) by (le)) * 1000",
          "hide": false,
          "interval": "",
          "legendFormat": "90th",
          "refId": "C"
        },
        {
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_PROMETHEUS_(CLOUD)}"
          },
          "exemplar": true,
          "expr": "histogram_quantile(0.75, sum(rate(request_duration_seconds_bucket{app=\"sockshop\", job=\"development/payment\"}[5m])) by (le)) * 1000",
          "hide": false,
          "interval": "",
          "legendFormat": "75th",
          "refId": "D"
        },
        {
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_PROMETHEUS_(CLOUD)}"
          },
          "exemplar": true,
          "expr": "histogram_quantile(0.5, sum(rate(request_duration_seconds_bucket{app=\"sockshop\", job=\"development/payment\"}[5m])) by (le)) * 1000",
          "hide": false,
          "interval": "",
          "legendFormat": "50th",
          "refId": "E"
        }
      ],
      "title": "Latency quantiles, Sockshop Application - Payment Service",
      "transformations": [
        {
          "id": "renameByRegex",
          "options": {
            "regex": "(.*)/(.*)",
            "renamePattern": "$2"
          }
        }
      ],
      "transparent": true,
      "type": "timeseries"
    },
    {
      "datasource": {
        "type": "prometheus",
        "uid": "${DS_PROMETHEUS_(CLOUD)}"
      },
      "description": "The following depicts application latencies for the Sockshop application (Shipping service).  ",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "custom": {
            "axisCenteredZero": false,
            "axisColorMode": "text",
            "axisGridShow": true,
            "axisLabel": "",
            "axisPlacement": "auto",
            "barAlignment": 0,
            "drawStyle": "line",
            "fillOpacity": 100,
            "gradientMode": "none",
            "hideFrom": {
              "legend": false,
              "tooltip": false,
              "viz": false
            },
            "lineInterpolation": "linear",
            "lineStyle": {
              "fill": "solid"
            },
            "lineWidth": 0,
            "pointSize": 5,
            "scaleDistribution": {
              "type": "linear"
            },
            "showPoints": "auto",
            "spanNulls": true,
            "stacking": {
              "group": "A",
              "mode": "none"
            },
            "thresholdsStyle": {
              "mode": "line"
            }
          },
          "mappings": [
            {
              "options": {
                "500": {
                  "index": 0,
                  "text": "WARNING"
                },
                "1000": {
                  "index": 1,
                  "text": "CRITICAL"
                }
              },
              "type": "value"
            }
          ],
          "max": 200,
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "super-light-blue",
                "value": null
              },
              {
                "color": "#ffcb7d",
                "value": 100
              },
              {
                "color": "orange",
                "value": 150
              }
            ]
          },
          "unit": "ms"
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "catalogue"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "#5d7881",
                  "mode": "fixed"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "orders"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "#9bc9d7",
                  "mode": "fixed"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "payment"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "dark-red",
                  "mode": "fixed"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "shipping"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "super-light-green",
                  "mode": "fixed"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "carts"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "yellow",
                  "mode": "fixed"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "user"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "semi-dark-purple",
                  "mode": "fixed"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "99th"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "blue",
                  "mode": "fixed"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "95th"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "dark-purple",
                  "mode": "fixed"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "90th"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "orange",
                  "mode": "fixed"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "75th"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "dark-blue",
                  "mode": "fixed"
                }
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 11,
        "w": 8,
        "x": 8,
        "y": 35
      },
      "id": 6,
      "options": {
        "legend": {
          "calcs": [],
          "displayMode": "list",
          "placement": "bottom",
          "showLegend": true
        },
        "tooltip": {
          "mode": "single",
          "sort": "none"
        }
      },
      "targets": [
        {
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_PROMETHEUS_(CLOUD)}"
          },
          "exemplar": true,
          "expr": "histogram_quantile(0.99, sum(rate(request_duration_seconds_bucket{app=\"sockshop\", job=\"development/shipping\"}[5m])) by (le)) * 1000",
          "interval": "",
          "legendFormat": "99th",
          "refId": "A"
        },
        {
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_PROMETHEUS_(CLOUD)}"
          },
          "exemplar": true,
          "expr": "histogram_quantile(0.95, sum(rate(request_duration_seconds_bucket{app=\"sockshop\", job=\"development/shipping\"}[5m])) by (le)) * 1000",
          "hide": false,
          "interval": "",
          "legendFormat": "95th",
          "refId": "B"
        },
        {
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_PROMETHEUS_(CLOUD)}"
          },
          "exemplar": true,
          "expr": "histogram_quantile(0.90, sum(rate(request_duration_seconds_bucket{app=\"sockshop\", job=\"development/shipping\"}[5m])) by (le)) * 1000",
          "hide": false,
          "interval": "",
          "legendFormat": "90th",
          "refId": "C"
        },
        {
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_PROMETHEUS_(CLOUD)}"
          },
          "exemplar": true,
          "expr": "histogram_quantile(0.75, sum(rate(request_duration_seconds_bucket{app=\"sockshop\", job=\"development/shipping\"}[5m])) by (le)) * 1000",
          "hide": false,
          "interval": "",
          "legendFormat": "75th",
          "refId": "D"
        },
        {
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_PROMETHEUS_(CLOUD)}"
          },
          "exemplar": true,
          "expr": "histogram_quantile(0.5, sum(rate(request_duration_seconds_bucket{app=\"sockshop\", job=\"development/shipping\"}[5m])) by (le)) * 1000",
          "hide": false,
          "interval": "",
          "legendFormat": "50th",
          "refId": "E"
        }
      ],
      "title": "Latency quantiles, Sockshop Application - Shipping Service",
      "transformations": [
        {
          "id": "renameByRegex",
          "options": {
            "regex": "(.*)/(.*)",
            "renamePattern": "$2"
          }
        }
      ],
      "transparent": true,
      "type": "timeseries"
    },
    {
      "datasource": {
        "type": "prometheus",
        "uid": "${DS_PROMETHEUS_(CLOUD)}"
      },
      "description": "The following depicts application latencies for the Sockshop application (User service).  ",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "custom": {
            "axisCenteredZero": false,
            "axisColorMode": "text",
            "axisGridShow": true,
            "axisLabel": "",
            "axisPlacement": "auto",
            "barAlignment": 0,
            "drawStyle": "line",
            "fillOpacity": 100,
            "gradientMode": "none",
            "hideFrom": {
              "legend": false,
              "tooltip": false,
              "viz": false
            },
            "lineInterpolation": "linear",
            "lineStyle": {
              "fill": "solid"
            },
            "lineWidth": 0,
            "pointSize": 5,
            "scaleDistribution": {
              "type": "linear"
            },
            "showPoints": "auto",
            "spanNulls": true,
            "stacking": {
              "group": "A",
              "mode": "none"
            },
            "thresholdsStyle": {
              "mode": "line"
            }
          },
          "mappings": [
            {
              "options": {
                "500": {
                  "index": 0,
                  "text": "WARNING"
                },
                "1000": {
                  "index": 1,
                  "text": "CRITICAL"
                }
              },
              "type": "value"
            }
          ],
          "max": 200,
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "super-light-blue",
                "value": null
              },
              {
                "color": "#ffcb7d",
                "value": 100
              },
              {
                "color": "orange",
                "value": 150
              }
            ]
          },
          "unit": "ms"
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "catalogue"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "#5d7881",
                  "mode": "fixed"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "orders"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "#9bc9d7",
                  "mode": "fixed"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "payment"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "dark-red",
                  "mode": "fixed"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "shipping"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "super-light-green",
                  "mode": "fixed"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "carts"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "yellow",
                  "mode": "fixed"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "user"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "semi-dark-purple",
                  "mode": "fixed"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "99th"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "blue",
                  "mode": "fixed"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "95th"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "dark-purple",
                  "mode": "fixed"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "90th"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "orange",
                  "mode": "fixed"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "75th"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "dark-blue",
                  "mode": "fixed"
                }
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 11,
        "w": 8,
        "x": 16,
        "y": 35
      },
      "id": 7,
      "options": {
        "legend": {
          "calcs": [],
          "displayMode": "list",
          "placement": "bottom",
          "showLegend": true
        },
        "tooltip": {
          "mode": "single",
          "sort": "none"
        }
      },
      "targets": [
        {
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_PROMETHEUS_(CLOUD)}"
          },
          "exemplar": true,
          "expr": "histogram_quantile(0.99, sum(rate(request_duration_seconds_bucket{app=\"sockshop\", job=\"development/user\"}[5m])) by (le)) * 1000",
          "interval": "",
          "legendFormat": "99th",
          "refId": "A"
        },
        {
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_PROMETHEUS_(CLOUD)}"
          },
          "exemplar": true,
          "expr": "histogram_quantile(0.95, sum(rate(request_duration_seconds_bucket{app=\"sockshop\", job=\"development/user\"}[5m])) by (le)) * 1000",
          "hide": false,
          "interval": "",
          "legendFormat": "95th",
          "refId": "B"
        },
        {
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_PROMETHEUS_(CLOUD)}"
          },
          "exemplar": true,
          "expr": "histogram_quantile(0.90, sum(rate(request_duration_seconds_bucket{app=\"sockshop\", job=\"development/user\"}[5m])) by (le)) * 1000",
          "hide": false,
          "interval": "",
          "legendFormat": "90th",
          "refId": "C"
        },
        {
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_PROMETHEUS_(CLOUD)}"
          },
          "exemplar": true,
          "expr": "histogram_quantile(0.75, sum(rate(request_duration_seconds_bucket{app=\"sockshop\", job=\"development/user\"}[5m])) by (le)) * 1000",
          "hide": false,
          "interval": "",
          "legendFormat": "75th",
          "refId": "D"
        },
        {
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_PROMETHEUS_(CLOUD)}"
          },
          "exemplar": true,
          "expr": "histogram_quantile(0.5, sum(rate(request_duration_seconds_bucket{app=\"sockshop\", job=\"development/user\"}[5m])) by (le)) * 1000",
          "hide": false,
          "interval": "",
          "legendFormat": "50th",
          "refId": "E"
        }
      ],
      "title": "Latency quantiles, Sockshop Application - User Service",
      "transformations": [
        {
          "id": "renameByRegex",
          "options": {
            "regex": "(.*)/(.*)",
            "renamePattern": "$2"
          }
        }
      ],
      "transparent": true,
      "type": "timeseries"
    }
  ],
  "schemaVersion": 37,
  "style": "dark",
  "tags": [],
  "templating": {
    "list": []
  },
  "time": {
    "from": "now-6h",
    "to": "now"
  },
  "timepicker": {},
  "timezone": "",
  "title": "Sockshop Performance",
  "uid": "b2kdXLwnz",
  "version": 15,
  "weekStart": "",
  "gnetId": 16416
}