{
  "annotations": { "list": [] },
  "editable": true,
  "fiscalYearStartMonth": 0,
  "graphTooltip": 1,
  "id": null,
  "links": [],
  "liveNow": false,
  "panels": [
    {
      "id": 1, "title": "Events/sec", "type": "timeseries",
      "gridPos": { "h": 6, "w": 8, "x": 0, "y": 0 },
      "datasource": { "type": "loki", "uid": "bfowk7qjoccu8b" },
      "targets": [ { "expr": "sum(count_over_time({app=\"farmafinder-mobile\"}[5m]))", "legendFormat": "events/s" } ]
    },
    {
      "id": 2, "title": "Active sessions", "type": "timeseries",
      "gridPos": { "h": 6, "w": 8, "x": 8, "y": 0 },
      "datasource": { "type": "loki", "uid": "bfowk7qjoccu8b" },
      "targets": [ { "expr": "count(count by (session_id) (count_over_time({app=\"farmafinder-mobile\"}[5m])))", "legendFormat": "sessions" } ]
    },
    {
      "id": 3, "title": "Errors/sec", "type": "timeseries",
      "gridPos": { "h": 6, "w": 8, "x": 16, "y": 0 },
      "datasource": { "type": "loki", "uid": "bfowk7qjoccu8b" },
      "targets": [ { "expr": "sum(count_over_time({app=\"farmafinder-mobile\"} |~ \"(?i)error|exception|crash\"[5m]))", "legendFormat": "errors/s" } ]
    },
    {
      "id": 4, "title": "Events by type", "type": "timeseries",
      "gridPos": { "h": 7, "w": 12, "x": 0, "y": 6 },
      "datasource": { "type": "loki", "uid": "bfowk7qjoccu8b" },
      "targets": [ { "expr": "sum by (type) (count_over_time({app=\"farmafinder-mobile\"}[5m]))", "legendFormat": "{{type}}" } ]
    },
    {
      "id": 5, "title": "Top error messages", "type": "timeseries",
      "gridPos": { "h": 7, "w": 12, "x": 12, "y": 6 },
      "datasource": { "type": "loki", "uid": "bfowk7qjoccu8b" },
      "targets": [ { "expr": "sum by (message) (count_over_time({app=\"farmafinder-mobile\"} |~ \"(?i)error|exception|crash\"[5m]))", "legendFormat": "{{message}}" } ]
    },
    {
      "id": 6, "title": "Recent logs", "type": "logs",
      "gridPos": { "h": 10, "w": 24, "x": 0, "y": 13 },
      "datasource": { "type": "loki", "uid": "bfowk7qjoccu8b" },
      "targets": [ { "expr": "{app=\"farmafinder-mobile\"}", "legendFormat": "" } ]
    }
  ],
  "schemaVersion": 39,
  "style": "dark",
  "tags": ["farmafinder", "mobile", "rum"],
  "templating": { "list": [] },
  "time": { "from": "now-6h", "to": "now" },
  "timepicker": {},
  "timezone": "browser",
  "title": "FarmaFinder — Mobile RUM",
  "uid": "farmafinder-mobile-rum",
  "version": 1,
  "weekStart": ""
}
