-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
support math functions in line_format and label_format #3434
support math functions in line_format and label_format #3434
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code wise this looks good. I think though we need something better for the doc. Either we document all additions, or we redirect to sprig by explaining what sub-set we support.
|
||
## add | ||
|
||
> **Note:** Added in Loki 2.2. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure if this should be 2.2
. We may have to change.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah this is going to be 2.3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
dc55ea8
to
d752bc0
Compare
Signed-off-by: Cyril Tovena <[email protected]>
What this PR does / why we need it:
Add math functions to line_format and label_format.
Which issue(s) this PR fixes:
Fixes #2847, Fixes #2955
Checklist