Grafana Image Rendering Service

Dashboard

Monitor the Grafana Image Renderer plugin when running it as a remote rendering service.
Last updated: 7 days ago

Start with Grafana Cloud and the new FREE tier. Includes 10K series Prometheus or Graphite Metrics and 50gb Loki Logs

Downloads: 725

Reviews: 0

  • Screenshot 2021-09-21 at 11-33-19 Grafana Image Rendering Service - Grafana.png
    Screenshot 2021-09-21 at 11-33-19 Grafana Image Rendering Service - Grafana.png
  • Screenshot 2021-09-21 at 11-33-51 Grafana Image Rendering Service - Grafana.png
    Screenshot 2021-09-21 at 11-33-51 Grafana Image Rendering Service - Grafana.png

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>']