1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-29 09:02:46 +00:00
Commit graph

3 commits

Author SHA1 Message Date
Maximilian Bosch 93e1147d19
grafana-image-renderer: 2.0.1 -> 2.1.0 2021-05-11 23:41:12 +02:00
Maximilian Bosch 4d4b527253
grafana-image-renderer: 2020-12-01 -> 2.0.1
ChangeLog: https://github.com/grafana/grafana-image-renderer/releases/tag/v2.0.1
2021-03-07 22:56:28 +01:00
Maximilian Bosch a9d0682475
grafana-image-renderer: init at 2020-12-01
This package[1] is a replacement for the old phantomjs-integration[2]
which is practically EOL. It is basically used to render PNGs of panels
that triggered an alert in Grafana.

This package internally uses `puppeteer`[3] to control a headless
Chromium instance. Even though puppeteer recommends to use a fixed
revision of `chromium`, I checked that our default `pkgs.chromium` works
fine as well. Also, I don't think it's a good idea to use outdated
browser versions[4].

I used the latest revision from `master` on purpose since compiling the
code with `tsc` from `v2.0` didn't work and I couldn't figure out why.

[1] https://grafana.com/grafana/plugins/grafana-image-renderer
[2] https://grafana.com/blog/2020/05/07/grafana-7.0-preview-new-image-renderer-plugin-to-replace-phantomjs/
[3] https://github.com/puppeteer/puppeteer
[4] currently, puppeteer v2.0.0 is used which recommends revision 706915
    (v79.0.3945.130).
2021-01-01 19:19:11 +01:00