Replies: 5 comments 4 replies
-
I think for the short-term option 2 is probably ok. I do like the |
Beta Was this translation helpful? Give feedback.
-
The OR approach looks quite elegant to me, and I like Fabian's suggestion to limit the number of occurrences, although 10 seems to be a bit too much, I imagine 3 or 4 would be more than enough to get the gist of it. Having to modify the message for all rules doesn't seem to be practical to me. My only concern with the OR approach would be to determine how that might affect the shim when converting already existing rules. |
Beta Was this translation helpful? Give feedback.
-
I worry about how, if we make the message dynamic in this way, we roll up the issues into a wider view across applications into a migration wave for instance. I think that has been the primary driver in my mind to make the message not dynamic |
Beta Was this translation helpful? Give feedback.
-
I agree with @shawn-hurley, it might get messy when aggregating issues across multiple applications in the UI. Then, I feel like the second option that @jmle proposed could work:
I imagine that field would take precedence over the regular message field in the UI, so it would be displayed at issue detail level with the regular interpolated messages being displayed at incident level. WDYT? |
Beta Was this translation helpful? Give feedback.
-
Based on this convo, I am proposing the fix is:
Do folks agree? |
Beta Was this translation helpful? Give feedback.
-
Currently, for rules with custom variables like the following
we interpolate the
message
field only in the incidents shown in the snippets. This makes sense, since we bundle all the different incidents, with the different matches (and therefore potential interpolable variables) in a single issue.As a consequence, there is no single way of interpolating the
message
field for it to be shown when the issue is opened (see screenshot, right below rule id), since there are multiple possibilities.A possible solution could be to interpolate the general message for the issue with all the different matches found, or'ing them:
Another possibility is to have an additional, modified message field for showing in the description, which wouldn't have any
template for interpolation, although this would require extensive modification of the rulesets.
What do you think?
Beta Was this translation helpful? Give feedback.
All reactions