There's no string concat candy, so that'd probably be default:
FORMAT('critical-%s%s', x, y)

On Tue, Oct 17, 2017 at 2:28 PM, Otto Fowler <ottobackwa...@gmail.com>
wrote:

> match(longer_variable -> x, other_variable -> y) { x < 10 : 'info', x <=
> 20 : 'warn’, x < y : ‘oh boy’,  default: ‘critical- ‘ + TO_STRING(x) +
> TO_STRING(y) }
>
>
> On October 17, 2017 at 14:26:00, Otto Fowler (ottobackwa...@gmail.com)
> wrote:
>
> match(longer_variable -> x) { x < 10 : 'info', x <= 20 : 'warn', default:
> 'critical' }
>
>

Reply via email to