diff options
author | Wolfy-J <[email protected]> | 2019-06-25 17:38:29 +0300 |
---|---|---|
committer | Wolfy-J <[email protected]> | 2019-06-25 17:38:29 +0300 |
commit | c8459e1e5933f8bf5bc25635ce13724d492e5ebe (patch) | |
tree | 56c5807d9e3b426835b4e6dea21ee976e3c13050 /cmd/rr/main.go | |
parent | e19c5d46dcb866c8f0d91779c95a2340a217ee55 (diff) |
prometheus
Diffstat (limited to 'cmd/rr/main.go')
-rw-r--r-- | cmd/rr/main.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cmd/rr/main.go b/cmd/rr/main.go index 6f325fb4..6fb10ba6 100644 --- a/cmd/rr/main.go +++ b/cmd/rr/main.go @@ -24,12 +24,13 @@ package main import ( rr "github.com/spiral/roadrunner/cmd/rr/cmd" - "github.com/spiral/roadrunner/service/headers" // services (plugins) "github.com/spiral/roadrunner/service/env" + "github.com/spiral/roadrunner/service/headers" "github.com/spiral/roadrunner/service/http" "github.com/spiral/roadrunner/service/limit" + "github.com/spiral/roadrunner/service/metrics" "github.com/spiral/roadrunner/service/rpc" "github.com/spiral/roadrunner/service/static" @@ -42,6 +43,7 @@ func main() { rr.Container.Register(env.ID, &env.Service{}) rr.Container.Register(rpc.ID, &rpc.Service{}) rr.Container.Register(http.ID, &http.Service{}) + rr.Container.Register(metrics.ID, &metrics.Service{}) rr.Container.Register(headers.ID, &headers.Service{}) rr.Container.Register(static.ID, &static.Service{}) rr.Container.Register(limit.ID, &limit.Service{}) |