{
  "tags": [],
  "title": "Blackbox Exporter (HTTP prober)",
  "widgets": [
    {
      "layout": {
        "x": 0,
        "y": 0,
        "width": 12,
        "height": 2
      },
      "definition": {
        "type": "query_table",
        "title": "HTTP Probe Overview",
        "requests": [
          {
            "queries": [
              {
                "name": "query1",
                "query": "avg:probe_success{$job,$instance}",
                "aggregator": "last",
                "data_source": "metrics"
              },
              {
                "name": "query2",
                "query": "avg:probe_http_ssl{$job,$instance}",
                "aggregator": "last",
                "data_source": "metrics"
              },
              {
                "name": "query3",
                "query": "avg:probe_http_status_code{$job,$instance}",
                "aggregator": "last",
                "data_source": "metrics"
              },
              {
                "name": "query4",
                "query": "avg:probe_duration_seconds{$job,$instance}.rollup(avg, 60)",
                "aggregator": "last",
                "data_source": "metrics"
              },
              {
                "name": "query5",
                "query": "avg:probe_tls_version_info{$job,$instance}",
                "aggregator": "last",
                "data_source": "metrics"
              },
              {
                "name": "query6",
                "query": "avg:probe_dns_lookup_time_seconds{$job,$instance}.rollup(avg, 60)",
                "aggregator": "last",
                "data_source": "metrics"
              }
            ],
            "formulas": [
              {
                "limit": {
                  "count": 50,
                  "order": "desc"
                },
                "formula": "query1"
              },
              {
                "formula": "query2"
              },
              {
                "formula": "query3"
              },
              {
                "formula": "query4"
              },
              {
                "formula": "query5"
              },
              {
                "formula": "query6"
              }
            ],
            "response_format": "scalar"
          }
        ],
        "has_search_bar": "auto"
      }
    },
    {
      "layout": {
        "x": 0,
        "y": 2,
        "width": 12,
        "height": 2
      },
      "definition": {
        "type": "timeseries",
        "title": "HTTP Probe Duration",
        "yaxis": {
          "max": "auto",
          "min": "auto",
          "label": "",
          "scale": "linear",
          "include_zero": false
        },
        "requests": [
          {
            "style": {
              "palette": "dog_classic",
              "line_type": "solid",
              "line_width": "normal"
            },
            "queries": [
              {
                "name": "query1",
                "query": "sum:probe_http_duration_seconds{$job,$instance} by {instance}",
                "data_source": "metrics"
              }
            ],
            "formulas": [
              {
                "formula": "query1"
              }
            ],
            "display_type": "line",
            "response_format": "timeseries"
          }
        ],
        "show_legend": true,
        "legend_layout": "auto",
        "legend_columns": [
          "avg",
          "min",
          "max",
          "value",
          "sum"
        ]
      }
    },
    {
      "layout": {
        "x": 0,
        "y": 4,
        "width": 12,
        "height": 2
      },
      "definition": {
        "type": "group",
        "title": "$instance",
        "widgets": [
          {
            "layout": {
              "x": 0,
              "y": 0,
              "width": 12,
              "height": 2
            },
            "definition": {
              "type": "timeseries",
              "title": "HTTP Probe Phases Duration",
              "yaxis": {
                "max": "auto",
                "min": "auto",
                "label": "",
                "scale": "linear",
                "include_zero": true
              },
              "requests": [
                {
                  "style": {
                    "palette": "dog_classic",
                    "line_type": "solid",
                    "line_width": "normal"
                  },
                  "queries": [
                    {
                      "name": "query1",
                      "query": "avg:probe_http_duration_seconds{$job,$instance} by {phase}",
                      "data_source": "metrics"
                    }
                  ],
                  "formulas": [
                    {
                      "formula": "query1"
                    }
                  ],
                  "display_type": "area",
                  "response_format": "timeseries"
                }
              ],
              "show_legend": true,
              "legend_layout": "auto",
              "legend_columns": [
                "avg",
                "min",
                "max",
                "value",
                "sum"
              ]
            }
          }
        ],
        "show_title": true,
        "layout_type": "ordered"
      }
    }
  ],
  "description": "Converted from Grafana dashboard https://grafana.com/grafana/dashboards/13659 (by harloprillar). Blackbox exporter HTTP prober dashboard",
  "layout_type": "ordered",
  "reflow_type": "fixed",
  "template_variables": [
    {
      "name": "job",
      "prefix": "job",
      "default": "*",
      "available_values": []
    },
    {
      "name": "instance",
      "prefix": "instance",
      "default": "*",
      "available_values": []
    }
  ]
}