查询一个label有多少个value(PrometheusQueryLabelValues)
管理员可以使用PrometheusQueryLabelValues查询一个label有多少个value。例如:
PrometheusQueryLabelValues labels=disk,asdfas,hostUuid
参数(Parameters)
名字 | 描述 | 可选的 | 可选的参数值 | 起始支持版本 |
---|---|---|---|---|
labels | 标签值列表 | 0.6 | ||
userTags | 用户标签,请参见 创建用户标签(CreateUserTag) | 是 | 0.6 | |
systemTags | 系统标签,请参见 创建系统标签(CreateSystemTag) | 是 | 0.6 | |
timeout | 是 |