[Tile-serving] [openstreetmap/mod_tile] Add a Prometheus metrics endpoint (#222)

Ben Kochie notifications at github.com
Sun Jan 3 11:20:07 UTC 2021


Add a Prometheus `/metrics` endpoint based on the modtile_collector[0]
script.
* Minor metric naming cleanup.
* Drops duplicate TileBufferReads metrics that duplicate the per-zoom values.

Related to: https://github.com/openstreetmap/operations/issues/492

[0]: https://github.com/openstreetmap/prometheus-exporters/blob/main/collectors/modtile/modtile_collector

Signed-off-by: Ben Kochie <superq at gmail.com>
You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/mod_tile/pull/222

-- Commit Summary --

  * Add a Prometheus metrics endpoint

-- File Changes --

    M src/mod_tile.c (96)

-- Patch Links --

https://github.com/openstreetmap/mod_tile/pull/222.patch
https://github.com/openstreetmap/mod_tile/pull/222.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/mod_tile/pull/222
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20210103/696c6854/attachment.htm>


More information about the Tile-serving mailing list