summaryrefslogtreecommitdiffstats
path: root/controller-server/src/test/resources/horizon/filters-meta-query.expected.json
blob: 6c8cab217fa0822de156b8383c151fa2d2553fb8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
{
 "from": 0,
 "to": 1,
 "order": "ASCENDING",
 "type": "TAG_KEYS_AND_VALUES",
 "source": "",
 "aggregationSize": 1000,
 "queries": [
  {
   "id": "id-0",
   "namespace": "Vespa",
   "filter": {
    "type": "Chain",
    "filters": [
     {
      "type": "TagValueRegex",
      "filter": ".*",
      "tagKey": "applicationId"
     },
     {
      "type": "MetricLiteral",
      "metric": "vespa.distributor.vds.distributor.docsstored.average|vespa.searchnode.content.proton.resource_usage.disk.average|vespa.searchnode.content.proton.resource_usage.memory.average|vespa.container.peak_qps.max"
     },
     {
      "type": "TagValueLiteralOr",
      "filter": "public",
      "tagKey": "system"
     },
     {
      "type": "TagValueRegex",
      "filter": "^(tenant2|tenant3)\\..*",
      "tagKey": "applicationId"
     }
    ]
   }
  }
 ],
 "aggregationField": "applicationId"
}