prometheus/web/ui
Boyko d2318dc822
Rule panel (#6708)
* make rules content to consume groups directly

Signed-off-by: blalov <boiskila@gmail.com>

* create  rule panel component

Signed-off-by: blalov <boiskila@gmail.com>

* fix react warning

Signed-off-by: blalov <boiskila@gmail.com>

* pr review changes

Signed-off-by: blalov <boiskila@gmail.com>

* lint fixes

Signed-off-by: blalov <boiskila@gmail.com>

* addreses PR comments

Signed-off-by: Boyko Lalov <boiskila@gmail.com>

* remove unnecessary double quote escaping

Signed-off-by: Boyko Lalov <boiskila@gmail.com>

* fix regex

Signed-off-by: Boyko Lalov <boiskila@gmail.com>

* apply suggested change

Signed-off-by: Boyko Lalov <boiskila@gmail.com>

* display duration when is > 0

Signed-off-by: Boyko Lalov <boiskila@gmail.com>

* split rule type to more specific types

Signed-off-by: blalov <boiskila@gmail.com>

* fix typo and remove unused utils function

Signed-off-by: blalov <boiskila@gmail.com>

* type guard alerting rule

Signed-off-by: blalov <boiskila@gmail.com>

* fix ts error cause by BaseRule type

Signed-off-by: blalov <boiskila@gmail.com>

* handle record expression properly

Signed-off-by: blalov <boiskila@gmail.com>

* remove quotes escaping logic for recoreding rule

Signed-off-by: blalov <boiskila@gmail.com>
2020-03-15 22:10:45 +01:00
..
react-app Rule panel (#6708) 2020-03-15 22:10:45 +01:00
static Spelling (#6517) 2020-01-02 15:54:09 +01:00
templates Change old UI link to React App to point to graph page (#6697) 2020-01-28 14:04:56 +01:00
assets_generate.go Integrate beginning of React UI (#5694) 2019-10-17 14:38:09 +02:00
doc.go Integrate beginning of React UI (#5694) 2019-10-17 14:38:09 +02:00
README.md Update more web/ui/README.md bits for new UI (#6197) 2019-10-25 10:19:21 +02:00
ui.go Integrate beginning of React UI (#5694) 2019-10-17 14:38:09 +02:00

The ui directory contains static files and templates used in the web UI. For easier distribution they are statically compiled into the Prometheus binary using the vfsgen library (c.f. Makefile).

During development it is more convenient to always use the files on disk to directly see changes without recompiling. To make this work, remove the builtinassets build tag in the flags entry in .promu.yml, and then make build (or build Prometheus using go build ./cmd/prometheus).

This will serve all files from your local filesystem. This is for development purposes only.