well yeah but I cant guarantee they understand the alerting format. also product operator can access the documentation too.
On Tuesday, March 28, 2023 at 2:14:29 PM UTC+2 Brian Candler wrote: > If it's only for consumption by developers reading the rules files, then > would YAML comments be sufficient? > > On Monday, 27 March 2023 at 15:00:47 UTC+1 [email protected] wrote: > >> Thanks for the response >> >> By generating automatic documentation I meant automatically creating >> developer documentation of the existing alerts and their descriptions from >> the yml files rather than runtime information. >> which means the labels will not be replaced, so the less labels the more >> readable the result. >> >> I am considering the addition of an extra annotation field for that >> purpose I think it is better to separate the concerns here. >> >> On Monday, March 27, 2023 at 3:46:11 PM UTC+2 Stuart Clark wrote: >> >>> On 2023-03-27 14:43, [email protected] wrote: >>> > Hello, I have looked online and I cant find any best practices for >>> > filling up the description and the summary. from the examples I see >>> > that Summary should be the shortest (plus the minimum usage of >>> > labels). But maybe it is an observation bias. >>> > >>> > I am trying to generate some automatic documentation around alerting >>> > and having a lot of labels makes it as user friendly as reading the >>> > yaml file directly >>> > >>> >>> It really depends how you are wanting to use those. If you are wanting >>> to use the summary in an email's subject line then you probably want it >>> to be fairly short for example. You can have as many labels/annotations >>> as you like, so you don't even have to have one called "summary" if you >>> don't want to, and there's nothing stopping you from having much more >>> specific labels (e.g. severity, service, environment) which you can then >>> include in email/ticket subjects. >>> >>> -- >>> Stuart Clark >>> >> -- You received this message because you are subscribed to the Google Groups "Prometheus Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/916cea26-f30a-4a18-95b1-0fd6f59bdecan%40googlegroups.com.

