Skip to content

Commit bd120b2

Browse files
authored
fix: use /metrics on the main router (#255)
Signed-off-by: Chris Gianelloni <[email protected]>
1 parent 839e674 commit bd120b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/api/static/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
<div
5858
id="metrics-container"
5959
class="flex items-center flex-wrap font-mono gap-4 whitespace-pre mb-4"
60-
hx-get="javascript:window.location.protocol + '//' + window.location.hostname + ':8081/'"
60+
hx-get="/metrics"
6161
hx-trigger="load, every 1s"
6262
hx-swap="innerHTML"
6363
>

0 commit comments

Comments
 (0)