{
  "GlobalSettings": {
    "type": "dynamic",
    "separator": "_"
  },
  "vectors": [
{
      "URL": "$BaseURL/api/v2/metrics/query?metricSelector=builtin%3Ahost.dns.queryCount%3Aavg%3Anames%3Amerge%28%22dt.entity.host%22%29%2Cbuiltin%3Ahost.dns.queryCount%3Amin%3Anames%3Amerge%28%22dt.entity.host%22%29%2Cbuiltin%3Ahost.dns.queryCount%3Amax%3Anames%3Amerge%28%22dt.entity.host%22%29&resolution=Inf&from={$start_time}&to={$end_time}",
      "URLSetting": {
        "requestType": "get"
      },
      "path": [
        {
          "isPartOfHierarchy": true
        }
      ],
      "metrics": [
        {
          "mMappedPath": "$.result[0].data[*].['dimensions', 'values'][*]",
          "operation": "none",
          "attribute": [
            {
              "operation": "none",
              "name": "values[0]",
              "useMappedPathQuery": true,
              "index": 1,
              "type": 1
            }
          ]
        },
        {
          "mMappedPath": "$.result[1].data[*].['dimensions', 'values'][*]",
          "operation": "none",
          "attribute": [
            {
              "operation": "none",
              "name": "values[0]",
              "useMappedPathQuery": true,
              "index": 2,
              "type": 1
            }
          ]
        },
        {
          "mMappedPath": "$.result[2].data[*].['dimensions', 'values'][*]",
          "operation": "none",
          "attribute": [
            {
              "operation": "none",
              "name": "values[0]",
              "useMappedPathQuery": true,
              "index": 3,
              "type": 1
            }
          ]
        },
        {
          "attribute": [
            {
              "name": "values",
              "index": 4,
              "type": 2,
              "defValue": 1
            }
          ]
        }
      ]
    },
    {
      "URL": "$BaseURL/api/v2/metrics/query?metricSelector=builtin%3Ahost.dns.singleQueryTime%3Aavg%3Anames%3Amerge%28%22dt.entity.host%22%29%2Cbuiltin%3Ahost.dns.singleQueryTime%3Amin%3Anames%3Amerge%28%22dt.entity.host%22%29%2Cbuiltin%3Ahost.dns.singleQueryTime%3Amax%3Anames%3Amerge%28%22dt.entity.host%22%29&from={$start_time}&to={$end_time}",
      "URLSetting": {
        "requestType": "get"
      },
      "path": [
        {
          "isPartOfHierarchy": true
        }
      ],
      "metrics": [
        {
          "mMappedPath": "$.result[0].data[*].['dimensions', 'values'][*]",
          "operation": "none",
          "attribute": [
            {
              "operation": "none",
              "name": "values[0]",
              "useMappedPathQuery": true,
              "index": 5,
              "type": 1
            }
          ]
        },
        {
          "mMappedPath": "$.result[1].data[*].['dimensions', 'values'][*]",
          "operation": "none",
          "attribute": [
            {
              "operation": "none",
              "name": "values[0]",
              "useMappedPathQuery": true,
              "index": 6,
              "type": 1
            }
          ]
        },
        {
          "mMappedPath": "$.result[2].data[*].['dimensions', 'values'][*]",
          "operation": "none",
          "attribute": [
            {
              "operation": "none",
              "name": "values[0]",
              "useMappedPathQuery": true,
              "index": 7,
              "type": 1
            }
          ]
        },
        {
          "attribute": [
            {
              "name": "values",
              "index": 8,
              "type": 2,
              "defValue": 1
            }
          ]
        }
      ]
    },
    {
      "URL": "$BaseURL/api/v2/metrics/query?metricSelector=builtin%3Ahost.dns.queryTime%3Aavg%3Anames%3Amerge%28%22dt.entity.host%22%29%2Cbuiltin%3Ahost.dns.queryTime%3Amin%3Anames%3Amerge%28%22dt.entity.host%22%29%2Cbuiltin%3Ahost.dns.queryTime%3Amax%3Anames%3Amerge%28%22dt.entity.host%22%29&resolution=Inf&from={$start_time}&to={$end_time}",
      "URLSetting": {
        "requestType": "get"
      },
      "path": [
        {
          "isPartOfHierarchy": true
        }
      ],
      "metrics": [
        {
          "mMappedPath": "$.result[0].data[*].['dimensions', 'values'][*]",
          "operation": "none",
          "attribute": [
            {
              "operation": "none",
              "name": "values[0]",
              "useMappedPathQuery": true,
              "index": 9,
              "type": 1
            }
          ]
        },
        {
          "mMappedPath": "$.result[1].data[*].['dimensions', 'values'][*]",
          "operation": "none",
          "attribute": [
            {
              "operation": "none",
              "name": "values[0]",
              "useMappedPathQuery": true,
              "index": 10,
              "type": 1
            }
          ]
        },
        {
          "mMappedPath": "$.result[2].data[*].['dimensions', 'values'][*]",
          "operation": "none",
          "attribute": [
            {
              "operation": "none",
              "name": "values[0]",
              "useMappedPathQuery": true,
              "index": 11,
              "type": 1
            }
          ]
        },
        {
          "attribute": [
            {
              "name": "values",
              "index": 12,
              "type": 2,
              "defValue": 1
            }
          ]
        }
      ]
    },
    {
      "URL": "$BaseURL/api/v2/metrics/query?metricSelector=builtin%3Ahost.dns.orphanCount%3Anames%3Amerge%28%22dt.entity.host%22%29&resolution=Inf&from={$start_time}&to={$end_time}",
      "URLSetting": {
        "requestType": "get"
      },
      "path": [
        {
          "isPartOfHierarchy": true
        }
      ],
      "metrics": [
        {
          "mMappedPath": "$.result[0].data[*].['dimensions', 'values'][*]",
          "operation": "none",
          "attribute": [
            {
              "operation": "none",
              "name": "values[0]",
              "useMappedPathQuery": true,
              "index": 13,
              "type": 1
            }
          ]
        }
      ]
    }
    ]
}
