Grafana dashboard: ARGO Metrics
Description: This dashboard is used to monitor the metrics related to 
 ARGO workflow controller metrics


{
  "__inputs": [
    {
      "name": "DS_PROMETHEUS",
      "label": "Prometheus",
      "description": "",
      "type": "datasource",
      "pluginId": "prometheus",
      "pluginName": "Prometheus"
    }
  ],
  "__requires": [
    {
      "type": "grafana",
      "id": "grafana",
      "name": "Grafana",
      "version": "7.1.3"
    }
  ],
  "annotations": {
    "list": [
      {
        "builtIn": 1,
        "datasource": "-- Grafana --",
        "enable": true,
        "hide": true,
        "iconColor": "rgba(0, 211, 255, 1)",
        "name": "Annotations & Alerts",
        "type": "dashboard"
      }
    ]
  },
  "description": "This dashboard is used to monitor the metrics related to \r\n ARGO workflow controller metrics",
  "editable": true,
  "gnetId": 14136,
  "graphTooltip": 0,
  "id": 7,
  "iteration": 1615873007372,
  "links": [],
  "panels": [
    {
      "datasource": "${DS_PROMETHEUS}",
      "description": "Pods were not seen. E.g. by being deleted by Kubernetes. You should only see this under high load.",
      "fieldConfig": {
        "defaults": {
          "custom": {},
          "mappings": [],
          "noValue": "0",
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 1
              }
            ]
          }
        },
        "overrides": []
      },
      "gridPos": {
        "h": 6,
        "w": 24,
        "x": 0,
        "y": 0
      },
      "id": 15,
      "links": [],
      "options": {
        "colorMode": "value",
        "graphMode": "area",
        "justifyMode": "center",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "textMode": "value_and_name"
      },
      "pluginVersion": "7.1.3",
      "targets": [
        {
          "expr": "argo_pod_missing",
          "interval": "",
          "legendFormat": "argo_pod_missing",
          "refId": "A"
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "argo_pod_missing",
      "type": "stat"
    },
    {
      "datasource": "${DS_PROMETHEUS}",
      "description": "Number of workflow in each phase",
      "fieldConfig": {
        "defaults": {
          "custom": {},
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              }
            ]
          }
        },
        "overrides": []
      },
      "gridPos": {
        "h": 7,
        "w": 14,
        "x": 0,
        "y": 6
      },
      "id": 1,
      "links": [],
      "options": {
        "colorMode": "value",
        "graphMode": "none",
        "justifyMode": "auto",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "textMode": "auto"
      },
      "pluginVersion": "7.1.3",
      "targets": [
        {
          "expr": "argo_workflows_count{status=\"Pending\"}",
          "interval": "",
          "legendFormat": "pending",
          "refId": "B"
        },
        {
          "expr": "argo_workflows_count{status=\"Running\"}",
          "interval": "",
          "legendFormat": "running",
          "refId": "C"
        },
        {
          "expr": "argo_workflows_count{status=\"Skipped\"}",
          "interval": "",
          "legendFormat": "skipped",
          "refId": "E"
        },
        {
          "expr": "argo_workflows_count{status=\"Succeeded\"}",
          "interval": "",
          "legendFormat": "succeeded",
          "refId": "F"
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "argo_workflows_count",
      "type": "stat"
    },
    {
      "datasource": "${DS_PROMETHEUS}",
      "description": "Number of workflow in each phase",
      "fieldConfig": {
        "defaults": {
          "custom": {},
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 1
              }
            ]
          }
        },
        "overrides": []
      },
      "gridPos": {
        "h": 7,
        "w": 5,
        "x": 14,
        "y": 6
      },
      "id": 12,
      "links": [],
      "options": {
        "colorMode": "value",
        "graphMode": "none",
        "justifyMode": "center",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "textMode": "value_and_name"
      },
      "pluginVersion": "7.1.3",
      "targets": [
        {
          "expr": "argo_workflows_count{status=\"Error\"}",
          "format": "time_series",
          "hide": false,
          "interval": "",
          "intervalFactor": 2,
          "legendFormat": "error",
          "refId": "D"
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "argo_workflows_count",
      "type": "stat"
    },
    {
      "datasource": "${DS_PROMETHEUS}",
      "description": "Number of workflow in each phase",
      "fieldConfig": {
        "defaults": {
          "custom": {},
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 1
              }
            ]
          }
        },
        "overrides": []
      },
      "gridPos": {
        "h": 7,
        "w": 5,
        "x": 19,
        "y": 6
      },
      "id": 13,
      "links": [],
      "options": {
        "colorMode": "value",
        "graphMode": "none",
        "justifyMode": "center",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "textMode": "value_and_name"
      },
      "pluginVersion": "7.1.3",
      "targets": [
        {
          "expr": "argo_workflows_count{status=\"Failed\"}",
          "interval": "",
          "legendFormat": "failed",
          "refId": "A"
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "argo_workflows_count",
      "type": "stat"
    },
    {
      "datasource": "${DS_PROMETHEUS}",
      "description": "A count of certain errors incurred by the controller",
      "fieldConfig": {
        "defaults": {
          "custom": {},
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 1
              }
            ]
          }
        },
        "overrides": []
      },
      "gridPos": {
        "h": 6,
        "w": 12,
        "x": 0,
        "y": 13
      },
      "id": 2,
      "links": [],
      "options": {
        "colorMode": "value",
        "graphMode": "none",
        "justifyMode": "center",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "textMode": "value_and_name"
      },
      "pluginVersion": "7.1.3",
      "targets": [
        {
          "expr": "argo_workflows_error_count{cause=\"CronWorkflowSubmissionError\"}",
          "format": "time_series",
          "hide": false,
          "interval": "",
          "intervalFactor": 2,
          "legendFormat": "CronWorkflowSubmissionError",
          "refId": "D"
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "argo_workflows_error_count",
      "type": "stat"
    },
    {
      "datasource": "${DS_PROMETHEUS}",
      "description": "A count of certain errors incurred by the controller",
      "fieldConfig": {
        "defaults": {
          "custom": {},
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 1
              }
            ]
          }
        },
        "overrides": []
      },
      "gridPos": {
        "h": 6,
        "w": 12,
        "x": 12,
        "y": 13
      },
      "id": 14,
      "links": [],
      "options": {
        "colorMode": "value",
        "graphMode": "none",
        "justifyMode": "center",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "textMode": "value_and_name"
      },
      "pluginVersion": "7.1.3",
      "targets": [
        {
          "expr": "argo_workflows_error_count{cause=\"OperationPanic\"}",
          "interval": "",
          "legendFormat": "OperationPanic",
          "refId": "A"
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "argo_workflows_error_count",
      "type": "stat"
    },
    {
      "datasource": "${DS_PROMETHEUS}",
      "description": "Number of API requests sent to the Kubernetes API.",
      "fieldConfig": {
        "defaults": {
          "custom": {},
          "mappings": [],
          "noValue": "0",
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              }
            ]
          }
        },
        "overrides": []
      },
      "gridPos": {
        "h": 6,
        "w": 24,
        "x": 0,
        "y": 19
      },
      "id": 22,
      "links": [],
      "options": {
        "colorMode": "value",
        "graphMode": "none",
        "justifyMode": "center",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "textMode": "value_and_name"
      },
      "pluginVersion": "7.1.3",
      "targets": [
        {
          "expr": "argo_workflows_k8s_request_total",
          "interval": "",
          "legendFormat": "argo_workflows_k8s_request_total",
          "refId": "A"
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "argo_workflows_k8s_request_total",
      "type": "stat"
    },
    {
      "cards": {
        "cardPadding": null,
        "cardRound": null
      },
      "color": {
        "cardColor": "#b4ff00",
        "colorScale": "sqrt",
        "colorScheme": "interpolateOranges",
        "exponent": 0.5,
        "mode": "spectrum"
      },
      "dataFormat": "tsbuckets",
      "datasource": "${DS_PROMETHEUS}",
      "description": "A histogram of durations of operations.",
      "fieldConfig": {
        "defaults": {
          "custom": {},
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 79.9996
              }
            ]
          }
        },
        "overrides": []
      },
      "gridPos": {
        "h": 7,
        "w": 24,
        "x": 0,
        "y": 25
      },
      "heatmap": {},
      "hideZeroBuckets": false,
      "highlightCards": true,
      "id": 3,
      "legend": {
        "show": true
      },
      "links": [],
      "pluginVersion": "7.1.3",
      "reverseYBuckets": false,
      "targets": [
        {
          "expr": "argo_workflows_operation_duration_seconds_bucket{le=\"+Inf\"}",
          "interval": "",
          "legendFormat": "{{ le }}",
          "refId": "A"
        },
        {
          "expr": "argo_workflows_operation_duration_seconds_bucket{le=\"0.1\"}",
          "interval": "",
          "legendFormat": "{{ le }}",
          "refId": "B"
        },
        {
          "expr": "argo_workflows_operation_duration_seconds_bucket{le=\"0.25\"}",
          "interval": "",
          "legendFormat": "{{ le }}",
          "refId": "C"
        },
        {
          "expr": "argo_workflows_operation_duration_seconds_bucket{le=\"0.5\"}",
          "interval": "",
          "legendFormat": "{{ le }}",
          "refId": "D"
        },
        {
          "expr": "argo_workflows_operation_duration_seconds_bucket{le=\"0.75\"}",
          "interval": "",
          "legendFormat": "{{ le }}",
          "refId": "E"
        },
        {
          "expr": "argo_workflows_operation_duration_seconds_bucket{le=\"1\"}",
          "interval": "",
          "legendFormat": "{{ le }}",
          "refId": "F"
        },
        {
          "expr": "argo_workflows_operation_duration_seconds_bucket{le=\"1.25\"}",
          "interval": "",
          "legendFormat": "{{ le }}",
          "refId": "G"
        },
        {
          "expr": "argo_workflows_operation_duration_seconds_bucket{le=\"1.5\"}",
          "interval": "",
          "legendFormat": "{{ le }}",
          "refId": "H"
        },
        {
          "expr": "argo_workflows_operation_duration_seconds_bucket{le=\"1.75\"}",
          "interval": "",
          "legendFormat": "{{ le }}",
          "refId": "I"
        },
        {
          "expr": "argo_workflows_operation_duration_seconds_bucket{le=\"2\"}",
          "interval": "",
          "legendFormat": "{{ le }}",
          "refId": "J"
        },
        {
          "expr": "argo_workflows_operation_duration_seconds_bucket{le=\"2.5\"}",
          "interval": "",
          "legendFormat": "{{ le }}",
          "refId": "K"
        },
        {
          "expr": "argo_workflows_operation_duration_seconds_bucket{le=\"3\"}",
          "interval": "",
          "legendFormat": "{{ le }}",
          "refId": "L"
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "argo_workflows_operation_duration_seconds_bucket",
      "tooltip": {
        "show": true,
        "showHistogram": false
      },
      "type": "heatmap",
      "xAxis": {
        "show": true
      },
      "xBucketNumber": null,
      "xBucketSize": null,
      "yAxis": {
        "decimals": null,
        "format": "short",
        "logBase": 1,
        "max": null,
        "min": null,
        "show": true,
        "splitFactor": null
      },
      "yBucketBound": "auto",
      "yBucketNumber": null,
      "yBucketSize": null
    },
    {
      "datasource": "${DS_PROMETHEUS}",
      "fieldConfig": {
        "defaults": {
          "custom": {},
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              }
            ]
          }
        },
        "overrides": []
      },
      "gridPos": {
        "h": 7,
        "w": 12,
        "x": 0,
        "y": 32
      },
      "id": 4,
      "links": [],
      "options": {
        "colorMode": "value",
        "graphMode": "none",
        "justifyMode": "center",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "mean"
          ],
          "fields": "",
          "values": false
        },
        "textMode": "auto"
      },
      "pluginVersion": "7.1.3",
      "targets": [
        {
          "expr": "argo_workflows_operation_duration_seconds_count",
          "interval": "",
          "legendFormat": "argo_workflows_operation_duration_seconds_count",
          "refId": "A"
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "argo_workflows_operation_duration_seconds_count",
      "type": "stat"
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_PROMETHEUS}",
      "fieldConfig": {
        "defaults": {
          "custom": {},
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              }
            ]
          }
        },
        "overrides": []
      },
      "fill": 1,
      "fillGradient": 0,
      "gridPos": {
        "h": 7,
        "w": 12,
        "x": 12,
        "y": 32
      },
      "hiddenSeries": false,
      "id": 5,
      "legend": {
        "avg": false,
        "current": false,
        "max": false,
        "min": false,
        "show": true,
        "total": false,
        "values": false
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "null",
      "percentage": false,
      "pluginVersion": "7.1.3",
      "pointradius": 2,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "expr": "argo_workflows_operation_duration_seconds_sum",
          "interval": "",
          "legendFormat": "argo_workflows_operation_duration_seconds_sum",
          "refId": "A"
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "argo_workflows_operation_duration_seconds_sum",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "datasource": "${DS_PROMETHEUS}",
      "description": "It is possible for a workflow to start, but no pods be running (e.g. cluster is too busy to run them). This metric sheds light on actual work being done.",
      "fieldConfig": {
        "defaults": {
          "custom": {},
          "mappings": [],
          "noValue": "0",
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              }
            ]
          }
        },
        "overrides": []
      },
      "gridPos": {
        "h": 6,
        "w": 24,
        "x": 0,
        "y": 39
      },
      "id": 16,
      "links": [],
      "options": {
        "colorMode": "value",
        "graphMode": "none",
        "justifyMode": "center",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "textMode": "value_and_name"
      },
      "pluginVersion": "7.1.3",
      "targets": [
        {
          "expr": "argo_workflows_pods_count",
          "interval": "",
          "legendFormat": "argo_workflows_pods_count",
          "refId": "A"
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "argo_workflows_pods_count",
      "type": "stat"
    },
    {
      "datasource": "${DS_PROMETHEUS}",
      "description": "The number of additions to the queue of workflows or cron workflows.",
      "fieldConfig": {
        "defaults": {
          "custom": {},
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 79.9996
              }
            ]
          }
        },
        "overrides": []
      },
      "gridPos": {
        "h": 7,
        "w": 24,
        "x": 0,
        "y": 45
      },
      "id": 6,
      "links": [],
      "options": {
        "colorMode": "value",
        "graphMode": "none",
        "justifyMode": "center",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "max"
          ],
          "fields": "",
          "values": false
        },
        "textMode": "auto"
      },
      "pluginVersion": "7.1.3",
      "targets": [
        {
          "expr": "argo_workflows_queue_adds_count{queue_name=\"cron_wf_queue\"}",
          "interval": "",
          "legendFormat": "cron_wf_queue",
          "refId": "A"
        },
        {
          "expr": "argo_workflows_queue_adds_count{queue_name=\"pod_queue\"}",
          "interval": "",
          "legendFormat": "pod_queue",
          "refId": "B"
        },
        {
          "expr": "argo_workflows_queue_adds_count{queue_name=\"wf_cron_queue\"}",
          "interval": "",
          "legendFormat": "wf_cron_queue",
          "refId": "C"
        },
        {
          "expr": "argo_workflows_queue_adds_count{queue_name=\"workflow_queue\"}",
          "interval": "",
          "legendFormat": "workflow_queue",
          "refId": "D"
        },
        {
          "expr": "argo_workflows_queue_adds_count{queue_name=\"workflow_ttl_queue\"}",
          "interval": "",
          "legendFormat": "workflow_ttl_queue",
          "refId": "E"
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "argo_workflows_queue_adds_count",
      "type": "stat"
    },
    {
      "datasource": "${DS_PROMETHEUS}",
      "description": "The depth of the queue of workflows or cron workflows to be processed by the controller.",
      "fieldConfig": {
        "defaults": {
          "custom": {},
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 79.9996
              }
            ]
          }
        },
        "overrides": []
      },
      "gridPos": {
        "h": 7,
        "w": 24,
        "x": 0,
        "y": 52
      },
      "id": 17,
      "links": [],
      "options": {
        "colorMode": "value",
        "graphMode": "none",
        "justifyMode": "center",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "max"
          ],
          "fields": "",
          "values": false
        },
        "textMode": "auto"
      },
      "pluginVersion": "7.1.3",
      "targets": [
        {
          "expr": "argo_workflows_queue_depth_count{queue_name=\"cron_wf_queue\"}",
          "interval": "",
          "legendFormat": "cron_wf_queue",
          "refId": "A"
        },
        {
          "expr": "argo_workflows_queue_depth_count{queue_name=\"pod_queue\"}",
          "interval": "",
          "legendFormat": "pod_queue",
          "refId": "B"
        },
        {
          "expr": "argo_workflows_queue_depth_count{queue_name=\"wf_cron_queue\"}",
          "interval": "",
          "legendFormat": "wf_cron_queue",
          "refId": "C"
        },
        {
          "expr": "argo_workflows_queue_depth_count{queue_name=\"workflow_queue\"}",
          "interval": "",
          "legendFormat": "workflow_queue",
          "refId": "D"
        },
        {
          "expr": "argo_workflows_queue_depth_count{queue_name=\"workflow_ttl_queue\"}",
          "interval": "",
          "legendFormat": "workflow_ttl_queue",
          "refId": "E"
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "argo_workflows_queue_depth_count",
      "type": "stat"
    },
    {
      "cards": {
        "cardPadding": null,
        "cardRound": null
      },
      "color": {
        "cardColor": "#b4ff00",
        "colorScale": "sqrt",
        "colorScheme": "interpolateOranges",
        "exponent": 0.5,
        "mode": "spectrum"
      },
      "dataFormat": "tsbuckets",
      "datasource": "${DS_PROMETHEUS}",
      "description": "The time workflows or cron workflows spend in the queue waiting to be processed.",
      "fieldConfig": {
        "defaults": {
          "custom": {},
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 79.9996
              }
            ]
          }
        },
        "overrides": []
      },
      "gridPos": {
        "h": 7,
        "w": 24,
        "x": 0,
        "y": 59
      },
      "heatmap": {},
      "hideZeroBuckets": false,
      "highlightCards": true,
      "id": 24,
      "legend": {
        "show": true
      },
      "links": [],
      "pluginVersion": "7.1.3",
      "reverseYBuckets": false,
      "targets": [
        {
          "expr": "argo_workflows_queue_latency_bucket{le=\"+Inf\",queue_name=\"cron_wf_queue\"}",
          "interval": "",
          "legendFormat": "{{ le }}",
          "refId": "A"
        },
        {
          "expr": "argo_workflows_queue_latency_bucket{le=\"+Inf\",queue_name=\"pod_queue\"}",
          "interval": "",
          "legendFormat": "{{ le }}",
          "refId": "B"
        },
        {
          "expr": "argo_workflows_queue_latency_bucket{le=\"+Inf\",queue_name=\"cron_wf_queue\"}",
          "interval": "",
          "legendFormat": "{{ le }}",
          "refId": "C"
        },
        {
          "expr": "argo_workflows_queue_latency_bucket{le=\"+Inf\",queue_name=\"workflow_queue\"}",
          "interval": "",
          "legendFormat": "{{ le }}",
          "refId": "D"
        },
        {
          "expr": "argo_workflows_queue_latency_bucket{le=\"+Inf\",queue_name=\"workflow_ttl_queue\"}",
          "interval": "",
          "legendFormat": "{{ le }}",
          "refId": "E"
        },
        {
          "expr": "argo_workflows_queue_latency_bucket{le=\"1\",queue_name=\"cron_wf_queue\"}",
          "interval": "",
          "legendFormat": "{{ le }}",
          "refId": "F"
        },
        {
          "expr": "argo_workflows_queue_latency_bucket{le=\"1\",queue_name=\"pod_queue\"}",
          "interval": "",
          "legendFormat": "{{ le }}",
          "refId": "G"
        },
        {
          "expr": "argo_workflows_queue_latency_bucket{le=\"1\",queue_name=\"wf_cron_queue\"}",
          "interval": "",
          "legendFormat": "{{ le }}",
          "refId": "H"
        },
        {
          "expr": "argo_workflows_queue_latency_bucket{le=\"1\",queue_name=\"workflow_queue\"}",
          "interval": "",
          "legendFormat": "{{ le }}",
          "refId": "I"
        },
        {
          "expr": "argo_workflows_queue_latency_bucket{le=\"1\",queue_name=\"workflow_ttl_queue\"}",
          "interval": "",
          "legendFormat": "{{ le }}",
          "refId": "J"
        },
        {
          "expr": "argo_workflows_queue_latency_bucket{le=\"180\",queue_name=\"cron_wf_queue\"}",
          "interval": "",
          "legendFormat": "{{ le }}",
          "refId": "K"
        },
        {
          "expr": "argo_workflows_queue_latency_bucket{le=\"180\",queue_name=\"pod_queue\"}",
          "interval": "",
          "legendFormat": "{{ le }}",
          "refId": "L"
        },
        {
          "expr": "argo_workflows_queue_latency_bucket{le=\"180\",queue_name=\"wf_cron_queue\"}",
          "interval": "",
          "legendFormat": "{{ le }}",
          "refId": "M"
        },
        {
          "expr": "argo_workflows_queue_latency_bucket{le=\"180\",queue_name=\"workflow_queue\"}",
          "instant": false,
          "interval": "",
          "legendFormat": "{{ le }}",
          "refId": "N"
        },
        {
          "expr": "argo_workflows_queue_latency_bucket{le=\"180\",queue_name=\"workflow_ttl_queue\"}",
          "interval": "",
          "legendFormat": "{{ le }}",
          "refId": "O"
        },
        {
          "expr": "argo_workflows_queue_latency_bucket{le=\"20\",queue_name=\"cron_wf_queue\"}",
          "interval": "",
          "legendFormat": "{{ le }}",
          "refId": "P"
        },
        {
          "expr": "argo_workflows_queue_latency_bucket{le=\"20\",queue_name=\"pod_queue\"}",
          "interval": "",
          "legendFormat": "{{ le }}",
          "refId": "Q"
        },
        {
          "expr": "argo_workflows_queue_latency_bucket{le=\"20\",queue_name=\"wf_cron_queue\"}",
          "interval": "",
          "legendFormat": "{{ le }}",
          "refId": "R"
        },
        {
          "expr": "argo_workflows_queue_latency_bucket{le=\"20\",queue_name=\"workflow_queue\"}",
          "interval": "",
          "legendFormat": "{{ le }}",
          "refId": "S"
        },
        {
          "expr": "argo_workflows_queue_latency_bucket{le=\"20\",queue_name=\"workflow_ttl_queue\"}",
          "interval": "",
          "legendFormat": "{{ le }}",
          "refId": "T"
        },
        {
          "expr": "argo_workflows_queue_latency_bucket{le=\"5\",queue_name=\"cron_wf_queue\"}",
          "interval": "",
          "legendFormat": "{{ le }}",
          "refId": "U"
        },
        {
          "expr": "argo_workflows_queue_latency_bucket{le=\"5\",queue_name=\"pod_queue\"}",
          "interval": "",
          "legendFormat": "{{ le }}",
          "refId": "V"
        },
        {
          "expr": "argo_workflows_queue_latency_bucket{le=\"5\",queue_name=\"wf_cron_queue\"}",
          "interval": "",
          "legendFormat": "{{ le }}",
          "refId": "W"
        },
        {
          "expr": "argo_workflows_queue_latency_bucket{le=\"5\",queue_name=\"workflow_queue\"}",
          "interval": "",
          "legendFormat": "{{ le }}",
          "refId": "X"
        },
        {
          "expr": "argo_workflows_queue_latency_bucket{le=\"5\",queue_name=\"workflow_ttl_queue\"}",
          "interval": "",
          "legendFormat": "{{ le }}",
          "refId": "Y"
        },
        {
          "expr": "argo_workflows_queue_latency_bucket{le=\"60\",queue_name=\"cron_wf_queue\"}",
          "interval": "",
          "legendFormat": "{{ le }}",
          "refId": "Z"
        },
        {
          "expr": "argo_workflows_queue_latency_bucket{le=\"60\",queue_name=\"pod_queue\"}",
          "interval": "",
          "legendFormat": "{{ le }}"
        },
        {
          "expr": "argo_workflows_queue_latency_bucket{le=\"60\",queue_name=\"wf_cron_queue\"}",
          "interval": "",
          "legendFormat": "{{ le }}"
        },
        {
          "expr": "argo_workflows_queue_latency_bucket{le=\"60\",queue_name=\"workflow_queue\"}",
          "interval": "",
          "legendFormat": "{{ le }}"
        },
        {
          "expr": "argo_workflows_queue_latency_bucket{le=\"60\",queue_name=\"workflow_ttl_queue\"}",
          "interval": "",
          "legendFormat": "{{ le }}"
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "argo_workflows_queue_latency_bucket",
      "tooltip": {
        "show": true,
        "showHistogram": false
      },
      "type": "heatmap",
      "xAxis": {
        "show": true
      },
      "xBucketNumber": null,
      "xBucketSize": null,
      "yAxis": {
        "decimals": null,
        "format": "short",
        "logBase": 1,
        "max": null,
        "min": null,
        "show": true,
        "splitFactor": null
      },
      "yBucketBound": "auto",
      "yBucketNumber": null,
      "yBucketSize": null
    },
    {
      "datasource": "${DS_PROMETHEUS}",
      "fieldConfig": {
        "defaults": {
          "custom": {},
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 79.9996
              }
            ]
          }
        },
        "overrides": []
      },
      "gridPos": {
        "h": 6,
        "w": 12,
        "x": 0,
        "y": 66
      },
      "id": 7,
      "links": [],
      "options": {
        "colorMode": "value",
        "graphMode": "none",
        "justifyMode": "auto",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "textMode": "auto"
      },
      "pluginVersion": "7.1.3",
      "targets": [
        {
          "expr": "argo_workflows_queue_latency_count{queue_name=\"cron_wf_queue\"}",
          "interval": "",
          "legendFormat": "cron_wf_queue",
          "refId": "A"
        },
        {
          "expr": "argo_workflows_queue_latency_count{queue_name=\"pod_queue\"}",
          "interval": "",
          "legendFormat": "pod_queue",
          "refId": "B"
        },
        {
          "expr": "argo_workflows_queue_latency_count{queue_name=\"wf_cron_queue\"}",
          "interval": "",
          "legendFormat": "wf_cron_queue",
          "refId": "C"
        },
        {
          "expr": "argo_workflows_queue_latency_count{queue_name=\"workflow_queue\"}",
          "interval": "",
          "legendFormat": "workflow_queue",
          "refId": "D"
        },
        {
          "expr": "argo_workflows_queue_latency_count{queue_name=\"workflow_ttl_queue\"}",
          "interval": "",
          "legendFormat": "workflow_ttl_queue",
          "refId": "E"
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "argo_workflows_queue_latency_count",
      "type": "stat"
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_PROMETHEUS}",
      "fieldConfig": {
        "defaults": {
          "custom": {},
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 79.9996
              }
            ]
          }
        },
        "overrides": []
      },
      "fill": 1,
      "fillGradient": 0,
      "gridPos": {
        "h": 6,
        "w": 12,
        "x": 12,
        "y": 66
      },
      "hiddenSeries": false,
      "id": 19,
      "legend": {
        "avg": false,
        "current": false,
        "max": false,
        "min": false,
        "show": true,
        "total": false,
        "values": false
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "null",
      "percentage": false,
      "pluginVersion": "7.1.3",
      "pointradius": 2,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "expr": "argo_workflows_queue_latency_sum{queue_name=\"cron_wf_queue\"}",
          "interval": "",
          "legendFormat": "cron_wf_queue",
          "refId": "A"
        },
        {
          "expr": "argo_workflows_queue_latency_sum{queue_name=\"pod_queue\"}",
          "interval": "",
          "legendFormat": "pod_queue",
          "refId": "B"
        },
        {
          "expr": "argo_workflows_queue_latency_sum{queue_name=\"wf_cron_queue\"}",
          "interval": "",
          "legendFormat": "wf_cron_queue",
          "refId": "C"
        },
        {
          "expr": "argo_workflows_queue_latency_sum{queue_name=\"workflow_queue\"}",
          "interval": "",
          "legendFormat": "workflow_queue",
          "refId": "D"
        },
        {
          "expr": "argo_workflows_queue_latency_sum{queue_name=\"workflow_ttl_queue\"}",
          "interval": "",
          "legendFormat": "workflow_ttl_queue",
          "refId": "E"
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "argo_workflows_queue_latency_sum",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "datasource": "${DS_PROMETHEUS}",
      "description": "The number of workers that are busy.",
      "fieldConfig": {
        "defaults": {
          "custom": {},
          "mappings": [],
          "noValue": "0",
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              }
            ]
          }
        },
        "overrides": []
      },
      "gridPos": {
        "h": 6,
        "w": 8,
        "x": 0,
        "y": 72
      },
      "id": 11,
      "links": [],
      "options": {
        "colorMode": "value",
        "graphMode": "none",
        "justifyMode": "center",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "mean"
          ],
          "fields": "",
          "values": false
        },
        "textMode": "auto"
      },
      "pluginVersion": "7.1.3",
      "targets": [
        {
          "expr": "argo_workflows_workers_busy",
          "format": "time_series",
          "interval": "",
          "legendFormat": "argo_workflows_workers_busy",
          "refId": "A"
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "argo_workflows_workers_busy",
      "type": "stat"
    },
    {
      "datasource": "${DS_PROMETHEUS}",
      "description": "The number of workflow with different conditions. This will tell you the number of workflows with running pods.",
      "fieldConfig": {
        "defaults": {
          "custom": {},
          "mappings": [],
          "noValue": "0",
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              }
            ]
          }
        },
        "overrides": []
      },
      "gridPos": {
        "h": 6,
        "w": 8,
        "x": 8,
        "y": 72
      },
      "id": 21,
      "links": [],
      "options": {
        "colorMode": "value",
        "graphMode": "none",
        "justifyMode": "center",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "mean"
          ],
          "fields": "",
          "values": false
        },
        "textMode": "auto"
      },
      "pluginVersion": "7.1.3",
      "targets": [
        {
          "expr": "argo_workflows_workflow_condition",
          "format": "time_series",
          "interval": "",
          "legendFormat": "argo_workflows_workflow_condition",
          "refId": "A"
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "argo_workflows_workflow_condition",
      "type": "stat"
    },
    {
      "datasource": "${DS_PROMETHEUS}",
      "description": "A count of all Workflow updates processed by the controller.",
      "fieldConfig": {
        "defaults": {
          "custom": {},
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 79.9996
              }
            ]
          }
        },
        "overrides": []
      },
      "gridPos": {
        "h": 6,
        "w": 8,
        "x": 16,
        "y": 72
      },
      "id": 20,
      "links": [],
      "options": {
        "colorMode": "value",
        "graphMode": "none",
        "justifyMode": "auto",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "mean"
          ],
          "fields": "",
          "values": false
        },
        "textMode": "auto"
      },
      "pluginVersion": "7.1.3",
      "targets": [
        {
          "expr": "argo_workflows_workflows_processed_count",
          "interval": "",
          "legendFormat": "argo_workflows_workflows_processed_count",
          "refId": "A"
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "argo_workflows_workflows_processed_count",
      "type": "stat"
    }
  ],
  "refresh": "5s",
  "schemaVersion": 26,
  "style": "dark",
  "tags": [],
  "templating": {
    "list": [
      {
        "allValue": null,
        "current": {
          "selected": false,
          "text": "vm-10-75-196-21",
          "value": "vm-10-75-196-21"
        },
        "datasource": "${DS_PROMETHEUS}",
        "definition": "",
        "hide": 0,
        "includeAll": false,
        "label": null,
        "multi": true,
        "name": "instance",
        "options": [],
        "query": "label_values(kubernetes_io_hostname)",
        "refresh": 1,
        "regex": "",
        "skipUrlSync": false,
        "sort": 0,
        "tagValuesQuery": "",
        "tags": [],
        "tagsQuery": "",
        "type": "query",
        "useTags": false
      }
    ]
  },
  "time": {
    "from": "now-1h",
    "to": "now"
  },
  "timepicker": {
    "refresh_intervals": [
      "5s",
      "10s",
      "30s",
      "1m",
      "5m",
      "15m",
      "30m",
      "1h",
      "2h",
      "1d"
    ],
    "time_options": [
      "5m",
      "15m",
      "1h",
      "6h",
      "12h",
      "24h",
      "2d",
      "7d",
      "30d"
    ]
  },
  "timezone": "",
  "title": "ARGO Metrics",
  "uid": "KgyyXIRmz",
  "version": 4
}