|
17 | 17 | # oap-server/server-starter/src/main/resources/otel-rules/banyandb.yaml |
18 | 18 |
|
19 | 19 | cases: |
20 | | - # service metrics |
21 | | - - query: swctl --display yaml --base-url=http://${oap_host}:${oap_12800}/graphql metrics exec --expression=meter_banyandb_write_rate |
22 | | - expected: expected/metrics-has-value.yml |
23 | 20 | - query: swctl --display yaml --base-url=http://${oap_host}:${oap_12800}/graphql metrics exec --expression=meter_banyandb_total_memory |
24 | 21 | expected: expected/metrics-has-value.yml |
25 | | - - query: swctl --display yaml --base-url=http://${oap_host}:${oap_12800}/graphql metrics exec --expression=meter_banyandb_total_cpu |
26 | | - expected: expected/metrics-has-value.yml |
27 | | - - query: swctl --display yaml --base-url=http://${oap_host}:${oap_12800}/graphql metrics exec --expression=meter_banyandb_etcd_operation_rate |
28 | | - expected: expected/metrics-has-value.yml |
29 | | - - query: swctl --display yaml --base-url=http://${oap_host}:${oap_12800}/graphql metrics exec --expression=meter_banyandb_active_instance |
30 | | - expected: expected/metrics-has-value.yml |
31 | | - - query: swctl --display yaml --base-url=http://${oap_host}:${oap_12800}/graphql metrics exec --expression=meter_banyandb_cpu_usage |
32 | | - expected: expected/metrics-has-value.yml |
33 | | - - query: swctl --display yaml --base-url=http://${oap_host}:${oap_12800}/graphql metrics exec --expression=meter_banyandb_rss_memory_usage |
34 | | - expected: expected/metrics-has-value.yml |
35 | | - - query: swctl --display yaml --base-url=http://${oap_host}:${oap_12800}/graphql metrics exec --expression=meter_banyandb_disk_usage_all |
36 | | - expected: expected/metrics-has-value.yml |
37 | | - - query: swctl --display yaml --base-url=http://${oap_host}:${oap_12800}/graphql metrics exec --expression=meter_banyandb_network_usage_recv |
38 | | - expected: expected/metrics-has-value.yml |
39 | | - - query: swctl --display yaml --base-url=http://${oap_host}:${oap_12800}/graphql metrics exec --expression=meter_banyandb_network_usage_sent |
40 | | - expected: expected/metrics-has-value.yml |
41 | | - - query: swctl --display yaml --base-url=http://${oap_host}:${oap_12800}/graphql metrics exec --expression=meter_banyandb_storage_write_rate |
42 | | - expected: expected/metrics-has-value.yml |
43 | | - |
44 | | - # instance metrics |
45 | 22 | - query: swctl --display yaml --base-url=http://${oap_host}:${oap_12800}/graphql metrics exec --expression=meter_banyandb_instance_write_rate |
46 | 23 | expected: expected/metrics-has-value.yml |
47 | 24 | - query: swctl --display yaml --base-url=http://${oap_host}:${oap_12800}/graphql metrics exec --expression=meter_banyandb_instance_total_memory |
|
62 | 39 | expected: expected/metrics-has-value.yml |
63 | 40 | - query: swctl --display yaml --base-url=http://${oap_host}:${oap_12800}/graphql metrics exec --expression=meter_banyandb_instance_network_usage_sent |
64 | 41 | expected: expected/metrics-has-value.yml |
65 | | - - query: swctl --display yaml --base-url=http://${oap_host}:${oap_12800}/graphql metrics exec --expression=meter_banyandb_instance_storage_write_rate |
66 | | - expected: expected/metrics-has-value.yml |
67 | 42 |
|
0 commit comments