package
1.8.2
Repository: https://github.com/andrejbranch/prometheus.git
Documentation: pkg.go.dev

# README

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.

# Functions

Asset loads and returns the asset for the given name.
AssetDir returns the file names below a certain directory embedded in the file by go-bindata.
AssetInfo loads and returns the asset info for the given name.
AssetNames returns the names of the assets.
MustAsset is like Asset but panics when Asset would return an error.
RestoreAsset restores an asset under the given directory.
RestoreAssets restores an asset under the given directory recursively.