Skip to content

Commit

Permalink
fix: use /metrics on the main router (#255)
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Gianelloni <wolf31o2@blinklabs.io>
  • Loading branch information
wolf31o2 authored Oct 18, 2024
1 parent 839e674 commit bd120b2
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 bd120b2

Please sign in to comment.