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
Tip revision: 6096696122d8178b6d77bac562fe5447a2a73fdf authored by brharrington on 27 October 2022, 20:22:11 UTC
allow image to be disabled for v2.json (#1476)
allow image to be disabled for v2.json (#1476)
Tip revision: 6096696
File | Mode | Size |
---|---|---|
.github | ||
atlas-akka | ||
atlas-akka-testkit | ||
atlas-chart | ||
atlas-core | ||
atlas-eval | ||
atlas-jmh | ||
atlas-json | ||
atlas-lwcapi | ||
atlas-postgres | ||
atlas-spring-akka | ||
atlas-spring-eval | ||
atlas-spring-lwcapi | ||
atlas-spring-webapi | ||
atlas-standalone | ||
atlas-webapi | ||
conf | ||
project | ||
scripts | ||
.gitignore | -rw-r--r-- | 247 bytes |
.scalafmt.conf | -rw-r--r-- | 892 bytes |
CONTRIBUTING.md | -rw-r--r-- | 10.2 KB |
LICENSE | -rw-r--r-- | 11.1 KB |
Makefile | -rw-r--r-- | 2.3 KB |
OSSMETADATA | -rw-r--r-- | 20 bytes |
README.md | -rw-r--r-- | 884 bytes |
build.sbt | -rw-r--r-- | 4.6 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...