mirror of
https://github.com/prometheus/prometheus.git
synced 2024-11-10 07:34:04 -08:00
097439b0f9
Displaying all the dropped targets in the service-discovery page hurts the Prometheus server as well as the browser when thousands of dropped targets exist. This change limits this number to 1,000 and display the number of active/total targets per scrape configuration. Add warning when more than 100 targets are dropped Signed-off-by: Simon Pasquier <spasquie@redhat.com> |
||
---|---|---|
.. | ||
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 run make assets
for this to work.
This will put go-bindata
in DEBUG mode where it serves from your local filesystem.
This is for development purposes only.
After making changes to any file, run make assets
(without the DEBUG=1
) before committing to update
the generated inline version of the file.