[MapProxy] Cache miss statistics

Trond Michelsen trondmm-mapproxy at crusaders.no
Mon Sep 16 06:25:47 PDT 2019


On Mon, Sep 16, 2019 at 11:31:56AM +0000, Torbjörn Svangård wrote:
> Hi all!
> I have a WMS source that i have to pay for per request.
> Is there a way for me to keep track of how many cache misses there are
> and in that way keep track of how many requests i make to the external WMS?

If you enable logging, you should get a source-requests.log by
default. It shouldn't be too hard to parse this file to generate
statistics.

-- 
Trond Michelsen


More information about the MapProxy mailing list