We would like to count the amount of request per Consumer (it’s the same for the Services too).
This job is done by the Statsd plugin. Using a statsd-exporter (here the docker container) it’s possible to show all the statistics in Prometheus about Kong the number of requests simply going to the /metrics page.
Problems come up if the server is restarted, all the stats are deleted.
So we want to work in order to store everything. Bu before spent some days of work, we’re wondering if there is a better way in order to have persistent statistics.
Any suggestions will be appreciated.