# HG changeset patch # User drewp@bigasterisk.com # Date 1686261230 25200 # Node ID 86e569fa59c7c151fde3ae0c69b63b4a5f352edf # Parent 06bf6dae8e64950a3fc9c1c379377081f9b7990a metrics to its own page diff -r 06bf6dae8e64 -r 86e569fa59c7 light9/web/index.html --- a/light9/web/index.html Thu Jun 08 13:20:23 2023 -0700 +++ b/light9/web/index.html Thu Jun 08 14:53:50 2023 -0700 @@ -4,18 +4,7 @@ light9 home - -

light9 home page

- -
- - - - - - -
diff -r 06bf6dae8e64 -r 86e569fa59c7 light9/web/metrics/StatsLine.ts --- a/light9/web/metrics/StatsLine.ts Thu Jun 08 13:20:23 2023 -0700 +++ b/light9/web/metrics/StatsLine.ts Thu Jun 08 14:53:50 2023 -0700 @@ -48,7 +48,7 @@ changedProperties.forEach((oldValue: any, propName: string) => { if (propName == "name") { const reload = () => { - fetch(this.name + "/metrics").then((resp) => { + fetch("/service/"+this.name + "/metrics").then((resp) => { if (resp.ok) { resp .text() diff -r 06bf6dae8e64 -r 86e569fa59c7 light9/web/metrics/index.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/light9/web/metrics/index.html Thu Jun 08 14:53:50 2023 -0700 @@ -0,0 +1,19 @@ + + + + metrics + + + + + +
+ + + + + + +
+ +