mirror of
https://github.com/prometheus/prometheus.git
synced 2024-12-26 22:19:40 -08:00
52c0121890
When there is an empty result set, the Prometheus server replies with {"status":"success","data":{"resultType":"vector","result":null}} That "null" reply was not handled correctly by the graphing library. This commit handles that case and shows "no data" in the UI console view instead of throwing an error in the browser javascript console. Fixes #3515 Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu> |
||
---|---|---|
.. | ||
static | ||
templates | ||
bindata.go | ||
README.md |
The ui
package contains static files and templates used in the web UI. For
easier distribution they are statically compiled into the Prometheus binary
using the go-bindata tool (c.f. Makefile).
During development it is more convenient to always use the files on disk to
directly see changes without recompiling.
Set the environment variable DEBUG=1
and compile Prometheus for this to work.
This is for development purposes only.
After making changes to any file, run make assets
before committing to update
the generated inline version of the file.