Hi Team,
Is there any set of rule template (expression is enough) for mongodb like replicaset error, replication lag and other commonly used rules
In pmm only few were default like mongo down,mongo restarted rules.
It would be helpful if i can find above mentioned expressions
Thanks
1 Like
@matthewb can you pls help here
@Ivan_Groenewold Gone through this but couldnt find any templates for replicaset expressions
1 Like
Not sure exactly what you are looking for but this resource also is helpful: Awesome Prometheus alerts | Collection of alerting rules
1 Like
yeah @Ivan_Groenewold but these rules are not supporting in pmm
1 Like
@Ivan_Groenewold for example :
mongodb_mongod_replset_member_optime_date is not supporting
1 Like
For the case of replication lag you can use mongodb_mongod_replset_member_replication_lag
This is just to get you started, but you should be looking at the Metrics Explorer to figure out the expressions to generate the alerts. Eventually we will ship more templates built-in when the alerting feature becomes GA.
1 Like
sure thanks @Ivan_Groenewold for now it would be helpful if expression for replication lag can be documeneted addition to current templates in the above given urls
1 Like
https://jira.percona.com/browse/PMM-10070
Raised an improvement ticket , Please have a look into this
1 Like