cos-tools' document has an example to convert a query, but it doesn't touch anything about the job name.
https://github.com/canonical/cos-tool/blob/main/README.md
> job:request_latency_seconds:mean5m{job=\"myjob\"} > 0.5
> job:request_latency_seconds:mean5m{job="myjob",juju_application="proxy",juju_model="lma",juju_model_uuid="12345",juju_unit="proxy/1"} > 0.5
Not sure how the job name is supposed to be written in the COS world like with a special variable or a job name shouldn't be used at all.
cos-tools' document has an example to convert a query, but it doesn't touch anything about the job name.
https:/ /github. com/canonical/ cos-tool/ blob/main/ README. md
> job:request_ latency_ seconds: mean5m{ job=\"myjob\ "} > 0.5
> job:request_ latency_ seconds: mean5m{ job="myjob" ,juju_applicati on="proxy" ,juju_model= "lma",juju_ model_uuid= "12345" ,juju_unit= "proxy/ 1"} > 0.5
Not sure how the job name is supposed to be written in the COS world like with a special variable or a job name shouldn't be used at all.