package
0.37.2
Repository: https://github.com/thanos-io/thanos.git
Documentation: pkg.go.dev

# README

The ui package contains static files and templates used in the web UI. For easier distribution they are included in the Thanos binary using go:embed.

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 Thanos for this to work. This is for development purposes only.

After making changes to any file, run make react-app before committing to update the generated static files and templates.

# Functions

GetWebPrefix sanitizes an external URL path prefix value.
SanitizePrefix makes sure that path prefix value is valid.

# Structs

Bucket is a web UI representing state of buckets as a timeline.