Fredrik Eriksson

Results comments of Fredrik Eriksson

I solved this by adding transformations to my query. First `Series to Rows` and then a `Group By` with grouping on metric and calculate mean on the value. My promql...

My workaround for this (on Ubuntu 19.04) was to just set the hostname to a fqdn. ``` sudo hostname computer.domain.tld echo computer.domain.tld > /etc/hostname ```

`sum(ascent_over_time({__name__=~"deals_count_(Market1|Market2)"}[1i]))` I have not tried v1.66.1, it was not the latest version when I pulled the container, I should mention I'm running standalone version. Same query works if I replace...

Seems like the problem occurs when matching other labels in the query. This query returns 0 results `sum(ascent_over_time({__name__=~"deals_count_(Market1|Market2)", environment=~"prod"}[1i]))` This however does `sum(ascent_over_time({__name__=~"deals_count_(Market1|Market2)"}[1i]))` Also each metric works when addressing them...

This query works: `sum by (market,environment) (ascent_over_time(label_replace({__name__=~"deals_count_(Market1|Market2)"}, 'market', '$1', '__name__', 'deals_count_(.+)')[1i]))` and produces the results in the image below ![image](https://user-images.githubusercontent.com/5592150/134509361-b2d8ceb9-7079-4cda-9c25-5884f60a5e2a.png) This query does not work either: `sum by (market,environment) (ascent_over_time(label_replace({__name__=~"deals_count_(Market1|Market2)",...

Yes it is working as expected now :)

Hi @zekker6! Thank you for the quick turnaround. I've tested the build and it does exactly what I wished for. It loads all yaml files in the directory structure.