Grafana Image Rendering Service
Monitor the Grafana Image Renderer plugin when running it as a remote rendering service.
Monitor the Grafana Image Renderer plugin when running it as a remote rendering service.
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
grafana_image_renderer_service_http_request_duration_seconds_bucket
metric. - 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
.
Prometheus configuration
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>']
Data source config
Collector config:
Upload an updated version of an exported dashboard.json file from Grafana
Revision | Description | Created | |
---|---|---|---|
Download |