【发布时间】:2022-08-14 19:52:29
【问题描述】:
在 Prometheus 时间序列数据库中,有两组数据(用于 M1 和 M2)与以下模式连接
- <时间戳>、<M1> <标签 L1、L2、L3>
- <时间戳>、<M2> <标签 L1、L2、L3、L4>
编写一个 PromQL 查询,创建一个新的时间序列 N,跟踪运行查询的每个时间段的 max(M1, M2)。
例如: table
我尝试使用 max() 但它只需要 1 个参数。
标签: max prometheus promql