I’m trying to create an alert rule in PMM based on the query time for mongoDB. I see the query time shows up in the QAN but there’s no “explore” option that shows the promQL query I can use to make an alert. Is there any other way to get the query time in a promQL query so I can make an alert from it?
No there are no option to use PromQL for QAN metrics since they are stored in a different storage.
But you can use SQL to query data from clickhouse by select Clickhouse as a data source.
Thank you for the question and interest in PMM.