mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 13:43:22 +00:00
a9d0682475
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). |
||
---|---|---|
.. | ||
default.nix | ||
package.json | ||
yarn.lock | ||
yarn.nix |