summaryrefslogtreecommitdiff
path: root/cmd/rr/main.go
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2019-06-25 17:38:29 +0300
committerWolfy-J <[email protected]>2019-06-25 17:38:29 +0300
commitc8459e1e5933f8bf5bc25635ce13724d492e5ebe (patch)
tree56c5807d9e3b426835b4e6dea21ee976e3c13050 /cmd/rr/main.go
parente19c5d46dcb866c8f0d91779c95a2340a217ee55 (diff)
prometheus
Diffstat (limited to 'cmd/rr/main.go')
-rw-r--r--cmd/rr/main.go4
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{})