thanos
thanos copied to clipboard
Ruler UI: `alert.query-template` is not honored inside the Rules UI
Thanos, Prometheus and Golang version used:
Object Storage Provider:
Azure
What happened:
Clicking inside the Ruler UI > Rules > Any Expressions, the default value /graph?g0.expr= for building the querier URL will be used instead the template from alert.query-template. I'm talking about the links in the screen below:
Ref: https://github.com/thanos-io/thanos/blob/968899fabc7d66e764cf5bcd500cae26dcdd1103/pkg/ui/react-app/src/utils/index.ts#L290
What you expected to happen:
If I define alert.query-template, if UI should take care about it.
How to reproduce it (as minimally and precisely as possible):
- Start Ruler with any
alert.query-templatevalue. - Setup Rules
- Go to Ruler UI and observe that
alert.query-templateis not used.
Full logs to relevant components:
Anything else we need to know:
@jkroepke Hey, I'm looking to some golang development and I was wondering if I could pick this up as a first issue into golang in general.
@Norman-Lee I guess the issue is more typescript related as golang.
@jkroepke Oh rip, I'll probably pass on this then. Thanks for letting me know.
This can be closed, as fix has been released.