Skip to content

Commit

Permalink
fix: use /metrics on the main router
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Gianelloni <[email protected]>
  • Loading branch information
wolf31o2 committed Oct 18, 2024
1 parent 839e674 commit eb5e742
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/api/static/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
<div
id="metrics-container"
class="flex items-center flex-wrap font-mono gap-4 whitespace-pre mb-4"
hx-get="javascript:window.location.protocol + '//' + window.location.hostname + ':8081/'"
hx-get="/metrics"
hx-trigger="load, every 1s"
hx-swap="innerHTML"
>
Expand Down

0 comments on commit eb5e742

Please sign in to comment.