Skip to main content

Extend Prometheus exporter with extra / more data points

We want to enable better integration with 3rd party dashboard tooling, APM integrators and other by providing more data points on the Checkly Prometheus exporter. Prime candidates are:

  • connection phase metrics for API checks, e.g. TTFB, dns

  • more metrics for browser checks like web vitals, TTFB etc.

Status: Completed5 comments

Log in to comment and vote

Comments5

  • BaCaRoZzo

    •

    Sep 14, 2023

    Thank you very much for these improvements!

    Our company rely heavily on prometheus and Alertmanager for alerting so adding more metrics or just more detailed metrics is very welcome.

    Here are some suggestions I would like to give:

    • Can you add the frequency of the check as a label? As a matter of fact we use for clauses in prometheus to let a check fail a predefined number of times. If we can export the frequency along with the other information we can use that to create different rules with different for clause without having to filter on anything else

    • The overall checkly_check_status is very useful but sometimes we can be interested in having the status for a single location. Could you add a separate checkly_check_status for each location?

    • checkly_check_result is very detailed and very much needed. At the same time in this case having an overall/average metric can also be useful. Although we don't have a specific use case in mind and it can be easily generated via prometheus constructs. Still nice to avoid avg/ avg_over_time, if the checkly exporter provides it out of the box

    • Sometimes it would interesting to export also some information from the payload for further analysis down the line. For instance we have a simple python script which GETs from an endpoint and returns a metric containing a label equal to a field of the payload. Checkly allows to define a predicate over a field but there is no way to specify that the field must be exported as a label to prometheus. I understand this proposal can become pretty complex, pretty soon. Still, I thought it would be a nice food for thoughts.