Monitoring documentation

This commit is contained in:
Lev Dragunov 2019-08-07 12:05:54 +03:00 committed by Lev Dragunov
parent 59c600e7de
commit d0534becec
2 changed files with 16 additions and 0 deletions

View File

@ -12,6 +12,7 @@
- ADDED: keepalive support to the osrm-routed HTTP server [#5518](https://github.com/Project-OSRM/osrm-backend/pull/5518)
- ADDED: flatbuffers output format support [#5513](https://github.com/Project-OSRM/osrm-backend/pull/5513)
- ADDED: Global 'skip_waypoints' option [#5556](https://github.com/Project-OSRM/osrm-backend/pull/5556)
- ADDED: monitoring endpoint in prometheus format [#5180](https://github.com/Project-OSRM/osrm-backend/pull/5180)
- FIXED: Install the libosrm_guidance library correctly [#5604](https://github.com/Project-OSRM/osrm-backend/pull/5604)
- FIXED: Http Handler can now deal witch optional whitespace between header-key and -value [#5606](https://github.com/Project-OSRM/osrm-backend/issues/5606)
- Routing:

15
docs/monitoring.md Normal file
View File

@ -0,0 +1,15 @@
## Abstract
OSRM routed daemon publish helath information in prometheus format.
This option switched off by default. To enable this feature please set `-P <monitoring_port>` option on OSRM routed startup.
## Available metrics
- `osrm_routed_instance_info` metric with base instanse information inside labels
-- `algorithm` routing algorithm;
-- `code_version` OSRM version. Same with `-v` command line option;
-- `data_version` OSM data version if available. This value can be setted at the `osrm-extract` phase;
-- `working_threads` actual count of http requests processing threads;
- `http_requests_count` http calls count divided by plugins. And `invalid` count for requests were plugin wasn't set;
- `workers_busy` http workers count that process request at this moment;