I had tried,
(container_fs_writes_bytes_total{pod="calico-node-fmvbf"}) has more than 1
timeseris data
(container_fs_usage_bytes{pod="calico-node-fmvbf"}) has 0 timeseries data,
So had merged with *on* and *group_left* operation. Actually I would like
to fetch container name, by adding both query.
*Container name* label not available in the container_fs_usage_bytes, Do u
have any idea how we can fetch container name?
On Sunday, May 15, 2022 at 11:18:41 PM UTC+5:30 Brian Candler wrote:
> Split the query into two:
>
> (container_fs_usage_bytes{pod="calico-node-fmvbf"})
>
> (container_fs_writes_bytes_total{pod="calico-node-fmvbf"})
>
> If you get more than one time series from both queries, then there's your
> problem.
>
> On Sunday, 15 May 2022 at 16:06:21 UTC+1 [email protected] wrote:
>
>> (container_fs_usage_bytes{})*on(instance)group_left(pod) group by (pod)(
>> container_fs_writes_bytes_total)
>>
>> I am getting fllowing error.
>>
>> Can you help me out to resolve?
>>
>> Error executing query: found duplicate series for the match group {} on
>> the right hand-side of the operation: [{pod="calico-node-fmvbf"},
>> {pod="kube-multus-ds-amd64-h4n77"}];many-to-many matching not allowed:
>> matching labels must be unique on one side
>>
>>
>>
--
You received this message because you are subscribed to the Google Groups
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/prometheus-users/03eb46c7-0af4-438d-9656-87f2cc77993an%40googlegroups.com.