Skip to content

Commit

Permalink
feat(da): log metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
tuxcanfly committed Oct 1, 2024
1 parent 97654c1 commit 2abb64b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ func main() {

if metricsEnabled {
go func() {
log.Printf("Starting metrics server on %v...\n", metricsAddress)
err := http.ListenAndServe(metricsAddress, nil)
if err != nil {
log.Fatalf("Failed to serve metrics: %v", err)
Expand Down

0 comments on commit 2abb64b

Please sign in to comment.