If you implement the API yourself it would be better to instrument that; that way you have real tests based on how clients are actually using the API and not synthetic tests based on someones belief in how the API will be used.
Or if you're logging this activity (eg. to Elasticsearch or some other event database), then you could write some python (or other) program that uses prometheus_client library to query the logs and emit suitable metrics (either as an http server, or to a push gateway, or to a file for a textfile collector). Cheers, Cameron -- 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/9dee45e1-2ed3-4595-bf32-128b9ca77806o%40googlegroups.com.

