bulk-stats pod-query

Configures the queries for retriving the bulk statistics.

Privilege Level

Security Administrator, Administrator

Command Mode

Exec > Global Configuration

Syntax

bulk-stats pod-query field_name { query query_name | rate-query rate_query_name | default-value default_value } 

field_name

Specify the name of the field to add to the pod statistics.

Must be a string.

query query_name

Specify the query to be executed in Prometheus Query Language (PromQL). The query must be groupped by namespace and pod_name or pod.

Must be a string.

rate-query rate_query_name

Specify the rate query to be executed in PromQL format. The rate query must use rate (not irate) and include group by namespace and pod_name (or pod). Use $INTERVAL for interval.

Must be a string.

default-value default_value

Specify the value used in the bulk statistics file if the query did not return any value.

Must be a string.

Usage Guidelines

Use this command to configure the queries for retriving the bulk statistics.