Skip to content

feat: OpenMetrics / Prometheus / metrics endpoint (monitoring) #773

@lefuturiste

Description

@lefuturiste

Hello, I will be interested to use a monitoring endpoint on martin. Of course I'm ready to work on it.

The need is to have some sort of monitoring endpoint to retrieve some metrics.
I would be interested for:

  • metrics linked to the web server
  • metrics linked to the connexion martin has to postgres and some performance insight
  • metrics linked to the duration of the tile generating process
  • any others that should be discussed

I'm thinking this can be behind a feature flag in order to give the user a choice.

What are your take on this?

Implementation details:

we have the choice between two prometheus instrumentation libraries

the https://github.com/tikv/rust-prometheus library is compatible with the actix web instrumentation library https://github.com/nlopes/actix-web-prom

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions