Skip to content

Commit

Permalink
Add Prometheus registration and update routes.json
Browse files Browse the repository at this point in the history
  • Loading branch information
alileza committed Mar 19, 2024
1 parent 063ae51 commit cf8b0bc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions httpredirector/httpredirector.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ var (
)
)

func init() {
prometheus.MustRegister(forwardCounter)
}

const DefaultRedirectURL = "https://alileza.me/"

// HTTPRedirector is a struct that holds the routes and their destinations
Expand Down

0 comments on commit cf8b0bc

Please sign in to comment.