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
@matthewb can you pls help here
@igroene Gone through this but couldnt find any templates for replicaset expressions
Not sure exactly what you are looking for but this resource also is helpful: Awesome Prometheus alerts | Collection of alerting rules
yeah @igroene but these rules are not supporting in pmm
@igroene for example :
mongodb_mongod_replset_member_optime_date is not supporting
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.
sure thanks @igroene for now it would be helpful if expression for replication lag can be documeneted addition to current templates in the above given urls
Raised an improvement ticket , Please have a look into this