https://github.com/Netflix/atlas
Revision 6096696122d8178b6d77bac562fe5447a2a73fdf authored by brharrington on 27 October 2022, 20:22:11 UTC, committed by GitHub on 27 October 2022, 20:22:11 UTC
The image rendering can be computationally expensive
and increase the size of the payload quite a bit. For
some cases it is desirable to use the `v2.json` format
since it is similar to fetch and LWC, but the image is
not needed. Alert processing is one example.

This change adds a `hints` URI parameter that can be
used to pass arbitrary hints back to the rendering engine
that is used. The `v2.json` engine has been updated to
omit the image if a `no-image` hint is passed. In the
future we may want to only include the image if requested,
but that would be backwards incompatible and break some
current usage.
1 parent 3205dfb
History
Tip revision: 6096696122d8178b6d77bac562fe5447a2a73fdf authored by brharrington on 27 October 2022, 20:22:11 UTC
allow image to be disabled for v2.json (#1476)
Tip revision: 6096696

README.md

back to top