Skip to content

Commit

Permalink
add heroku metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
zu1k committed Aug 18, 2020
1 parent f3c3397 commit c0ee23c
Show file tree
Hide file tree
Showing 3 changed files with 141 additions and 0 deletions.
1 change: 1 addition & 0 deletions api/router.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import (
"os"

"github.com/gin-gonic/gin"
_ "github.com/heroku/x/hmetrics/onload"
"github.com/zu1k/proxypool/app/cache"
"github.com/zu1k/proxypool/provider"
)
Expand Down
1 change: 1 addition & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ require (
github.com/gobwas/glob v0.2.3 // indirect
github.com/gocolly/colly v1.2.0
github.com/golang/protobuf v1.4.2 // indirect
github.com/heroku/x v0.0.25 // indirect
github.com/jasonlvhit/gocron v0.0.1
github.com/json-iterator/go v1.1.10 // indirect
github.com/kennygrant/sanitize v1.2.4 // indirect
Expand Down
Loading

0 comments on commit c0ee23c

Please sign in to comment.