summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2022-05-16 17:40:39 +0200
committerGitHub <[email protected]>2022-05-16 17:40:39 +0200
commit8c32984d7c30fe913ba5f0f6eb727775e8540e0b (patch)
tree478f669ac2e8629c8aa62fa06a4571d7d1fe147f
parent24366385286db8b4bd679446c23c48d9db1ec3cc (diff)
parent789d280c23b58271ed5711bdd1245973ccac5694 (diff)
[#1131]: release: `v2.10.0`v2.10.0
-rw-r--r--.rr.yaml42
-rw-r--r--CHANGELOG.md9
-rw-r--r--go.mod68
-rw-r--r--go.sum138
-rw-r--r--schemas/config/2.0.schema.json75
5 files changed, 222 insertions, 110 deletions
diff --git a/.rr.yaml b/.rr.yaml
index d54bc068..b6c84119 100644
--- a/.rr.yaml
+++ b/.rr.yaml
@@ -499,6 +499,48 @@ http:
"fe80::/10",
]
+ # [SINCE 2.10] OpenTelemetry middleware
+ otel:
+ # Use insecure endpoint (http) or insecure gRPC
+ #
+ # Default: false
+ insecure: true
+
+ # Use gzip to compress the spans
+ #
+ # Default: false
+ compress: false
+
+ # Client to send the spans
+ #
+ # Default: http. Possible values: `http`, `grpc`
+ client: http
+
+ # Provides functionality to emit telemetry to consumers
+ #
+ # Default: otlp. Possible values: otlp (used for new_relic, datadog), zipkin or stdout
+ exporter: otlp
+
+ # Used for the http client to override the default URL
+ #
+ # Default: empty
+ custom_url: ""
+
+ # User's service name
+ #
+ # Default: RoadRunner
+ service_name: "rr_test"
+
+ # User's service version
+ #
+ # Default: RoadRunner
+ service_version: "1.0.0"
+
+ # Consumer's endpoint
+ #
+ # Default: localhost:4318
+ endpoint: "127.0.0.1:4318"
+
# [SINCE 2.6] New Relic middleware
new_relic:
# Application name.
diff --git a/CHANGELOG.md b/CHANGELOG.md
index cf8fc871..9e00190a 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,9 +1,9 @@
# CHANGELOG
-## v2.10.0-rc.1 (10.05.2022)
+## v2.10.0 (16.05.2022)
## ๐Ÿ‘€ New:
-
+- โœ๏ธ Documentation update: [link](https://roadrunner.dev).
- โœ๏ธ **RoadRunner-Temporal plugin now supports local activities**. Here is the brief overview: [link](https://docs.temporal.io/docs/temporal-explained/activities/#local-activity).
- โœ๏ธ Add Debian `amd64` releases. [FEATURE](https://github.com/roadrunner-server/roadrunner/issues/940)
- โœ๏ธ Add signed releases. Starting from the `v2.10.0`, every released binary can be checked with a provided `*.asc` key. For example:
@@ -16,7 +16,7 @@ The openPGP key can be verified here: [keyserver](https://keyserver.ubuntu.com/p
- โœ๏ธ All proto api for the `Go` programming language located here: [link](https://buf.build/roadrunner-server/api). To use it, just import the latest stable version `go.buf.build/protocolbuffers/go/roadrunner-server/api latest`.
- โœ๏ธ `Service` plugin now supports auto-reload. It can be added to the `reload` plugin targets and on change, it'll reload all underlying processes.
- โœ๏ธ `AutoAck` jobs option. For the messages (jobs), which are acceptable to lose. Or which execution can lead to a worker's stop (for example - OOM).
-- โœ๏ธ **[BETA] OpenTelemetry support**. Starting from now, the `new_relic` middleware is deprecated, it'll receive only dependency updates and will be removed from the RR bundle in the `v2.12.0`.
+- โœ๏ธ **[BETA] OpenTelemetry support**. Starting from now, the `new_relic` middleware is deprecated, it'll receive only dependency updates and will be removed from the RR bundle in the `v2.12.0`. (thanks @brettmc)
OpenTelemetry plugin supports the following exporters:
1. OTLP (open telemetry protocol): `datadog`, `new relic`.
2. zipkin
@@ -69,6 +69,9 @@ otel:
PHP worker can access tracing data via `w3c` [headers](https://www.w3.org/TR/trace-context/#trace-context-http-headers-format).
+- โœ๏ธ Jobs can be auto-ack'ed now. New option used to acknowledge a message after RR receive it from the queue. [FR](https://github.com/roadrunner-server/roadrunner/issues/1089), (thanks @hustlahusky)
+- โœ๏ธ `protoc-gen-php-grpc` now supports `optional` fields. (thanks @genhoi)
+
## ๐Ÿงน Chore:
- ๐Ÿง‘โ€๐Ÿญ: All spaces and new-lines from the `Service` plugin output will be automatically trimmed. [CHORE](https://github.com/roadrunner-server/roadrunner/issues/1060), (thanks, @OO00O0O)
diff --git a/go.mod b/go.mod
index 78debbce..0ff84983 100644
--- a/go.mod
+++ b/go.mod
@@ -8,45 +8,45 @@ require (
github.com/fatih/color v1.13.0
github.com/joho/godotenv v1.4.0
github.com/olekukonko/tablewriter v0.0.5
- github.com/roadrunner-server/amqp/v2 v2.14.1
+ github.com/roadrunner-server/amqp/v2 v2.14.2
github.com/roadrunner-server/api/v2 v2.17.1
- github.com/roadrunner-server/beanstalk/v2 v2.13.2
- github.com/roadrunner-server/boltdb/v2 v2.14.3
- github.com/roadrunner-server/broadcast/v2 v2.12.3
- github.com/roadrunner-server/cache/v2 v2.13.3
- github.com/roadrunner-server/config/v2 v2.13.5
+ github.com/roadrunner-server/beanstalk/v2 v2.13.3
+ github.com/roadrunner-server/boltdb/v2 v2.14.4
+ github.com/roadrunner-server/broadcast/v2 v2.12.4
+ github.com/roadrunner-server/cache/v2 v2.13.4
+ github.com/roadrunner-server/config/v2 v2.13.6
github.com/roadrunner-server/endure v1.3.0
github.com/roadrunner-server/errors v1.1.2
- github.com/roadrunner-server/fileserver/v2 v2.12.5
+ github.com/roadrunner-server/fileserver/v2 v2.12.6
github.com/roadrunner-server/goridge/v3 v3.4.1
- github.com/roadrunner-server/grpc/v2 v2.14.0
- github.com/roadrunner-server/gzip/v2 v2.11.4
- github.com/roadrunner-server/headers/v2 v2.11.3
- github.com/roadrunner-server/http/v2 v2.15.9
- github.com/roadrunner-server/informer/v2 v2.11.5
- github.com/roadrunner-server/jobs/v2 v2.13.3
- github.com/roadrunner-server/kv/v2 v2.12.3
- github.com/roadrunner-server/logger/v2 v2.12.5
- github.com/roadrunner-server/memcached/v2 v2.12.2
- github.com/roadrunner-server/memory/v2 v2.13.2
- github.com/roadrunner-server/metrics/v2 v2.12.5
- github.com/roadrunner-server/nats/v2 v2.13.3
- github.com/roadrunner-server/new_relic/v2 v2.13.5
+ github.com/roadrunner-server/grpc/v2 v2.14.1
+ github.com/roadrunner-server/gzip/v2 v2.11.5
+ github.com/roadrunner-server/headers/v2 v2.11.4
+ github.com/roadrunner-server/http/v2 v2.15.10
+ github.com/roadrunner-server/informer/v2 v2.11.6
+ github.com/roadrunner-server/jobs/v2 v2.13.4
+ github.com/roadrunner-server/kv/v2 v2.12.4
+ github.com/roadrunner-server/logger/v2 v2.12.6
+ github.com/roadrunner-server/memcached/v2 v2.12.3
+ github.com/roadrunner-server/memory/v2 v2.13.3
+ github.com/roadrunner-server/metrics/v2 v2.12.6
+ github.com/roadrunner-server/nats/v2 v2.13.4
+ github.com/roadrunner-server/new_relic/v2 v2.13.6
github.com/roadrunner-server/otel/v2 v2.2.1
- github.com/roadrunner-server/prometheus/v2 v2.12.5
+ github.com/roadrunner-server/prometheus/v2 v2.12.6
github.com/roadrunner-server/proxy_ip_parser/v2 v2.4.0
- github.com/roadrunner-server/redis/v2 v2.14.2
- github.com/roadrunner-server/reload/v2 v2.12.2
- github.com/roadrunner-server/resetter/v2 v2.11.5
- github.com/roadrunner-server/rpc/v2 v2.12.5
- github.com/roadrunner-server/send/v2 v2.11.2
- github.com/roadrunner-server/server/v2 v2.13.5
- github.com/roadrunner-server/service/v2 v2.14.6
- github.com/roadrunner-server/sqs/v2 v2.14.3
- github.com/roadrunner-server/static/v2 v2.12.4
- github.com/roadrunner-server/status/v2 v2.12.3
- github.com/roadrunner-server/tcp/v2 v2.12.5
- github.com/roadrunner-server/websockets/v2 v2.13.3
+ github.com/roadrunner-server/redis/v2 v2.14.3
+ github.com/roadrunner-server/reload/v2 v2.12.3
+ github.com/roadrunner-server/resetter/v2 v2.11.6
+ github.com/roadrunner-server/rpc/v2 v2.12.6
+ github.com/roadrunner-server/send/v2 v2.11.3
+ github.com/roadrunner-server/server/v2 v2.13.6
+ github.com/roadrunner-server/service/v2 v2.14.7
+ github.com/roadrunner-server/sqs/v2 v2.14.4
+ github.com/roadrunner-server/static/v2 v2.12.5
+ github.com/roadrunner-server/status/v2 v2.12.4
+ github.com/roadrunner-server/tcp/v2 v2.12.6
+ github.com/roadrunner-server/websockets/v2 v2.13.4
github.com/spf13/cobra v1.4.0
github.com/spf13/viper v1.11.0
github.com/stretchr/testify v1.7.1
@@ -170,7 +170,7 @@ require (
go.uber.org/zap v1.21.0 // indirect
golang.org/x/crypto v0.0.0-20220513210258-46612604a0f9 // indirect
golang.org/x/mod v0.6.0-dev.0.20220106191415-9b9b3d81d5e3 //indirect
- golang.org/x/net v0.0.0-20220513224357-95641704303c // indirect
+ golang.org/x/net v0.0.0-20220516133312-45b265872317 // indirect
golang.org/x/sync v0.0.0-20220513210516-0976fa681c29 // indirect
golang.org/x/sys v0.0.0-20220513210249-45d2b4557a2a // indirect
golang.org/x/text v0.3.7 // indirect
diff --git a/go.sum b/go.sum
index 22b6026d..81bfe474 100644
--- a/go.sum
+++ b/go.sum
@@ -423,90 +423,88 @@ github.com/rabbitmq/amqp091-go v1.3.4/go.mod h1:ogQDLSOACsLPsIq0NpbtiifNZi2YOz0V
github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475/go.mod h1:bCqnVzQkZxMG4s8nGwiZ5l3QUCyqpo9Y+/ZMZ9VjZe4=
github.com/rivo/uniseg v0.2.0 h1:S1pD9weZBuJdFmowNwbpi7BJ8TNftyUImj/0WQi72jY=
github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc=
-github.com/roadrunner-server/amqp/v2 v2.14.1 h1:ATpa5llQWcZZS9oppobxdOX/GnXHCr5BI2giBirW4Fo=
-github.com/roadrunner-server/amqp/v2 v2.14.1/go.mod h1:WRu8/c+zOt2iT6srsyTkpLr1gBz32yaqsjYL72Bsn0w=
+github.com/roadrunner-server/amqp/v2 v2.14.2 h1:aw/6EBc2uLjsQzv6Y+P0KMYPnfq5E9HEDMrPrUg59Hg=
+github.com/roadrunner-server/amqp/v2 v2.14.2/go.mod h1:yyPs7jncTjct56lA9d0PYa3El/lDuC61DyMgxt9oXdE=
github.com/roadrunner-server/api/v2 v2.17.1 h1:uxjmFwHwdce/tG5oRaLGJ7iiGMOEWcx9/gSRXyCH84g=
github.com/roadrunner-server/api/v2 v2.17.1/go.mod h1:eAFjmf/u+ZBubzIUEjw1fJKYMExK2YnKqNuiepsFveo=
-github.com/roadrunner-server/beanstalk/v2 v2.13.2 h1:tAzG5HvVVqq1+HgQuLZnY10rne7FEWRtIKrkfnCYnA0=
-github.com/roadrunner-server/beanstalk/v2 v2.13.2/go.mod h1:zZnrUGBysnazM+N2vxkc50n7uLx9x1S6SmJUjv35+LU=
-github.com/roadrunner-server/boltdb/v2 v2.14.3 h1:uDvHBFpbFrQJ5YgSsAO3jY2+PpP67Bb8Zg+1e+DRHTc=
-github.com/roadrunner-server/boltdb/v2 v2.14.3/go.mod h1:HTFghRhZORpGUruswo41XWIVGOQVi8mFJ14d1RMzNyg=
-github.com/roadrunner-server/broadcast/v2 v2.12.3 h1:fZ6NWbIy8Mo2aoFFL3DKN1fuyfTryDaCjEfsc/vtIFQ=
-github.com/roadrunner-server/broadcast/v2 v2.12.3/go.mod h1:9x6ojQeMiH2IDEv3GpNhI6wgKlbbJ5nwSCAUa4Ulcd0=
-github.com/roadrunner-server/cache/v2 v2.13.3 h1:v/6LdJr7juU6sRGUmi+mh58WqH8FCu5Xh9b6hs7WiWk=
-github.com/roadrunner-server/cache/v2 v2.13.3/go.mod h1:5lrJZON5MTLzJE1F+C2+XmdjFXq/BxnC+tN4KcVFGMM=
-github.com/roadrunner-server/config/v2 v2.13.5 h1:9EZSchSXfNVSOAQOKKj33ykr5xeN2Whqxcx+MzY9d40=
-github.com/roadrunner-server/config/v2 v2.13.5/go.mod h1:0gO+kYNla3GHtzpRc7g5/nwJpUyBibShCjqWaSO3thI=
+github.com/roadrunner-server/beanstalk/v2 v2.13.3 h1:ZtZGfuajunobfo41+IOr1fqVjExOvyFaQ8fy6nVNTfw=
+github.com/roadrunner-server/beanstalk/v2 v2.13.3/go.mod h1:IVQcsQoam9bJmWkaRfxORadSx2zsacqKeU/h31dhTgk=
+github.com/roadrunner-server/boltdb/v2 v2.14.4 h1:L7lvexOv1jwUoBKFaGfBYQm8IPUQKWBOqDzbLrkGgQc=
+github.com/roadrunner-server/boltdb/v2 v2.14.4/go.mod h1:FgAzgQGJnZfTKo/3RN2sCoves2IvoiCsYmaXM+LqZRk=
+github.com/roadrunner-server/broadcast/v2 v2.12.4 h1:AxYheQoDmYmM3QgptTY++rylWu9WPwRJ25UNAjVboIk=
+github.com/roadrunner-server/broadcast/v2 v2.12.4/go.mod h1:APe8/OmjHU5zqyVBhTd3rhiMGH+lou7OYDRkdzVAcSA=
+github.com/roadrunner-server/cache/v2 v2.13.4 h1:4wSoQpRtjsuaMzyMrbuEyZCEKuPOl/0qVeVVpCyMbIg=
+github.com/roadrunner-server/cache/v2 v2.13.4/go.mod h1:sB7daWrBqQTupC6n6hefFUUgsIcWik045AEU/OZTb40=
+github.com/roadrunner-server/config/v2 v2.13.6 h1:Fy6EF4bU6NMuueqNrN4e0bVU7we2iLbhUpPL4DqnegE=
+github.com/roadrunner-server/config/v2 v2.13.6/go.mod h1:YH2FTT85/RiP78tcZwRHv6xjObIVV6n0dmr30aXltD0=
github.com/roadrunner-server/endure v1.3.0 h1:lZNOE4EDcoibR2PE4xz6G8/ywQBq9HmMzCvfQenEUCA=
github.com/roadrunner-server/endure v1.3.0/go.mod h1:Yahi4Uoabla2o+0N+pbjWwIJnAigYWppGwbLU3D6cLc=
github.com/roadrunner-server/errors v1.1.2 h1:+LPw9Akgg+8LAGM4wASMWLAoBIbyP+mhNfR+FBS2Slw=
github.com/roadrunner-server/errors v1.1.2/go.mod h1:jVSh32nFtRMzKItYUM9W2CTLLpXAM8HseL2lUENPYtU=
-github.com/roadrunner-server/fileserver/v2 v2.12.5 h1:QnheAUP2YmRVlUzcCdN4IAugA6XV2n9YoogOwxc7un4=
-github.com/roadrunner-server/fileserver/v2 v2.12.5/go.mod h1:7+Ghx8gtFj9UW8Am/CnvxudZ3HSUueS+yVhav+BhO2o=
+github.com/roadrunner-server/fileserver/v2 v2.12.6 h1:CzieP6ACb+NZcPzqfL+YryR1Z9TBhehVJNNiHrjd7Mw=
+github.com/roadrunner-server/fileserver/v2 v2.12.6/go.mod h1:GVGvuimpLRbyaOCCNJrfCTQIfzklRKVHSOfKrMEXCag=
github.com/roadrunner-server/goridge/v3 v3.4.1 h1:ngamQzKHUN3LV6vGnlEDk2zfftXLzpXsgdDjwFBpvvs=
github.com/roadrunner-server/goridge/v3 v3.4.1/go.mod h1:Xmnn1oSEC8cLtd+DixoS7sbCpGYuCPPORUXiWDgUudI=
-github.com/roadrunner-server/grpc/v2 v2.13.5 h1:a0XQOQYBufup5EbeI3/h0jtzR9GJ1IaT4agCfknreE4=
-github.com/roadrunner-server/grpc/v2 v2.13.5/go.mod h1:K5xtvfhuZIsDGMVVpMxs3mJtJbAFsTyabx9+nNj2WMM=
-github.com/roadrunner-server/grpc/v2 v2.14.0 h1:Auy8YGUHJcdpdgtE8CnZF/WtGkuvpq9KqAKIwiBEWFI=
-github.com/roadrunner-server/grpc/v2 v2.14.0/go.mod h1:p07jTGNx0qtVctjt7Vayxyj7MA6VRlpfTzej9HHdZUw=
-github.com/roadrunner-server/gzip/v2 v2.11.4 h1:dWCjeHoNxSA9AxZjwIJFjAODn8ShlqtA/buSa6yKS6w=
-github.com/roadrunner-server/gzip/v2 v2.11.4/go.mod h1:UHAVrr1wsyKzNWP5I2dGbxf6+o0JwSOtm1Ln2YTwPE8=
-github.com/roadrunner-server/headers/v2 v2.11.3 h1:gh+3TuuMdSFHQzx0T+3U0J7DeT/rp8QaG2VxvEPb+mo=
-github.com/roadrunner-server/headers/v2 v2.11.3/go.mod h1:IRchXox04TEgu/gfBqvZd07EeP35asPRaxzR40guUMc=
-github.com/roadrunner-server/http/v2 v2.15.9 h1:7pTNz999uukUt/fd1z6CfRVsVzTZRlwGXlaPQeOjqRU=
-github.com/roadrunner-server/http/v2 v2.15.9/go.mod h1:kFwSXC4ytBbt68kR0xqqqYQbiQTnh17SSzjnXDrqgPM=
-github.com/roadrunner-server/informer/v2 v2.11.5 h1:5OamPAu8cIl59e6McnLK1Sutc/wgGucXoiqN/i4/vZY=
-github.com/roadrunner-server/informer/v2 v2.11.5/go.mod h1:y2RJHL8jrGIThrm7f+JINW2cNsZjhwqmObZR++bTLzw=
-github.com/roadrunner-server/jobs/v2 v2.13.3 h1:9OD+q3eIf3IuCcqDUitsyMfHboPLcHQ04xTB+TIC4H8=
-github.com/roadrunner-server/jobs/v2 v2.13.3/go.mod h1:SsLXbbIpSdEDkujrTR12ZCyO49TJea0IxPHs7Qis3PQ=
-github.com/roadrunner-server/kv/v2 v2.12.3 h1:puDH9oRciF1SvvFqpKisUI7BPWSXWg7R05pFBW8ZW10=
-github.com/roadrunner-server/kv/v2 v2.12.3/go.mod h1:k4VF8gD/ifqmuHu4Ud2JCJVTYgvgoMlU/qlLQ/v5Bhs=
-github.com/roadrunner-server/logger/v2 v2.12.5 h1:XhFfcgjggbhW6XyQ6jMD6u2Z3VkvQr6W02qmaIq3hp8=
-github.com/roadrunner-server/logger/v2 v2.12.5/go.mod h1:yp/8w+sEF93Bix+Lfaj3UeBE3PjVPXugKDbXhQOVlrY=
-github.com/roadrunner-server/memcached/v2 v2.12.2 h1:L7bvJG8e2wueITigKIRikKcynzcxdykubz/QS6xyW70=
-github.com/roadrunner-server/memcached/v2 v2.12.2/go.mod h1:om53wC54m4eGJTFYhejbw72C+IEYOZAwWofGPRkzz0A=
-github.com/roadrunner-server/memory/v2 v2.13.2 h1:EW7RdLB5Mt0vqvDHxk7W/0xDTaSea4pQtiMP9Bx5xlU=
-github.com/roadrunner-server/memory/v2 v2.13.2/go.mod h1:ztopRyscCwMrOJxys2hIEXUmohIGLQxPNySg4R9IECU=
-github.com/roadrunner-server/metrics/v2 v2.12.5 h1:0NjFkc89ndd4JOgp6c2MjzcE76X2gTBPppMQxH/HXFs=
-github.com/roadrunner-server/metrics/v2 v2.12.5/go.mod h1:wa4vS/bK2cBdsSi1JVxVPZB8qiFRXyhieIFXbJ7VMU0=
-github.com/roadrunner-server/nats/v2 v2.13.3 h1:xylb7xh4623W5TZBVvT9bl2bp+YK0HxwGdS7j/fz6EA=
-github.com/roadrunner-server/nats/v2 v2.13.3/go.mod h1:cagGQArC8mn/Abn7ChVJG+c932RAxDUKBesSQ8lcfN8=
-github.com/roadrunner-server/new_relic/v2 v2.13.5 h1:2b10adoIevMLLogTuvA8HdztBPlkkCGXhvkOoCfqApc=
-github.com/roadrunner-server/new_relic/v2 v2.13.5/go.mod h1:CgNyzS79aOGFAg/yMkFVZmK9usAIwGRlT+HmL4ctuaY=
+github.com/roadrunner-server/grpc/v2 v2.14.1 h1:V4eYwRmBiHJRjG1xolg0ynKZvAiSW9NpSAMbsR07eXU=
+github.com/roadrunner-server/grpc/v2 v2.14.1/go.mod h1:p07jTGNx0qtVctjt7Vayxyj7MA6VRlpfTzej9HHdZUw=
+github.com/roadrunner-server/gzip/v2 v2.11.5 h1:7+uqRztC6YfDe8agWRYWKVihZUl5sYOcFl9rvhEFIJc=
+github.com/roadrunner-server/gzip/v2 v2.11.5/go.mod h1:6nTrvgGWj2BlbLVjEkjWeE1kszoQ7vum3XkTJxKv+XA=
+github.com/roadrunner-server/headers/v2 v2.11.4 h1:BcmXPAjPAOfTIreOekCwJgtUesmic4Q0wUOXigKvpeA=
+github.com/roadrunner-server/headers/v2 v2.11.4/go.mod h1:MwLS0f4Ulfvba0TNbidIQxCRDM+bPQdd4IB/ujrlco0=
+github.com/roadrunner-server/http/v2 v2.15.10 h1:QPIHFunYpIRItcFNCbEsLZKoE61p7eWz+xs2R8GU16s=
+github.com/roadrunner-server/http/v2 v2.15.10/go.mod h1:SRkcHtz934AORk+ZQ9HaMQ0A2zvnyHEMWevfGOCb18s=
+github.com/roadrunner-server/informer/v2 v2.11.6 h1:RHWfE2jSaUZR8YdNy10eOtlLAKsd7NBPl+7sSTPfB14=
+github.com/roadrunner-server/informer/v2 v2.11.6/go.mod h1:ZJAu4CONfwpSGuz5pg6+kgGwCo3JibZkSvWzAIp2fnY=
+github.com/roadrunner-server/jobs/v2 v2.13.4 h1:pSoCyioqOanoQdAhR3TMbILPBeC9wR5M7xFTWsCIqGM=
+github.com/roadrunner-server/jobs/v2 v2.13.4/go.mod h1:90J96ch8xXyogj2Y7JO8I15KjGAQYMY88VnSCmPpZSo=
+github.com/roadrunner-server/kv/v2 v2.12.4 h1:stBP1zC/MwRLaYYzNMBIq5unR1MWfVVeWBnI0CDMRHU=
+github.com/roadrunner-server/kv/v2 v2.12.4/go.mod h1:hciR4WHhohBD7S9gnVfg7DnUE55GnAw1TgG85vGp854=
+github.com/roadrunner-server/logger/v2 v2.12.6 h1:JUFt04h8Ed4WuI5Gn1QTz22WF+Ut0IO4qi49Z7NUgak=
+github.com/roadrunner-server/logger/v2 v2.12.6/go.mod h1:ypugcfq/rBNRDr1T0Dq3uRhih/qPZA1QkK319wJfHyw=
+github.com/roadrunner-server/memcached/v2 v2.12.3 h1:eRilrmjsbtNaIHsegNUEA2XtiGLd3xuunAaGUE9aoLE=
+github.com/roadrunner-server/memcached/v2 v2.12.3/go.mod h1:M5mC++Buq69uxUdCYAEOLG0QSRLGmpRDUHt0N1cISLg=
+github.com/roadrunner-server/memory/v2 v2.13.3 h1:nQpW0PNT1CONcfSuZfW1jp40yz/hDYDE2m9Ez04fm2k=
+github.com/roadrunner-server/memory/v2 v2.13.3/go.mod h1:XJB6d7u4nBKs7AEjsbmMvhtc4ObHCvAUj6AaNjqbvrA=
+github.com/roadrunner-server/metrics/v2 v2.12.6 h1:EeJ8RqJ8fgd2GTz6KKM6Soax+ikUvdhMkDiR7k2Gl24=
+github.com/roadrunner-server/metrics/v2 v2.12.6/go.mod h1:sxyAb5U4Y7xdIj8dAMwKIbeD+99GAljzJ85hgZnY5Kc=
+github.com/roadrunner-server/nats/v2 v2.13.4 h1:Ob/jYL18+w8XT56/T5T4bkdmUxDg/F9M0a+Lw8UdW4I=
+github.com/roadrunner-server/nats/v2 v2.13.4/go.mod h1:dLTDJLETd1AHr9D1Rk34F9k8QKZKZnbCYFwIprn+6yo=
+github.com/roadrunner-server/new_relic/v2 v2.13.6 h1:qVHiZSLZLUNVcJpKNEdNT0+AlQRmja3JbtkxqpXQI9g=
+github.com/roadrunner-server/new_relic/v2 v2.13.6/go.mod h1:EiU5Qv4L9YVMhssQbBbkSRpTV5cyFEM0CacOx+gLhjE=
github.com/roadrunner-server/otel/v2 v2.2.1 h1:65x+hDoOJ5RGDUHI1TznhBjH6CmDnqz9H+cEj1zCe6E=
github.com/roadrunner-server/otel/v2 v2.2.1/go.mod h1:qFOmrACFwULl47o6SkSOI8y1HyS5tLXSfIdiivJQf7U=
-github.com/roadrunner-server/prometheus/v2 v2.12.5 h1:kEpnQpx2KNLMTRJHDbNg4SuaCcgfyhGVWdCwPa5AX+0=
-github.com/roadrunner-server/prometheus/v2 v2.12.5/go.mod h1:WnraDWmxXC2W8br+iuQj38uYrwpGTibs9Xj1iORx8OU=
+github.com/roadrunner-server/prometheus/v2 v2.12.6 h1:tAd34ICAB0C3izQQrA8l3f1tgUWNGrXh8tJhGUnrpJk=
+github.com/roadrunner-server/prometheus/v2 v2.12.6/go.mod h1:l+yugqP3doJ5Ltt1q6yfx8E3ynxq3wG6xngBPlcEC7M=
github.com/roadrunner-server/proxy_ip_parser/v2 v2.4.0 h1:DA2fItCrwzNBXN7zl2dB+pQMvXoSM9raH1Q8nELkhuI=
github.com/roadrunner-server/proxy_ip_parser/v2 v2.4.0/go.mod h1:mZHMsfUIkNXQRN8X98POxa/qYB6Zrb4HZmBTAWdxusg=
-github.com/roadrunner-server/redis/v2 v2.14.2 h1:g0fIe1XRB/4ikaW/RYO4aIfCWFwGe2ZX7Ep8dWbtY1o=
-github.com/roadrunner-server/redis/v2 v2.14.2/go.mod h1:TJBRcNF0YtX/nKeJvqO3hLTdlEwX/i9OmOwlKGXI1sw=
-github.com/roadrunner-server/reload/v2 v2.12.2 h1:XDI60+wI5vtUiONVnWEDByAdb38w/WdZm1+A2+sopd0=
-github.com/roadrunner-server/reload/v2 v2.12.2/go.mod h1:EoF6HBFfIvmVJMt8MeykiP7xvhCaLfD4eM702EVWQ24=
-github.com/roadrunner-server/resetter/v2 v2.11.5 h1:3Rbql6UmvcGKQpCttfpDDrDjzndhYaY/c33H4M26b9Y=
-github.com/roadrunner-server/resetter/v2 v2.11.5/go.mod h1:v1XiagzWy3xcW8Xx3RI2dRR8PDLd+w3W2jZ0ci7Hwqs=
-github.com/roadrunner-server/rpc/v2 v2.12.5 h1:X6N99hY6yRoxQEGjjdA04pt8aoCPkUKlaIogFPL746c=
-github.com/roadrunner-server/rpc/v2 v2.12.5/go.mod h1:UU+hhXdSjLd55s+ZqWJM3pu76x5e+4qwlzpnTK/x5UU=
+github.com/roadrunner-server/redis/v2 v2.14.3 h1:+15uj3gflPdRmVwaPM6TbdD0YUxi4bujzprLXdNlmXQ=
+github.com/roadrunner-server/redis/v2 v2.14.3/go.mod h1:unvyqhSrXpaeQUpSqcINef6tYk5enmw2rxIrh3GPoas=
+github.com/roadrunner-server/reload/v2 v2.12.3 h1:yDmSxTgB7SY0IEZ/K6Dyc3SiNCFltkpNfKGLgYEdSyg=
+github.com/roadrunner-server/reload/v2 v2.12.3/go.mod h1:JHK7XcUahSCTzQjhzbUcDBk9JWofHlVXWFRSWYVhJ3g=
+github.com/roadrunner-server/resetter/v2 v2.11.6 h1:4qIAkjv5BYRGqLNX/fKy0WVBkPfwbAisb89vmojKCvc=
+github.com/roadrunner-server/resetter/v2 v2.11.6/go.mod h1:Eo8gY3YgVg/sn7Rll0+8HqtBqRTxGJouQkgmT4EL7mQ=
+github.com/roadrunner-server/rpc/v2 v2.12.6 h1:lkjhs3HUHMge5rqRuZiYEcJp/yjEnXLsbpI5m2iR2w0=
+github.com/roadrunner-server/rpc/v2 v2.12.6/go.mod h1:Daazn3GVUvVm/W0+y3CvDfzprNEHY64aJcVZ57F5oig=
github.com/roadrunner-server/sdk/v2 v2.14.1 h1:GVfVhkRIXLaXubflZbquaU1E3oy+fTRzglgkCqNfOa0=
github.com/roadrunner-server/sdk/v2 v2.14.1/go.mod h1:5Vwb4tPDfH2yPy+SFrFgTSO7195lw+LXPgvqDvjjGB8=
-github.com/roadrunner-server/send/v2 v2.11.2 h1:J+QL1f2nXvLfjW2qEjIe64NnmAnd/4I/FkRjpLbl3zo=
-github.com/roadrunner-server/send/v2 v2.11.2/go.mod h1:RiSEAcSFjClpr8XSxtqLjCu+TND2P3LUfxd1tRpOAGk=
-github.com/roadrunner-server/server/v2 v2.13.5 h1:LFqovHRBqh5KaGrLrPPKSYZBYxPY/zlTSyMabAwxy2A=
-github.com/roadrunner-server/server/v2 v2.13.5/go.mod h1:eIKldAoWytHuWW7UvdQIowU85JVxzFg7Jely+x31Agk=
-github.com/roadrunner-server/service/v2 v2.14.6 h1:4kNfR5Z+GfI8fgMj6eG13Pub5pbwk9ADn8xUhNOsNMc=
-github.com/roadrunner-server/service/v2 v2.14.6/go.mod h1:1vs/kv9inF2NICKTwqSaio0hAJRE6IBgkrshvPSzhtQ=
-github.com/roadrunner-server/sqs/v2 v2.14.3 h1:Cyk+axNpLke9S+luWOQWVzuq+i/daBkJb2MI/tBxN8U=
-github.com/roadrunner-server/sqs/v2 v2.14.3/go.mod h1:EvRL6hyz2s330JUMMaSgTtVSjOjrPouqS41nEtyhctQ=
-github.com/roadrunner-server/static/v2 v2.12.4 h1:CKdZsl+0Ae+J+Odrc9ti5cPYu5ic7mUKJM05qOkLIM8=
-github.com/roadrunner-server/static/v2 v2.12.4/go.mod h1:gBrwR8wAbGzEnya704Q58qZ+HVqsg4Q+ncIyWgMA/hU=
-github.com/roadrunner-server/status/v2 v2.12.3 h1:K4Yjiwm2Cl6Y5mxM7EY5HkpgHAcN+sZoe8P1guBfmzo=
-github.com/roadrunner-server/status/v2 v2.12.3/go.mod h1:h8EJmTynDIVsxfcYJYZttvbqjmrwco+HH1DLixUGh+s=
-github.com/roadrunner-server/tcp/v2 v2.12.5 h1:bhKLvx15gAi36ZZF+GHmf4RJkZH3acmSLxhomG3S6qk=
-github.com/roadrunner-server/tcp/v2 v2.12.5/go.mod h1:9T1mFws84jP3+bD2lpvk+aI9TdfS4LHH6WKUEOyE00Y=
+github.com/roadrunner-server/send/v2 v2.11.3 h1:OevatIQRzTmF7PhfArkcpJ5wQX7czvEPT5zWGGqFHAw=
+github.com/roadrunner-server/send/v2 v2.11.3/go.mod h1:VwlpescZEL5KZklKe3e0TXjy+o8VLHc8F8EqY8F3K5E=
+github.com/roadrunner-server/server/v2 v2.13.6 h1:JpKTY+SCApKyR5LxdsIhM0Cno61yQLlK2sWxhn8kKiI=
+github.com/roadrunner-server/server/v2 v2.13.6/go.mod h1:DH9rcGHEJPdYrx2Z2owZEUpL/F+KoU02FnIIrqOYT+M=
+github.com/roadrunner-server/service/v2 v2.14.7 h1:8YEtWb0+aG79TlDTPlS/zzV6FWp00YiHbx/+yWnkqGk=
+github.com/roadrunner-server/service/v2 v2.14.7/go.mod h1:tB5llfn4ELEGMOxtsfDY+LMAqKARQ+YZeHeK5nGxkVs=
+github.com/roadrunner-server/sqs/v2 v2.14.4 h1:GDb7kK0y1b7O2wUI5nhvVe2X5j5MqlUiPMxFyg8jIEI=
+github.com/roadrunner-server/sqs/v2 v2.14.4/go.mod h1:WQBdKQt9gelDELdX1etQGkgS7AImsAAz4Is6kcTa8I8=
+github.com/roadrunner-server/static/v2 v2.12.5 h1:zAC/C58pHEm6XoirygLPtxmpL+RvhGXcXH2rhjARryw=
+github.com/roadrunner-server/static/v2 v2.12.5/go.mod h1:mlFD9oRHhjqtPH7V19u7rsyoiDGjUUBUoU6eZYRlWDc=
+github.com/roadrunner-server/status/v2 v2.12.4 h1:bC0yAZG4bxEOPU7v0Lrfanmo32iSsjmSuAaddt9tRtY=
+github.com/roadrunner-server/status/v2 v2.12.4/go.mod h1:bwSzepMeQQ5x602jVvdXNUb7+BQPH76DdhDgkIPoUl4=
+github.com/roadrunner-server/tcp/v2 v2.12.6 h1:ZbZqNZfnPlL2owy9psEBAmV5OMVVShl/jG+/8HR5UKY=
+github.com/roadrunner-server/tcp/v2 v2.12.6/go.mod h1:muKcVUAJRD2CtZB6YBQ19+XPfqVsZdxKdjrQWWTaxbM=
github.com/roadrunner-server/tcplisten v1.1.2 h1:GBjKlSEbA67UB2y83rFWsQKqMQGyalhTN9Q9HCIMBC0=
github.com/roadrunner-server/tcplisten v1.1.2/go.mod h1:wN2/X46Vo60sC9L5Bf/eC8kL+X3//7KIFmANEXZaLsg=
-github.com/roadrunner-server/websockets/v2 v2.13.3 h1:3Ugakayfhu2tX1jh1LAizgnKAAckyuPYxebIaiscSXc=
-github.com/roadrunner-server/websockets/v2 v2.13.3/go.mod h1:tEO5Kd3zwAa27EVeDAjDQg0UI1PY86OKXeocJDyooVg=
+github.com/roadrunner-server/websockets/v2 v2.13.4 h1:jxYE4x4+dGNU0/L57QfQx4IjyTDltdJqetWakHJ88AQ=
+github.com/roadrunner-server/websockets/v2 v2.13.4/go.mod h1:hUDjX/S1VhVYKydK1fw09oBePPDUcICQzYXC5z5rar4=
github.com/robfig/cron v1.2.0 h1:ZjScXvvxeQ63Dbyxy76Fj3AT3Ut0aKsyd2/tl3DTMuQ=
github.com/robfig/cron v1.2.0/go.mod h1:JGuDeoQd7Z6yL4zQhZ3OPEVHB7fL6Ka6skscFHfmt2k=
github.com/rogpeppe/fastuuid v1.2.0/go.mod h1:jVj6XXZzXRy/MSR5jhDC/2q6DgLz+nrA6LYCDYWNEvQ=
@@ -739,8 +737,8 @@ golang.org/x/net v0.0.0-20210917221730-978cfadd31cf/go.mod h1:9nx3DQGgdP8bBQD5qx
golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=
golang.org/x/net v0.0.0-20220127200216-cd36cc0744dd/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk=
golang.org/x/net v0.0.0-20220225172249-27dd8689420f/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk=
-golang.org/x/net v0.0.0-20220513224357-95641704303c h1:nF9mHSvoKBLkQNQhJZNsc66z2UzAMUbLGjC95CF3pU0=
-golang.org/x/net v0.0.0-20220513224357-95641704303c/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk=
+golang.org/x/net v0.0.0-20220516133312-45b265872317 h1:r49syLG49NYZTBMIAay/ng07NB4DW3GzH7LylUq15UM=
+golang.org/x/net v0.0.0-20220516133312-45b265872317/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk=
golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U=
golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
diff --git a/schemas/config/2.0.schema.json b/schemas/config/2.0.schema.json
index 9a444c7d..64e7e279 100644
--- a/schemas/config/2.0.schema.json
+++ b/schemas/config/2.0.schema.json
@@ -185,11 +185,11 @@
"type": "integer",
"description": "The maximum number of days to retain old log files based on the timestamp encoded in their filename"
},
- "max_backups" : {
+ "max_backups": {
"type": "integer",
"description": "The maximum number of old log files to retain"
},
- "compress" : {
+ "compress": {
"type": "boolean",
"description": "compress files to save a disk space"
}
@@ -364,7 +364,8 @@
"new_relic",
"http_metrics",
"cache",
- "proxy_ip_parser"
+ "proxy_ip_parser",
+ "otel"
],
"pattern": "^[0-9a-zA-Z_]+$"
}
@@ -731,6 +732,71 @@
"minimum": 0
}
}
+ },
+ "otel": {
+ "description": "OpenTelemetry configuration",
+ "type": "object",
+ "properties": {
+ "insecure": {
+ "description": "Use insecure endpoint",
+ "type": "boolean",
+ "default": false
+ },
+ "compress": {
+ "description": "Use gzip compressor",
+ "type": "boolean",
+ "default": false
+ },
+ "exporter": {
+ "description": "Provides functionality to emit telemetry to consumers",
+ "type": "string",
+ "items": {
+ "type": "string",
+ "enum": [
+ "zipkin",
+ "stdout",
+ "otlp"
+ ],
+ "pattern": "^[0-9a-zA-Z_]+$"
+ }
+ },
+ "custom_url": {
+ "description": "Used for the http client to override the default URL",
+ "type": "string",
+ "default": ""
+ },
+ "endpoint": {
+ "description": "Consumer's endpoint",
+ "type": "string",
+ "default": "localhost:4318"
+ },
+ "client": {
+ "description": "Client to send the spans",
+ "type": "string",
+ "items": {
+ "type": "string",
+ "enum": [
+ "http",
+ "grpc"
+ ],
+ "pattern": "^[0-9a-zA-Z_]+$"
+ }
+ },
+ "service_name": {
+ "description": "User's service name",
+ "type": "string",
+ "default": "RoadRunner"
+ },
+ "service_version": {
+ "description": "User's service version",
+ "type": "string",
+ "default": "1.0.0"
+ },
+ "headers": {
+ "description": "User defined headers",
+ "$ref": "#/definitions/Hashmap"
+ }
+ }
}
},
"required": [
@@ -1450,6 +1516,9 @@
}
}
},
+ "required": [
+ "version"
+ ],
"definitions": {
"BoltDB": {
"description": "BoltDB config section",