Monitor & destination meta data

#1

Is it possible to add meta-data to a monitor or destination definition, for example like ingest pipelines has a description attribute.

My use case is to organize alerts under high level categories, for example Cluster Health, Document Metrics and pass that along from the trigger ctx variables to the action template.

#2

Hi @shah,
The first requirement I see here is that the description would need to be in JSON format in order to be used in the ctx variables.

Just to clarify you would like to just have some text attached to monitors and destinations?

#3

Hi @lucaswin-amzn,

Yes that is correct, the aim here is to organize and track alerts going to a custom webhook and be able to know what category the alert falls under based on some monitor meta data.

#4

Hi @shah,

I don’t see a justification to add this kind of meta-data purely for categorization. You could put this information into the monitor / trigger name and then access it using the ctx variable while sending an alert, or am I understanding your use case incorrectly?

Thanks,
Lucas Winkelmann

#5

Hi @lucaswin-amzn,

Our current work around is to use the the name attribute to scope the category / namespace.

Thanks for the insights!

1 Like