Grafana dashboard: Lightstep Streams
Description: Visualize Lightstep streams

See [https://github.com/lightstep/lightstep-grafana-plugin](https://github.com/lightstep/lightstep-grafana-plugin) for more details

{
  "__inputs": [
    {
      "name": "DS_LIGHTSTEP",
      "label": "lightstep",
      "description": "Lightstep Datasource",
      "type": "datasource",
      "pluginId": "grafana-lightstep-datasource",
      "pluginName": "Lightstep"
    }
  ],
  "__requires": [
    {
      "type": "grafana",
      "id": "grafana",
      "name": "Grafana",
      "version": "8.1.3"
    },
    {
      "type": "datasource",
      "id": "grafana-lightstep-datasource",
      "name": "Lightstep",
      "version": "1.4.4"
    },
    {
      "type": "panel",
      "id": "text",
      "name": "Text",
      "version": ""
    },
    {
      "type": "panel",
      "id": "timeseries",
      "name": "Time series",
      "version": ""
    }
  ],
  "annotations": {
    "list": [
      {
        "builtIn": 1,
        "datasource": "-- Grafana --",
        "enable": true,
        "hide": true,
        "iconColor": "rgba(0, 211, 255, 1)",
        "name": "Annotations & Alerts",
        "target": {
          "limit": 100,
          "matchAny": false,
          "tags": [],
          "type": "dashboard"
        },
        "type": "dashboard"
      }
    ]
  },
  "description": "Visualize Lightstep streams",
  "editable": false,
  "gnetId": 15013,
  "graphTooltip": 0,
  "id": null,
  "iteration": 1631706061287,
  "links": [],
  "panels": [
    {
      "datasource": "${DS_LIGHTSTEP}",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "custom": {
            "axisLabel": "",
            "axisPlacement": "auto",
            "barAlignment": 0,
            "drawStyle": "line",
            "fillOpacity": 0,
            "gradientMode": "none",
            "hideFrom": {
              "legend": false,
              "tooltip": false,
              "viz": false
            },
            "lineInterpolation": "linear",
            "lineWidth": 1,
            "pointSize": 5,
            "scaleDistribution": {
              "type": "linear"
            },
            "showPoints": "never",
            "spanNulls": false,
            "stacking": {
              "group": "A",
              "mode": "none"
            },
            "thresholdsStyle": {
              "mode": "off"
            }
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          },
          "unit": "ms"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 8,
        "w": 24,
        "x": 0,
        "y": 0
      },
      "id": 2,
      "options": {
        "legend": {
          "calcs": [
            "min",
            "max",
            "mean"
          ],
          "displayMode": "table",
          "placement": "bottom"
        },
        "tooltip": {
          "mode": "single"
        }
      },
      "targets": [
        {
          "displayName": "",
          "percentiles": [
            "50",
            "99",
            "99.9",
            "99.99"
          ],
          "refId": "A",
          "showErrorCounts": false,
          "showErrorCountsAsRate": false,
          "showExemplars": false,
          "showOpsCounts": false,
          "target": "$streamid",
          "type": "timeserie"
        }
      ],
      "title": "$stream latency percentiles",
      "type": "timeseries"
    },
    {
      "datasource": "${DS_LIGHTSTEP}",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "custom": {
            "axisLabel": "",
            "axisPlacement": "auto",
            "barAlignment": 0,
            "drawStyle": "line",
            "fillOpacity": 0,
            "gradientMode": "none",
            "hideFrom": {
              "legend": false,
              "tooltip": false,
              "viz": false
            },
            "lineInterpolation": "linear",
            "lineWidth": 1,
            "pointSize": 5,
            "scaleDistribution": {
              "type": "linear"
            },
            "showPoints": "never",
            "spanNulls": false,
            "stacking": {
              "group": "A",
              "mode": "none"
            },
            "thresholdsStyle": {
              "mode": "off"
            }
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          }
        },
        "overrides": []
      },
      "gridPos": {
        "h": 8,
        "w": 24,
        "x": 0,
        "y": 8
      },
      "id": 3,
      "options": {
        "legend": {
          "calcs": [
            "min",
            "max",
            "mean",
            "sum"
          ],
          "displayMode": "table",
          "placement": "bottom"
        },
        "tooltip": {
          "mode": "single"
        }
      },
      "targets": [
        {
          "displayName": "",
          "percentiles": "",
          "refId": "A",
          "resolution": "",
          "showErrorCounts": true,
          "showErrorCountsAsRate": false,
          "showExemplars": false,
          "showOpsCounts": true,
          "target": "$streamid",
          "type": "timeserie"
        }
      ],
      "title": "$stream counts",
      "type": "timeseries"
    },
    {
      "datasource": "${DS_LIGHTSTEP}",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "custom": {
            "axisLabel": "",
            "axisPlacement": "auto",
            "barAlignment": 0,
            "drawStyle": "line",
            "fillOpacity": 0,
            "gradientMode": "none",
            "hideFrom": {
              "legend": false,
              "tooltip": false,
              "viz": false
            },
            "lineInterpolation": "linear",
            "lineWidth": 1,
            "pointSize": 5,
            "scaleDistribution": {
              "type": "linear"
            },
            "showPoints": "never",
            "spanNulls": false,
            "stacking": {
              "group": "A",
              "mode": "none"
            },
            "thresholdsStyle": {
              "mode": "off"
            }
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          }
        },
        "overrides": []
      },
      "gridPos": {
        "h": 8,
        "w": 24,
        "x": 0,
        "y": 16
      },
      "id": 6,
      "options": {
        "legend": {
          "calcs": [
            "min",
            "max",
            "mean",
            "sum"
          ],
          "displayMode": "table",
          "placement": "bottom"
        },
        "tooltip": {
          "mode": "single"
        }
      },
      "targets": [
        {
          "displayName": "",
          "percentiles": "",
          "refId": "A",
          "resolution": "",
          "showErrorCounts": false,
          "showErrorCountsAsRate": false,
          "showExemplars": true,
          "showOpsCounts": false,
          "target": "$streamid",
          "type": "timeserie"
        }
      ],
      "title": "$stream traces",
      "type": "timeseries"
    },
    {
      "datasource": null,
      "editable": true,
      "error": false,
      "gridPos": {
        "h": 3,
        "w": 24,
        "x": 0,
        "y": 24
      },
      "id": 5,
      "links": [],
      "options": {
        "content": "<a href=\"http://www.monitoringartist.com\" target=\"_blank\" title=\"Dashboard maintained by Monitoring Artist - DevOps / Docker / Kubernetes / AWS ECS / Google GCP / Zabbix / Zenoss / Terraform / Monitoring\"><img src=\"https://monitoringartist.github.io/monitoring-artist-logo-grafana.png\" height=\"30px\" /></a> | \n<a target=\"_blank\" href=\"https://github.com/lightstep/lightstep-grafana-plugin\">Grafana Lightstep plugin documentation</a> | \n<a target=\"_blank\" href=\"https://grafana.com/dashboards/15013\">Installed from Grafana.com dashboards</a>",
        "mode": "html"
      },
      "pluginVersion": "8.1.3",
      "title": "Documentation",
      "type": "text"
    }
  ],
  "schemaVersion": 30,
  "style": "dark",
  "tags": [
    "monitoringartist",
    "lightstep"
  ],
  "templating": {
    "list": [
      {
        "allValue": null,
        "current": {},
        "datasource": "${DS_LIGHTSTEP}",
        "definition": "attributes(name)",
        "description": null,
        "error": null,
        "hide": 0,
        "includeAll": false,
        "label": "Stream",
        "multi": false,
        "name": "stream",
        "options": [],
        "query": "attributes(name)",
        "refresh": 1,
        "regex": "",
        "skipUrlSync": false,
        "sort": 1,
        "type": "query"
      },
      {
        "allValue": null,
        "current": {},
        "datasource": "${DS_LIGHTSTEP}",
        "definition": "stream_ids(name=\"$stream\")",
        "description": null,
        "error": null,
        "hide": 2,
        "includeAll": false,
        "label": "Stream ID",
        "multi": false,
        "name": "streamid",
        "options": [],
        "query": "stream_ids(name=\"$stream\")",
        "refresh": 1,
        "regex": "",
        "skipUrlSync": false,
        "sort": 1,
        "type": "query"
      }
    ]
  },
  "time": {
    "from": "now-15m",
    "to": "now"
  },
  "timepicker": {},
  "timezone": "",
  "title": "Lightstep Streams",
  "uid": "lightstep",
  "version": 1
}