history: add UI view to traces

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
This commit is contained in:
Tonis Tiigi
2025-02-05 22:08:38 -08:00
parent cfeea34b2d
commit f9a76355b5
16 changed files with 465 additions and 7 deletions

17
vendor/github.com/tonistiigi/jaeger-ui-rest/fs.go generated vendored Normal file
View File

@ -0,0 +1,17 @@
package jaegerui
import (
"embed"
"io/fs"
"net/http"
"github.com/tonistiigi/jaeger-ui-rest/decompress"
)
//go:embed public
var staticFiles embed.FS
func FS(cfg Config) http.FileSystem {
files, _ := fs.Sub(staticFiles, "public")
return http.FS(decompress.NewFS(files, cfg))
}