Skip to content

A Grafana backend service that handles rendering of panels & dashboards to PNGs using headless browser (Chromium/Chrome)

License

Notifications You must be signed in to change notification settings

grafana/grafana-image-renderer

grafana-image-renderer

A backend service for Grafana. It provides panel and dashboard rendering with a headless browser (Chromium). You can get your favourite dashboards as PDFs, PNGs, or with Grafana Enterprise, CSVs and even over emails with Grafana Reports.

Installation

You can find installation details in the docs.

Compile

To compile the Go service, run:

$ go build -buildvcs -o grafana-image-renderer .

To compile the Docker image, run:

$ docker build .

The following tools are also useful for engineers:

$ go tool goimports # our code formatter of choice
$ golangci-lint run # our linter of choice
$ IMAGE=tag-here go test ./tests/acceptance/... -count=1 # run acceptance tests

Release

When you are ready to make a release, tag it in Git (git tag vX.Y.Z; remember the v prefix), then push it. GitHub Actions deals with the build and deployment.

About

A Grafana backend service that handles rendering of panels & dashboards to PNGs using headless browser (Chromium/Chrome)

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages