Rendering service configuration
The remote rendering service doesn't per default collect and expose a Prometheus /metrics endpoint. To enable it, provide an environment variable
ENABLE_METRICS=true when starting the rendering service.
As an alternative you can provide a configuration file, see here for details. With this approach, besides enable metrics, you can configure a few other things:
- Collect the default metrics (NodeJS application metrics). Enabled per default. For example, this dashboard can be used to monitor a NodeJS application.
- Change what buckets to use for the
- Collect timing metrics for every rendering request.
When metrics are enabled, you'll find the Prometheus /metrics endpoint at
http://<rendering service host>:<rendering service port>/metrics.
Configure your Prometheus instance to scrape the image rendering service, e.g.
scrape_configs: - job_name: 'grafana-image-rendering-service' static_configs: - targets: ['<rendering service host>:<rendering service port>']