Skip to content
This repository has been archived by the owner on Feb 3, 2022. It is now read-only.

Commit

Permalink
add new_relic
Browse files Browse the repository at this point in the history
Signed-off-by: Valery Piashchynski <[email protected]>
  • Loading branch information
rustatian committed Oct 25, 2021
1 parent 9ef6565 commit b3bcd00
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
3 changes: 2 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ require (
github.com/spiral/endure v1.0.6
github.com/spiral/errors v1.0.12
github.com/spiral/goridge/v3 v3.2.3
github.com/spiral/roadrunner-plugins/v2 v2.5.1
github.com/spiral/roadrunner-plugins/v2 v2.6.0-beta.1
github.com/spiral/roadrunner/v2 v2.5.0
// ---------------------
github.com/stretchr/testify v1.7.0
Expand Down Expand Up @@ -88,6 +88,7 @@ require (
github.com/nats-io/nats.go v1.13.0 // indirect
github.com/nats-io/nkeys v0.3.0 // indirect
github.com/nats-io/nuid v1.0.1 // indirect
github.com/newrelic/go-agent/v3 v3.15.0 // indirect
github.com/opentracing/opentracing-go v1.2.0 // indirect
github.com/pborman/uuid v1.2.1 // indirect
github.com/pelletier/go-toml v1.9.4 // indirect
Expand Down
6 changes: 4 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -441,6 +441,8 @@ github.com/nats-io/nkeys v0.3.0 h1:cgM5tL53EvYRU+2YLXIK0G2mJtK12Ft9oeooSZMA2G8=
github.com/nats-io/nkeys v0.3.0/go.mod h1:gvUNGjVcM2IPr5rCsRsC6Wb3Hr2CQAm08dsxtV6A5y4=
github.com/nats-io/nuid v1.0.1 h1:5iA8DT8V7q8WK2EScv2padNa/rTESc1KdnPw4TC2paw=
github.com/nats-io/nuid v1.0.1/go.mod h1:19wcPz3Ph3q0Jbyiqsd0kePYG7A95tJPxeL+1OSON2c=
github.com/newrelic/go-agent/v3 v3.15.0 h1:XKF81YOkkO5cCEtQmguamOVMVmeWnv7X3+mkRtwwG3U=
github.com/newrelic/go-agent/v3 v3.15.0/go.mod h1:1A1dssWBwzB7UemzRU6ZVaGDsI+cEn5/bNxI0wiYlIc=
github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e h1:fD57ERR4JtEqsWbfPhv4DMiApHyliiK5xCTNVSPiaAs=
github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e/go.mod h1:zD1mROLANZcx1PVRCS0qkT7pwLkGfwJo4zjcN/Tysno=
github.com/nxadm/tail v1.4.4/go.mod h1:kenIhsEOeOJmVchQTgglprH7qJGnHDVpk1VPCcaMI8A=
Expand Down Expand Up @@ -541,8 +543,8 @@ github.com/spiral/goridge/v3 v3.2.3 h1:iNz6aD/c00hC50wo+qT8uP5ZZ3VdCAERXUtNiyDE3
github.com/spiral/goridge/v3 v3.2.3/go.mod h1:DA4Ekw9qVcTvVouUNJgxESXURBHZ2SfkliCEIpEl9lA=
github.com/spiral/roadrunner-plugins/v2 v2.5.0 h1:Jgeu0dhlsUUlYl2KoTjRH8f+y7TaJiOyvzDuOxR0RVo=
github.com/spiral/roadrunner-plugins/v2 v2.5.0/go.mod h1:ngs+cj96654/cmIHS3c6JWliVjehrv7bkUSmNymXehU=
github.com/spiral/roadrunner-plugins/v2 v2.5.1 h1:G8c5+97Gn8zy32fj5Pm6Wj2h1fKubnP9LS1oe5ncvsI=
github.com/spiral/roadrunner-plugins/v2 v2.5.1/go.mod h1:YKGBMaY1aJV2QUhLEY6J0+Lzz62lWAoD6aqgPMK+8yM=
github.com/spiral/roadrunner-plugins/v2 v2.6.0-beta.1 h1:y1m0WnZIEntmpQfcY7I4xRHXjU+XHHpuF++T64aG8Lk=
github.com/spiral/roadrunner-plugins/v2 v2.6.0-beta.1/go.mod h1:fd6RYnnQNzw8eZtHu7pJPwesJw8N+UFo2XeY+VEhbuQ=
github.com/spiral/roadrunner/v2 v2.5.0 h1:SyqLdExFdX9HFGaiV0qeneaZTJxz9oM9D6qwu0Co1j0=
github.com/spiral/roadrunner/v2 v2.5.0/go.mod h1:ZjmyfOy5eWRWJwb1yxQAFFhufw1bBYtbxq8F8yqZbHI=
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
Expand Down
2 changes: 2 additions & 0 deletions internal/container/plugins.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import (
httpPlugin "github.com/spiral/roadrunner-plugins/v2/http"
"github.com/spiral/roadrunner-plugins/v2/http/middleware/gzip"
"github.com/spiral/roadrunner-plugins/v2/http/middleware/headers"
newrelic "github.com/spiral/roadrunner-plugins/v2/http/middleware/new_relic"
"github.com/spiral/roadrunner-plugins/v2/http/middleware/static"
"github.com/spiral/roadrunner-plugins/v2/informer"
"github.com/spiral/roadrunner-plugins/v2/jobs"
Expand Down Expand Up @@ -62,6 +63,7 @@ func Plugins() []interface{} { //nolint:funlen
&beanstalk.Plugin{},
// =========

&newrelic.Plugin{},
&grpcPlugin.Plugin{},

// kv + ws + jobs plugin
Expand Down

0 comments on commit b3bcd00

Please sign in to comment.