Skip to content

Grafana image renderer

services.grafana-image-renderer.chromium

The chromium to use for image rendering.

Type: package

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/monitoring/grafana-image-renderer.nix

services.grafana-image-renderer.enable

Whether to enable grafana-image-renderer. Type: boolean

Default

false

Example

true

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/monitoring/grafana-image-renderer.nix

services.grafana-image-renderer.provisionGrafana

Whether to enable Grafana configuration for grafana-image-renderer. Type: boolean

Default

false

Example

true

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/monitoring/grafana-image-renderer.nix

services.grafana-image-renderer.settings

Configuration attributes for grafana-image-renderer.

See https://github.com/grafana/grafana-image-renderer/blob/ce1f81438e5f69c7fd7c73ce08bab624c4c92e25/default.json for supported values.

Type: JSON value

Default

{ }

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/monitoring/grafana-image-renderer.nix

services.grafana-image-renderer.settings.rendering.args

List of CLI flags passed to chromium.

Type: list of string

Default

["--no-sandbox"]

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/monitoring/grafana-image-renderer.nix

services.grafana-image-renderer.settings.rendering.height

Height of the PNG used to display the alerting graph.

Type: positive integer, meaning >0

Default

500

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/monitoring/grafana-image-renderer.nix

services.grafana-image-renderer.settings.rendering.mode

Rendering mode of grafana-image-renderer:

  • default: Creates on browser-instance per rendering request.
  • reusable: One browser instance will be started and reused for each rendering request.
  • clustered: allows to precisely configure how many browser-instances are supposed to be used. The values for that mode can be declared in rendering.clustering.

Type: one of "default", "reusable", "clustered"

Default

"default"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/monitoring/grafana-image-renderer.nix

services.grafana-image-renderer.settings.rendering.width

Width of the PNG used to display the alerting graph.

Type: positive integer, meaning >0

Default

1000

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/monitoring/grafana-image-renderer.nix

services.grafana-image-renderer.settings.service.logging.level

The log-level of the {file}grafana-image-renderer.service-unit.

Type: one of "error", "warning", "info", "debug"

Default

"info"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/monitoring/grafana-image-renderer.nix

services.grafana-image-renderer.settings.service.port

The TCP port to use for the rendering server.

Type: 16 bit unsigned integer; between 0 and 65535 (both inclusive)

Default

8081

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/monitoring/grafana-image-renderer.nix

services.grafana-image-renderer.verbose

Whether to enable verbosity for the service. Type: boolean

Default

false

Example

true

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/monitoring/grafana-image-renderer.nix