On 9/24/20 1:21 PM, Danny de Waard wrote: > Okay... i made a simple tes like this. > > counter error_messages_in_log > counter warn_messages_in_log > counter total_messages_in_log
Why not use labels for the log level? Here's what I'm doing in my Æ-DIR for counting messages per log level written by various Python software: https://gitlab.com/ae-dir/ansible-ae-dir-server/-/blob/master/templates/mtail/aedir_proc.mtail.j2 Ciao, Michael. -- 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/1208f8ff-d898-ccab-4a0b-1a8d9e7d065f%40stroeder.com.

