Welcome to mirror list, hosted at ThFree Co, Russian Federation.

zbx_prometheus_tojson.yaml « zbxprometheus « libs « tests - github.com/zabbix/zabbix.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 6c56ac687230f02909c7e31c9bc50ef1d6bcb5e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
---
test case: 'Get metric value using params: wmi_os_physical_memory_free_bytes'
in:
  data: wmi_os_physical_memory_free_bytes 8.492331008e+09
  params: wmi_os_physical_memory_free_bytes
out:
  result: succeed
  output: TODO
---
test case: 'Get metric value using params: cpu_usage_system{cpu="cpu-total"}'
in:
  data: |
    # HELP cpu_usage_system Telegraf collected metric
    # TYPE cpu_usage_system gauge
    cpu_usage_system{cpu="cpu-total"} 1.1940298507220641
    cpu_usage_system{cpu="cpu0"} 1.1940298507220641
    cpu_usage_system{cpu="cpu1"} 1.1340298507220641
  params: cpu_usage_system{cpu="cpu-total"}
out:
  result: succeed
  output: TODO
...