Grafana dashboard: Summary
Description: Show a summary of a Scipion project

DashBoard used for visualizing scipion (scipion.i2pc.es) activity. See https://scipion-em.github.io/docs/release-3.0.0/docs/facilities/customize-report for details.

{
  "__inputs": [
    {
      "name": "DS_INFLUXDB-SCIPION",
      "label": "InfluxDB-scipion",
      "description": "InfluxDB create by monitor-summary in Scipion",
      "type": "datasource",
      "pluginId": "influxdb",
      "pluginName": "InfluxDB"
    }
  ],
  "__requires": [
    {
      "type": "grafana",
      "id": "grafana",
      "name": "Grafana",
      "version": "6.7.3"
    },
    {
      "type": "datasource",
      "id": "influxdb",
      "name": "InfluxDB",
      "version": "1.0.0"
    },
    {
      "type": "panel",
      "id": "table",
      "name": "Table",
      "version": ""
    },
    {
      "type": "panel",
      "id": "text",
      "name": "Text",
      "version": ""
    }
  ],
  "annotations": {
    "list": [
      {
        "$$hashKey": "object:185",
        "builtIn": 1,
        "datasource": "-- Grafana --",
        "enable": true,
        "hide": true,
        "iconColor": "rgba(0, 211, 255, 1)",
        "name": "Annotations & Alerts",
        "type": "dashboard"
      }
    ]
  },
  "description": "Show a summary of a Scipion project",
  "editable": true,
  "gnetId": 12351,
  "graphTooltip": 0,
  "id": null,
  "iteration": 1590315955467,
  "links": [],
  "panels": [
    {
      "content": "<a href=\"/d/oYW5BSeWz/summary?var-project=$project\">Summary</a>\n<a href=\"/d/Dcl-hZeWk/CTF?var-project=$project\">CTF</a>\n<a href=\"/d/Vv8YVFeZz/system?var-project=$project\">System</a>\n<a href=\"/d/QIlzBA6Zz/gain?var-project=$project\">Gain</a>\n<a href=\"/d/50ya60eZz/gallery?var-project=$project\">Images</a>\n\n<style>\n.panel-title-container {\n    font-size: Large;\n    color: firebrick;\n    // text-decoration: underline;\n    // text-decoration-color: firebrick;\n}\n\n\n.table-panel-header-bg {\n  height: 0em;\n}\n\n.table-panel-color-cell{\n  color: red;\n}\n",
      "datasource": "${DS_INFLUXDB-SCIPION}",
      "gridPos": {
        "h": 2,
        "w": 6,
        "x": 0,
        "y": 0
      },
      "id": 22,
      "mode": "html",
      "timeFrom": null,
      "timeShift": null,
      "title": "Links to dashboards",
      "type": "text"
    },
    {
      "content": "",
      "datasource": "${DS_INFLUXDB-SCIPION}",
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 2
      },
      "id": 13,
      "mode": "markdown",
      "timeFrom": null,
      "timeShift": null,
      "title": "General Information",
      "type": "text"
    },
    {
      "columns": [],
      "datasource": "${DS_INFLUXDB-SCIPION}",
      "description": "Scipion Project properties,",
      "fontSize": "100%",
      "gridPos": {
        "h": 7,
        "w": 9,
        "x": 0,
        "y": 3
      },
      "id": 2,
      "pageSize": null,
      "repeat": null,
      "repeatDirection": "h",
      "showHeader": true,
      "sort": {
        "col": 0,
        "desc": true
      },
      "styles": [
        {
          "$$hashKey": "object:489",
          "alias": "Time",
          "align": "auto",
          "dateFormat": "YYYY-MM-DD HH:mm:ss",
          "pattern": "Time",
          "type": "hidden"
        },
        {
          "$$hashKey": "object:770",
          "alias": "  ",
          "align": "auto",
          "colorMode": "row",
          "colors": [
            "#E02F44",
            "rgba(237, 129, 40, 0.89)",
            "rgba(50, 172, 45, 0.97)"
          ],
          "dateFormat": "YYYY-MM-DD HH:mm:ss",
          "decimals": 2,
          "link": false,
          "mappingType": 1,
          "pattern": "value",
          "preserveFormat": false,
          "sanitize": false,
          "thresholds": [],
          "type": "string",
          "unit": "short"
        },
        {
          "$$hashKey": "object:805",
          "alias": " ",
          "align": "auto",
          "colorMode": null,
          "colors": [
            "rgba(245, 54, 54, 0.9)",
            "rgba(237, 129, 40, 0.89)",
            "rgba(50, 172, 45, 0.97)"
          ],
          "dateFormat": "YYYY-MM-DD HH:mm:ss",
          "decimals": 2,
          "link": false,
          "mappingType": 1,
          "pattern": "metric",
          "preserveFormat": false,
          "sanitize": true,
          "thresholds": [],
          "type": "string",
          "unit": "short"
        }
      ],
      "targets": [
        {
          "alias": "",
          "groupBy": [],
          "hide": false,
          "measurement": "/^$project$/",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT \"metric\" AS \"metric\", \"valueStr\" AS \"value\" FROM /^$project$/ WHERE (\"section\" = 'properties')",
          "rawQuery": true,
          "refId": "A",
          "resultFormat": "table",
          "select": [
            [
              {
                "params": [
                  "metric"
                ],
                "type": "field"
              },
              {
                "params": [
                  "metric"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "valueStr"
                ],
                "type": "field"
              },
              {
                "params": [
                  "value"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": [
            {
              "key": "section",
              "operator": "=",
              "value": "properties"
            }
          ]
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "Project Properties",
      "transform": "table",
      "type": "table"
    },
    {
      "columns": [],
      "datasource": "${DS_INFLUXDB-SCIPION}",
      "description": "",
      "fontSize": "100%",
      "gridPos": {
        "h": 14,
        "w": 15,
        "x": 9,
        "y": 3
      },
      "id": 7,
      "pageSize": null,
      "showHeader": true,
      "sort": {
        "col": 0,
        "desc": true
      },
      "styles": [
        {
          "$$hashKey": "object:1113",
          "alias": "Time",
          "align": "auto",
          "dateFormat": "YYYY-MM-DD HH:mm:ss",
          "pattern": "Time",
          "type": "hidden"
        },
        {
          "$$hashKey": "object:1114",
          "alias": "",
          "align": "right",
          "colorMode": null,
          "colors": [
            "rgba(245, 54, 54, 0.9)",
            "rgba(237, 129, 40, 0.89)",
            "rgba(50, 172, 45, 0.97)"
          ],
          "decimals": 0,
          "pattern": "Size",
          "sanitize": false,
          "thresholds": [],
          "type": "string",
          "unit": "short"
        },
        {
          "$$hashKey": "object:178",
          "alias": "",
          "align": "auto",
          "colorMode": null,
          "colors": [
            "rgba(245, 54, 54, 0.9)",
            "rgba(237, 129, 40, 0.89)",
            "rgba(50, 172, 45, 0.97)"
          ],
          "dateFormat": "YYYY-MM-DD HH:mm:ss",
          "decimals": 2,
          "mappingType": 1,
          "pattern": "Protocl Name",
          "sanitize": true,
          "thresholds": [],
          "type": "string",
          "unit": "short"
        }
      ],
      "targets": [
        {
          "groupBy": [],
          "measurement": "/^$project$/",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT \"protocolName\" AS \"Protocl Name\", \"output\" AS \"Output\", \"size\" AS \"Size\" FROM /^$project$/ WHERE (\"section\" = 'summary')",
          "rawQuery": true,
          "refId": "A",
          "resultFormat": "table",
          "select": [
            [
              {
                "params": [
                  "protocolName"
                ],
                "type": "field"
              },
              {
                "params": [
                  "Protocl Name"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "output"
                ],
                "type": "field"
              },
              {
                "params": [
                  "Output"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "size"
                ],
                "type": "field"
              },
              {
                "params": [
                  "Size"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": [
            {
              "key": "section",
              "operator": "=",
              "value": "summary"
            }
          ]
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "Runs Summary",
      "transform": "table",
      "type": "table"
    },
    {
      "columns": [],
      "datasource": "${DS_INFLUXDB-SCIPION}",
      "description": "Scipion Project properties,",
      "fontSize": "100%",
      "gridPos": {
        "h": 7,
        "w": 9,
        "x": 0,
        "y": 10
      },
      "id": 5,
      "pageSize": null,
      "showHeader": true,
      "sort": {
        "col": 0,
        "desc": true
      },
      "styles": [
        {
          "$$hashKey": "object:489",
          "alias": "Time",
          "align": "auto",
          "dateFormat": "YYYY-MM-DD HH:mm:ss",
          "pattern": "Time",
          "type": "hidden"
        },
        {
          "$$hashKey": "object:770",
          "alias": " ",
          "align": "auto",
          "colorMode": null,
          "colors": [
            "#E02F44",
            "rgba(237, 129, 40, 0.89)",
            "rgba(50, 172, 45, 0.97)"
          ],
          "dateFormat": "YYYY-MM-DD HH:mm:ss",
          "decimals": 2,
          "mappingType": 1,
          "pattern": "valueNum",
          "sanitize": true,
          "thresholds": [],
          "type": "number",
          "unit": "locale"
        },
        {
          "$$hashKey": "object:805",
          "alias": " ",
          "align": "auto",
          "colorMode": null,
          "colors": [
            "rgba(245, 54, 54, 0.9)",
            "rgba(237, 129, 40, 0.89)",
            "rgba(50, 172, 45, 0.97)"
          ],
          "dateFormat": "YYYY-MM-DD HH:mm:ss",
          "decimals": 2,
          "mappingType": 1,
          "pattern": "metric",
          "sanitize": true,
          "thresholds": [],
          "type": "string",
          "unit": "short"
        },
        {
          "$$hashKey": "object:725",
          "alias": "",
          "align": "auto",
          "colorMode": null,
          "colors": [
            "rgba(245, 54, 54, 0.9)",
            "rgba(237, 129, 40, 0.89)",
            "rgba(50, 172, 45, 0.97)"
          ],
          "dateFormat": "YYYY-MM-DD HH:mm:ss",
          "decimals": 2,
          "mappingType": 1,
          "pattern": "valueNum",
          "thresholds": [],
          "type": "number",
          "unit": "none"
        }
      ],
      "targets": [
        {
          "alias": "Microscope Voltage (kV)",
          "groupBy": [],
          "hide": false,
          "measurement": "/^$project$/",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT \"metric\", \"valueNum\" FROM /^$project$/ WHERE (\"section\" = 'acquisition')",
          "rawQuery": true,
          "refId": "A",
          "resultFormat": "table",
          "select": [
            [
              {
                "params": [
                  "metric"
                ],
                "type": "field"
              }
            ],
            [
              {
                "params": [
                  "valueNum"
                ],
                "type": "field"
              }
            ]
          ],
          "tags": [
            {
              "key": "section",
              "operator": "=",
              "value": "acquisition"
            }
          ]
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "Acquisition",
      "transform": "table",
      "type": "table"
    }
  ],
  "refresh": "1m",
  "schemaVersion": 22,
  "style": "dark",
  "tags": [],
  "templating": {
    "list": [
      {
        "allValue": null,
        "current": {
          "text": "test3",
          "value": "test3"
        },
        "hide": 0,
        "includeAll": false,
        "label": null,
        "multi": false,
        "name": "project",
        "options": [
          {
            "$$hashKey": "object:2318",
            "selected": false,
            "text": "Project List hiden",
            "value": "Project List hiden"
          }
        ],
        "query": "Project List hiden",
        "skipUrlSync": false,
        "type": "custom"
      }
    ]
  },
  "time": {
    "from": "now-6h",
    "to": "now"
  },
  "timepicker": {
    "refresh_intervals": [
      "5s",
      "10s",
      "30s",
      "1m",
      "5m",
      "15m",
      "30m",
      "1h",
      "2h",
      "1d"
    ]
  },
  "timezone": "",
  "title": "Summary",
  "uid": "oYW5BSeWz",
  "variables": {
    "list": []
  },
  "version": 166
}