diff options
author | Valery Piashchynski <[email protected]> | 2022-04-07 19:17:01 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2022-04-07 19:17:01 +0200 |
commit | a75413573099387bd03f91caefb0072f3fb9504d (patch) | |
tree | 268c06dd65bac67d1ce904f2d0fef98c4a03e4af | |
parent | 7834636158f26aaa7e8f61d585fc2d7b9392fbc3 (diff) | |
parent | ddf6a9d8af78c9006c233b3c07e3d44cc813de99 (diff) |
[#1081]: release: `v2.9.0`v2.9.0
-rw-r--r-- | CHANGELOG.md | 49 | ||||
-rw-r--r-- | go.mod | 56 | ||||
-rw-r--r-- | go.sum | 71 | ||||
-rw-r--r-- | grafana/RR_Dashboard.json | 1447 |
4 files changed, 1574 insertions, 49 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 77e0819c..559d2b3e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,15 +1,13 @@ # CHANGELOG -## v2.9.0-alpha.1 (23.03.2022) +<details> + <summary>v2.10.0-alpha.1</summary> + +## v2.10.0-alpha.1 (07.04.2022) ## π New: -- βοΈ **[ALPHA]** HTTP response streaming. Starting from the `v2.9.0` RR is capable to stream responses. -To turn on that feature, please, add the following lines to the configuration: -```yaml -experimental: - response_streams: true -``` +- βοΈ **[ALPHA]** HTTP response streaming. Available only in the alfa builds. Worker sample: ```php @@ -50,7 +48,42 @@ Known issues: 1. RR will not notify a worker if HTTP connection was interrupted. RR will read all response from the worker and drop it. That will be fixed in the stable streaming release. 2. Sometimes RR may miss the immediate error from the worker and send a 0 payload with 200 status. This is related only to the http response. -- βοΈ [**API**](https://github.com/roadrunner-server/api): add service proto api to manage services, [FR](https://github.com/roadrunner-server/roadrunner/issues/1009) (reporter @butschster) +--- +</details> + + +## v2.9.0 (23.03.2022) + +--- +πΊπ¦πΊπ¦πΊπ¦ `#StandWithUkraine` πΊπ¦πΊπ¦πΊπ¦ + +--- + +## π New: + +- βοΈ [**API**](https://github.com/roadrunner-server/api): add service proto api to manage services, [FR](https://github.com/roadrunner-server/roadrunner/issues/1009) (thanks @butschster). Documentation is here: [link](https://roadrunner.dev/docs/beep-beep-service). +- βοΈ Grafana dashboard [PATH](grafana/RR_Dashboard.json). Exposed metrics: +1. **General**: + 1. Uptime (seconds). + 2. Memory used by RR (MB). + 3. Number of active goroutines. +2. **HTTP**: + 1. Number of workers by its state (ready, working, invalid). + 2. Total RSS memory used by workers. + 3. Memory used by each worker individually (with PID). + 4. Latency (ms). + 5. Requests queue size. + 6. Requests per minute. +3. **JOBS**: + 1. Number of workers by its state (ready, working, invalid). + 2. Total RSS memory used by workers. + 3. Memory used by each worker individually (with PID). + 4. Successfully processed jobs (rate, 5m). + 5. Failed jobs (rate, 5m). + +## π©Ή Fixes: + +- π Fix: Goroutines leak in the `amqp` plugin when destroying pipelines. ## π§Ή Chore: @@ -9,47 +9,47 @@ require ( github.com/joho/godotenv v1.4.0 github.com/mattn/go-runewidth v0.0.13 github.com/olekukonko/tablewriter v0.0.5 - github.com/roadrunner-server/amqp/v2 v2.11.1 + github.com/roadrunner-server/amqp/v2 v2.12.0 github.com/roadrunner-server/api/v2 v2.14.0 - github.com/roadrunner-server/beanstalk/v2 v2.11.0 - github.com/roadrunner-server/boltdb/v2 v2.11.1 + github.com/roadrunner-server/beanstalk/v2 v2.12.0 + github.com/roadrunner-server/boltdb/v2 v2.12.0 github.com/roadrunner-server/broadcast/v2 v2.11.0 - github.com/roadrunner-server/cache/v2 v2.11.1 - github.com/roadrunner-server/config/v2 v2.11.1 + github.com/roadrunner-server/cache/v2 v2.12.0 + github.com/roadrunner-server/config/v2 v2.13.0 github.com/roadrunner-server/endure v1.2.2 github.com/roadrunner-server/errors v1.1.2 - github.com/roadrunner-server/fileserver/v2 v2.11.1 + github.com/roadrunner-server/fileserver/v2 v2.12.0 github.com/roadrunner-server/goridge/v3 v3.4.0 - github.com/roadrunner-server/grpc/v2 v2.12.1 + github.com/roadrunner-server/grpc/v2 v2.13.0 github.com/roadrunner-server/gzip/v2 v2.10.0 github.com/roadrunner-server/headers/v2 v2.11.0 - github.com/roadrunner-server/http/v2 v2.13.3 + github.com/roadrunner-server/http/v2 v2.14.0 github.com/roadrunner-server/informer/v2 v2.11.0 - github.com/roadrunner-server/jobs/v2 v2.11.1 + github.com/roadrunner-server/jobs/v2 v2.12.0 github.com/roadrunner-server/kv/v2 v2.11.0 - github.com/roadrunner-server/logger/v2 v2.11.1 + github.com/roadrunner-server/logger/v2 v2.12.0 github.com/roadrunner-server/memcached/v2 v2.11.0 - github.com/roadrunner-server/memory/v2 v2.11.0 - github.com/roadrunner-server/metrics/v2 v2.11.1 - github.com/roadrunner-server/nats/v2 v2.11.0 - github.com/roadrunner-server/new_relic/v2 v2.12.1 - github.com/roadrunner-server/prometheus/v2 v2.11.1 - github.com/roadrunner-server/redis/v2 v2.12.0 + github.com/roadrunner-server/memory/v2 v2.12.0 + github.com/roadrunner-server/metrics/v2 v2.12.0 + github.com/roadrunner-server/nats/v2 v2.12.0 + github.com/roadrunner-server/new_relic/v2 v2.13.0 + github.com/roadrunner-server/prometheus/v2 v2.12.0 + github.com/roadrunner-server/redis/v2 v2.13.0 github.com/roadrunner-server/reload/v2 v2.11.0 github.com/roadrunner-server/resetter/v2 v2.11.0 - github.com/roadrunner-server/rpc/v2 v2.11.0 + github.com/roadrunner-server/rpc/v2 v2.12.0 github.com/roadrunner-server/send/v2 v2.10.0 - github.com/roadrunner-server/server/v2 v2.12.1 - github.com/roadrunner-server/service/v2 v2.11.1 - github.com/roadrunner-server/sqs/v2 v2.12.2 - github.com/roadrunner-server/static/v2 v2.11.0 - github.com/roadrunner-server/status/v2 v2.11.1 - github.com/roadrunner-server/tcp/v2 v2.11.1 - github.com/roadrunner-server/websockets/v2 v2.11.2 + github.com/roadrunner-server/server/v2 v2.13.0 + github.com/roadrunner-server/service/v2 v2.12.0 + github.com/roadrunner-server/sqs/v2 v2.13.0 + github.com/roadrunner-server/static/v2 v2.12.0 + github.com/roadrunner-server/status/v2 v2.11.2 + github.com/roadrunner-server/tcp/v2 v2.12.0 + github.com/roadrunner-server/websockets/v2 v2.12.0 github.com/spf13/cobra v1.4.0 github.com/spf13/viper v1.10.1 github.com/stretchr/testify v1.7.1 - github.com/temporalio/roadrunner-temporal v1.3.4 + github.com/temporalio/roadrunner-temporal v1.3.5 github.com/vbauerster/mpb/v5 v5.4.0 ) @@ -123,7 +123,7 @@ require ( github.com/prometheus/procfs v0.7.3 // indirect github.com/rabbitmq/amqp091-go v1.3.4 // indirect github.com/rivo/uniseg v0.2.0 // indirect - github.com/roadrunner-server/sdk/v2 v2.12.0 // indirect + github.com/roadrunner-server/sdk/v2 v2.13.0 // indirect github.com/roadrunner-server/tcplisten v1.1.2 // indirect github.com/robfig/cron v1.2.0 // indirect github.com/shirou/gopsutil v3.21.11+incompatible // indirect @@ -154,12 +154,12 @@ require ( golang.org/x/mod v0.6.0-dev.0.20220106191415-9b9b3d81d5e3 //indirect golang.org/x/net v0.0.0-20220403103023-749bd193bc2b // indirect golang.org/x/sync v0.0.0-20210220032951-036812b2e83c // indirect - golang.org/x/sys v0.0.0-20220405052023-b1e9470b6e64 // indirect + golang.org/x/sys v0.0.0-20220406163625-3f8b81556e12 // indirect golang.org/x/text v0.3.7 // indirect golang.org/x/time v0.0.0-20220224211638-0e9765cccd65 // indirect golang.org/x/tools v0.1.10 // indirect golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 // indirect - google.golang.org/genproto v0.0.0-20220401170504-314d38edb7de // indirect + google.golang.org/genproto v0.0.0-20220405205423-9d709892a2bf // indirect google.golang.org/grpc v1.45.0 // indirect google.golang.org/protobuf v1.28.0 // indirect gopkg.in/ini.v1 v1.66.4 // indirect @@ -371,82 +371,126 @@ 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.11.1 h1:YEjUGJrzSNKAnN6fFZNOVHZtySr1MiQstuq3BPUG03I= github.com/roadrunner-server/amqp/v2 v2.11.1/go.mod h1:dx/Afo+ATWwxY0U//7vYtJBRWBtydbmqizgH2x66zL0= +github.com/roadrunner-server/amqp/v2 v2.12.0 h1:8BbH8wbeSgxk10si5K4prUkCw4jsLEBOEs1Z91IiLok= +github.com/roadrunner-server/amqp/v2 v2.12.0/go.mod h1:EKTSaN+tKZuWeXfefETz7sD7rheiMx0gdXG0ylRSJWs= github.com/roadrunner-server/api/v2 v2.14.0 h1:U7CrMXv5h8qlO9vvqdvPDK0g+zMLwcERUAPcoLy6tYs= github.com/roadrunner-server/api/v2 v2.14.0/go.mod h1:COjb3T7DYHydaKIfino/N8gVa8op1jGAXFF+qKHMnk0= github.com/roadrunner-server/beanstalk/v2 v2.11.0 h1:SajbQuDccuv0/vsYh5efqx/8yiygvz3n6ZfpvQcCu+E= github.com/roadrunner-server/beanstalk/v2 v2.11.0/go.mod h1:bEoduavbkU7Wn/mm6DpzJfRlLBd03buDRd7CX5QEXXI= +github.com/roadrunner-server/beanstalk/v2 v2.12.0 h1:KfQmcO5mFm1vrHhciTwJ41NjtLw2LCduhg4YHN21qaw= +github.com/roadrunner-server/beanstalk/v2 v2.12.0/go.mod h1:WHU+k7S/kivIIfdUTXBWIEARctrLw8G257VvCcvaWnU= github.com/roadrunner-server/boltdb/v2 v2.11.1 h1:yjA3EUGRSNFGaANKL+BpyZVLt5ZJHdPk9bySEDmppBs= github.com/roadrunner-server/boltdb/v2 v2.11.1/go.mod h1:BOLrNTEliochVTujFVgrLs3RUlXzEgSZik4up7LLqzA= +github.com/roadrunner-server/boltdb/v2 v2.12.0 h1:dXcnbWdQp4F8JxKXiRzH2yaXkVrgZZn5j6ofRaZ5lLw= +github.com/roadrunner-server/boltdb/v2 v2.12.0/go.mod h1:zJ+Hx2U5/AUxkhBoomFh73EC+AAQXUPXrHaa8zhwiHk= github.com/roadrunner-server/broadcast/v2 v2.11.0 h1:oUMAvAX+k+y5HESGYcc/rkJblWcEor2KXuXqf+AVJOs= github.com/roadrunner-server/broadcast/v2 v2.11.0/go.mod h1:YW/91Lsmf/DZ/OhxJmorNhdDQBNPU+C6hXPRXb2wuP8= github.com/roadrunner-server/cache/v2 v2.11.1 h1:eSk/oO7WCZLXIXeZtRariMYfIoqpuY+9LHrmIOAFmhY= github.com/roadrunner-server/cache/v2 v2.11.1/go.mod h1:uQxhqa2sk5ugcPoACjCdDnJLZzmnEUTWm1EItVnk1bw= +github.com/roadrunner-server/cache/v2 v2.12.0 h1:RajIqz83zawTCu1LdJA8DxphhTjVDNFtZcTsUqlaOZI= +github.com/roadrunner-server/cache/v2 v2.12.0/go.mod h1:PBO1Rj94caHcOCh6G+WSvA7CTaydGyfqiOZHUoshV/g= github.com/roadrunner-server/config/v2 v2.11.1 h1:H/ULvnh+kSqlLgQlGQr9qhouohXm/7379lF5+Kw1+fo= github.com/roadrunner-server/config/v2 v2.11.1/go.mod h1:YcFXOimIn1IndYnGNqqzsL7uWDozX/TiHJBHTeCzrDo= +github.com/roadrunner-server/config/v2 v2.13.0 h1:vmnlTaufV6v16iENIRxkyJsrlg/g2YJMWK93i6h8sjY= +github.com/roadrunner-server/config/v2 v2.13.0/go.mod h1:72CUxX5w/2sto4GvCT8OyCIJuBvRSSzTY/L0rXiWri8= github.com/roadrunner-server/endure v1.2.2 h1:MuNT8jjg75OczvMdj1h8KUBWKaQbpUrN2ymkTOA+QpQ= github.com/roadrunner-server/endure v1.2.2/go.mod h1:MzEmu0galbhgNGMeVcb5u7PqHz2uvpeyFzKlC82O25E= 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.11.1 h1:P6KNQn647pZJ4WkSwihHXQUpQLS+xr2/uPon+UPF0Fk= github.com/roadrunner-server/fileserver/v2 v2.11.1/go.mod h1:WXml+4IR77E529QdKOvqvwhjc1rNUxAnBt4Zk4wFHFw= +github.com/roadrunner-server/fileserver/v2 v2.12.0 h1:YTaE1/KFk5h5u8GL5YAlc00wXL1YAOv+FvTLJ27/ae4= +github.com/roadrunner-server/fileserver/v2 v2.12.0/go.mod h1:h4ov3lH40g4nO1VdHe0L1Drf4OM0g0YzrBX7MgnWmgI= github.com/roadrunner-server/goridge/v3 v3.4.0 h1:6sIm8Dk+ykDzDkOB27vStAdriYuEymi8OSiro7y4Wbc= github.com/roadrunner-server/goridge/v3 v3.4.0/go.mod h1:i7Y1z7dr48E6KZ+bEBS7lBRh4t9eWSUCsEOivEPpS5s= github.com/roadrunner-server/grpc/v2 v2.12.1 h1:hyq+6Nw+3kiNHFs0Ly4naMcayEl4AO0UNGSeHWCTOHs= github.com/roadrunner-server/grpc/v2 v2.12.1/go.mod h1:VZ7fnUGbaAQqAe4BkmxgC5+UZsJuQRNR1HlpGKc3lT0= +github.com/roadrunner-server/grpc/v2 v2.13.0 h1:KNSk2yJth+HD3VF3dmmcjQD65aDVX3EdsTbUi61Fk7E= +github.com/roadrunner-server/grpc/v2 v2.13.0/go.mod h1:90GtRUwTprsDXVqPo6mqImdZgc+DkKCGSFNwvS3y1e8= github.com/roadrunner-server/gzip/v2 v2.10.0 h1:/2dpoNU5SJBsrOBIk5dBHaIEk57NQ0X97zdbbFS5xOE= github.com/roadrunner-server/gzip/v2 v2.10.0/go.mod h1:+ZK6ae1O41kNJcsIGh6Vcu91caWcGq6cscWx/zugo60= github.com/roadrunner-server/headers/v2 v2.11.0 h1:NYjgGMjQgLTscVJTDe77zAz9gmb5/An6Y9HUUnlUIvQ= github.com/roadrunner-server/headers/v2 v2.11.0/go.mod h1:C+QmP9csKz4nFUsRFaRbPTKwHK2cR6UhYb8TIuIGDHk= -github.com/roadrunner-server/http/v2 v2.13.3 h1:TmAknhpK0DOMIhVSlFKHeQKbycOtBrla2QC9WZsS0Xw= -github.com/roadrunner-server/http/v2 v2.13.3/go.mod h1:13F9TU/F7wRGkTilRZKAoUgvGXeEiia6Azlt0Lr3M74= +github.com/roadrunner-server/http/v2 v2.14.0 h1:bD/xmzk+QtKYk07hPS06cqJpbv9SZLUflsOwEVQTj1o= +github.com/roadrunner-server/http/v2 v2.14.0/go.mod h1:aA8OInyg8m/Or4nTYvmdAnNCX1ByOQ/9pf+amoQNWxw= github.com/roadrunner-server/informer/v2 v2.11.0 h1:Ouo81SDmKD4UdN53GKmQOk0sGBa9Ml3cu9SxXEguAas= github.com/roadrunner-server/informer/v2 v2.11.0/go.mod h1:B7MvUyep+UB0e0Zq5S0Dn7vzHO2DxmHVgC1aDrnLcAY= -github.com/roadrunner-server/jobs/v2 v2.11.1 h1:iKxbBwh18KyO/U/X74YNuaTKHJTVgb2Re4PSLEo60tg= -github.com/roadrunner-server/jobs/v2 v2.11.1/go.mod h1:rB0phEMJfMCBbtrn4jVVN0RpXsIcsQ556498AZYE1bo= +github.com/roadrunner-server/jobs/v2 v2.12.0 h1:taHiCQ/CV7vd5xLl9pPwKLsvMAV5EBJ3qtaaWG1D4+w= +github.com/roadrunner-server/jobs/v2 v2.12.0/go.mod h1:pYgLFAVarWG5sp6RwhngQXaCdrTZOPKXFrvhDiP4Gd4= github.com/roadrunner-server/kv/v2 v2.11.0 h1:Z3Et0x19gJjnDF01uhYnmTvibZwHvovJF7FX3TvQoOU= github.com/roadrunner-server/kv/v2 v2.11.0/go.mod h1:yh3F2Ilmp2/gjmyJIXqcIKu0JtAIS5N+rfVeozQEHsA= github.com/roadrunner-server/logger/v2 v2.11.1 h1:q/2PDSeK5K4n6PX69UbnNnPJ+qR2vnJT3MtS2iZU0fU= github.com/roadrunner-server/logger/v2 v2.11.1/go.mod h1:K8BD40829A08CwGdh1Umbwt1HCaWdddtvj6uyn2rkw8= +github.com/roadrunner-server/logger/v2 v2.12.0 h1:xle92TGOFgvCkJjEYtZRTvsGTfeGw8MDmOVubR4Od+M= +github.com/roadrunner-server/logger/v2 v2.12.0/go.mod h1:VPpvz+cWINal62bdhkKwDsCeJXbwQxeZ0vBxUf4rUhE= github.com/roadrunner-server/memcached/v2 v2.11.0 h1:JsW61GNc9kdUNmvgz8RHPAXwNBGLDMH3cSf7Agcj/BM= github.com/roadrunner-server/memcached/v2 v2.11.0/go.mod h1:+R8oHmg6kNy9lOMMXxWm6rQlSmz0VlxGVRJhgRDUTTU= github.com/roadrunner-server/memory/v2 v2.11.0 h1:IyAFDgIR8bT49JRTRZYBJ8t2Cy+7nPp3k/xyPDduWRk= github.com/roadrunner-server/memory/v2 v2.11.0/go.mod h1:LpeLGwShsRfyaTGWUSswY1aqIw/aqd3cAASt1Bvz+ok= +github.com/roadrunner-server/memory/v2 v2.12.0 h1:H9PQvpE+mWMtPQoDwhXriCaDJbIzmTY1S9iQEDgfABg= +github.com/roadrunner-server/memory/v2 v2.12.0/go.mod h1:/xmRYWZC1QUdAJH4FXt9cQDReyeiVXyavBEHgbvlnzU= github.com/roadrunner-server/metrics/v2 v2.11.1 h1:SNM8PtqDp26ZhIAw/ALfzeOrGLRoXdBsFb3NAhg1Zm8= github.com/roadrunner-server/metrics/v2 v2.11.1/go.mod h1:KsKAFESvt24RIHaUydpVePBxQrDkehugDHvuInuFmdc= +github.com/roadrunner-server/metrics/v2 v2.12.0 h1:dM8G362MaOWasz7fJoilFDujqtWXD0b4QpzAcWIiFVw= +github.com/roadrunner-server/metrics/v2 v2.12.0/go.mod h1:PYowks398C4HI1C6hyRuwzlJZG2kT/7GZLXblfQrgQw= github.com/roadrunner-server/nats/v2 v2.11.0 h1:qN/40K6bzx1pN4gSO5F5zOY7OGSh/afaa+mkPJujTWE= github.com/roadrunner-server/nats/v2 v2.11.0/go.mod h1:O7BDxt28e3WrMenT7Q6YTE0pedP9htzNm/GsajgYxKM= +github.com/roadrunner-server/nats/v2 v2.12.0 h1:3EtERl2Aj6lQ3B/PBELIP01gWYbYghCKvlxlyc5NElY= +github.com/roadrunner-server/nats/v2 v2.12.0/go.mod h1:NEAKykWuKwwvevMBq5O4BZPBl2icKsbR5Hq2l7plhHo= github.com/roadrunner-server/new_relic/v2 v2.12.1 h1:sutJWLc/5uj7ICdVa0Jeuga1gTl/9LFppePi029WKA0= github.com/roadrunner-server/new_relic/v2 v2.12.1/go.mod h1:zPKRZzour76sStkS51KHXpHInsV0EXphFaLaymMmHk0= +github.com/roadrunner-server/new_relic/v2 v2.13.0 h1:zb0ICNY5Q3vUubYwGu6rbeKylgEdLdp5PwVRvnYS0og= +github.com/roadrunner-server/new_relic/v2 v2.13.0/go.mod h1:4T9V0uahXkkxp2wCpsTp9DepFz8ZAgnoOixWUaeKgJ0= github.com/roadrunner-server/prometheus/v2 v2.11.1 h1:ChR6yQ+JGvgZBmQ99dhzGznPeSvwZxX5wPtzfhSa664= github.com/roadrunner-server/prometheus/v2 v2.11.1/go.mod h1:z/1FfBplyoepI7AJZAzB0jhaQWCXE/tEXs7JT3AaO/Y= +github.com/roadrunner-server/prometheus/v2 v2.12.0 h1:SEYkINVh4BucKU1LfqCwKKLcsy6Hx4ldDeARVDJdluw= +github.com/roadrunner-server/prometheus/v2 v2.12.0/go.mod h1:HPBQY3loGj3ZKFthgMRyIGoxr1ZAUundpZyC4YM9Prw= github.com/roadrunner-server/redis/v2 v2.12.0 h1:EfG8mvRSo4Gz230L4ta5aWmGFpOUBuxIGFWBI5VaxUY= github.com/roadrunner-server/redis/v2 v2.12.0/go.mod h1:Fkl12l+VztYYi0mobK/ghQkuxL7269wkjOEPS3RZKXc= +github.com/roadrunner-server/redis/v2 v2.13.0 h1:GS3HPmT5T8Wc51qS2olZpWjA5pWCbp/sFtAc5C/E9NQ= +github.com/roadrunner-server/redis/v2 v2.13.0/go.mod h1:kIpyeLFs7GdkZpsfbloma+e5UZKDeMwtjsaVQH87sR0= github.com/roadrunner-server/reload/v2 v2.11.0 h1:6OEkjbZrgwjs+xvDX7BjyGP9LuggzWypOehC2cnLu6o= github.com/roadrunner-server/reload/v2 v2.11.0/go.mod h1:Baqn+56b5Je51vMwLN6VFneYL2dYZykVoOmrA2xE4j8= github.com/roadrunner-server/resetter/v2 v2.11.0 h1:EQGv7wHVOe/BtBzYOUlHdcmOY1XyTk6+5Tpzx56lEOw= github.com/roadrunner-server/resetter/v2 v2.11.0/go.mod h1:9G3EZA1pSij6NO+PeCqbLunE/ke6kSybR5P59Iv6dyc= github.com/roadrunner-server/rpc/v2 v2.11.0 h1:chnnNivD+zceu0y5+LxZpQWOD6JKYdI595neboKK3To= github.com/roadrunner-server/rpc/v2 v2.11.0/go.mod h1:KZJbTdB3LK5WIGzJ0Bq0QkG1RK8wfSioatheoneCdFQ= -github.com/roadrunner-server/sdk/v2 v2.12.0 h1:O2uN0ufBQ/ftpoXYW9k/w9JZW8+01JvSQXpqsZ69xPo= -github.com/roadrunner-server/sdk/v2 v2.12.0/go.mod h1:SPBLc4g9i9qpQ71dXTeaRXpfNgKjtCSwEk/dc1bXg+s= +github.com/roadrunner-server/rpc/v2 v2.12.0 h1:LL989LVJ2TEZtd6ZIahPGCDYuulB2L8rqaRsnJOl774= +github.com/roadrunner-server/rpc/v2 v2.12.0/go.mod h1:ClDDCqh/XFNP76tUbTksbv2d+2ww6kP5HA4e5c71D5E= +github.com/roadrunner-server/sdk/v2 v2.13.0 h1:390lH0eqP1/PEP/GZk27A9YH43Utez/qqtaBviTCOAU= +github.com/roadrunner-server/sdk/v2 v2.13.0/go.mod h1:katxDBnU7298CaluLBRgHEJOSobkCuzcXH1PcrcMZY4= github.com/roadrunner-server/send/v2 v2.10.0 h1:FRNo8aMzrE4Zu0IwdUPsp1Rh6CuTULBRUHvbbtfADME= github.com/roadrunner-server/send/v2 v2.10.0/go.mod h1:48Pe+O+4vmirHBNGfd1/l7SZoPQ2EonSLBhOi9Nathw= github.com/roadrunner-server/server/v2 v2.12.1 h1:7ZWiq+QynvZgYJ7i09JnIIBYPgvb8XB9/ykwYcutMag= github.com/roadrunner-server/server/v2 v2.12.1/go.mod h1:+1g5I9jRH1rKed7gWdzl0n17yk+xgv2pUkodL5A/MkA= +github.com/roadrunner-server/server/v2 v2.13.0 h1:toczk1yyBIGfo1Q4JIUsGSjwh8b9B+bqXQmS7TBAVmw= +github.com/roadrunner-server/server/v2 v2.13.0/go.mod h1:sjsC5jfAQw4IHaDjclGSvMGjcfi7+GFNPhHtZ4Y1TZ0= github.com/roadrunner-server/service/v2 v2.11.1 h1:P/5tmtZjD67d48xMN/oXnNEK2zvA7zHLUaBsDpywqjw= github.com/roadrunner-server/service/v2 v2.11.1/go.mod h1:j7cEa/w/wAA8/qQdLD4nybixyr7Cdro0he1DBWmfAas= +github.com/roadrunner-server/service/v2 v2.12.0 h1:e1j2dhmVvnvIU6A8h2PgMw4FAh9ISc5YQS0C5e8Vl7E= +github.com/roadrunner-server/service/v2 v2.12.0/go.mod h1:rcGrywfjFRpNR0NBBgCFjlvOcheAjP1LlJ0SnSB8Qnc= github.com/roadrunner-server/sqs/v2 v2.12.2 h1:J3Qcqc96GTCfzbuM+qVinyVBN5faoZZauvbs0cTrPV8= github.com/roadrunner-server/sqs/v2 v2.12.2/go.mod h1:5sM0SZ8mH557zePK2PrlU5bbKRTf0o6/raO8kpNQK0w= +github.com/roadrunner-server/sqs/v2 v2.13.0 h1:pEYfrHvb6/iN80CCRYvgWNacERxkElmsqnNZIN/kbxM= +github.com/roadrunner-server/sqs/v2 v2.13.0/go.mod h1:JFi+Qr/lqreWdiE5EQJJt3IwMe7gJbmpc3HLilJ1XO8= github.com/roadrunner-server/static/v2 v2.11.0 h1:XmyoyPrkTeEoQYSJfFkWRiRiq5SSZo2EDSS0C3hTDc4= github.com/roadrunner-server/static/v2 v2.11.0/go.mod h1:/0WKU8uxbIn+mEsR+R6pDcciW7+WYrtHD5+c5plH4hE= +github.com/roadrunner-server/static/v2 v2.12.0 h1:ZdSqBmwSaZi636hirwqEd2EUqzJla5AUrDLV41r0/Hc= +github.com/roadrunner-server/static/v2 v2.12.0/go.mod h1:6aQwnWj6YTqFjXegUAOw1VayUQcdlZJq6qqKtrHIyqY= github.com/roadrunner-server/status/v2 v2.11.1 h1:eCNx7jrRQPDGjvwGPBlFuLxintpYM07zwE0Ii+vZOPA= github.com/roadrunner-server/status/v2 v2.11.1/go.mod h1:yODA2Ts8cAf7bNTTlXovDrmv23LHcKhyMqNulRQtzTM= +github.com/roadrunner-server/status/v2 v2.11.2 h1:j/LGss1WtWEjpsL6SBCp6CTsruwRwFb/Yi+PJHTEhAs= +github.com/roadrunner-server/status/v2 v2.11.2/go.mod h1:pt6bFApwG4MSUHgDfHhbBSTy3vmRPXgN/HxWE+wanxQ= github.com/roadrunner-server/tcp/v2 v2.11.1 h1:2m7HnXve5s4ujre5aINtpswo9V1Bw6Y62E3Imi8S+2Q= github.com/roadrunner-server/tcp/v2 v2.11.1/go.mod h1:j7Fh7I5XxTKIfc2pK0w2d9y1Irkq0UsT8e8JvMLQkUg= +github.com/roadrunner-server/tcp/v2 v2.12.0 h1:/RFnO5MK/BA+sC0dx10VVBPAepEgd/A3kTH05w1/neU= +github.com/roadrunner-server/tcp/v2 v2.12.0/go.mod h1:WBljqP28JfV1Am2PH5K+IwTKXYirXnA2utj2mg1geAA= 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.11.2 h1:L0HNoFk5VKvWNP58KMlkUwL5Hp0HTJZYHVvohFfm7TA= github.com/roadrunner-server/websockets/v2 v2.11.2/go.mod h1:djsUjk5KxTy23Gq2SzlUC2CkU+k91502LuZ549f6oGk= +github.com/roadrunner-server/websockets/v2 v2.12.0 h1:vl2drEQDTiAfU7ts2bZa/Uf6JoJiiNRNbMgZQy9N5DA= +github.com/roadrunner-server/websockets/v2 v2.12.0/go.mod h1:PgjpMNSvKdk1DYX1Wi8TfFEnzIt2pFVBvPOphy78Bvs= 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= @@ -486,6 +530,8 @@ github.com/subosito/gotenv v1.2.0 h1:Slr1R9HxAlEKefgq5jn9U+DnETlIUa6HfgEzj0g5d7s github.com/subosito/gotenv v1.2.0/go.mod h1:N0PQaV/YGNqwC0u51sEeR/aUtSLEXKX9iv69rRypqCw= github.com/temporalio/roadrunner-temporal v1.3.4 h1:yH/svSrOkbOU4vod9kuJlRVtcwxvDGDQC1F2hvC43po= github.com/temporalio/roadrunner-temporal v1.3.4/go.mod h1:Wr/UPwf9jzrGT4Sha6wOeN0U73czRiSEWvXNiwrC5Tc= +github.com/temporalio/roadrunner-temporal v1.3.5 h1:AeWwHOXL3Nb6NdeRInydKeUCtAO2aIpJN61NeVmOu24= +github.com/temporalio/roadrunner-temporal v1.3.5/go.mod h1:7/jELtbYmrGQBBT91y02YcikV4N6pWMVWjlZL/eyFrM= github.com/tklauser/go-sysconf v0.3.10 h1:IJ1AZGZRWbY8T5Vfk04D9WOA5WSejdflXxP03OUqALw= github.com/tklauser/go-sysconf v0.3.10/go.mod h1:C8XykCvCb+Gn0oNCWPIlcb0RuglQTYaQ2hGm7jmxEFk= github.com/tklauser/numcpus v0.4.0 h1:E53Dm1HjH1/R2/aoCtXtPgzmElmn51aOkhCFSuZq//o= @@ -497,7 +543,6 @@ github.com/uber-go/tally/v4 v4.1.1 h1:jhy6WOZp4nHyCqeV43x3Wz370LXUGBhgW2JmzOIHCW github.com/uber-go/tally/v4 v4.1.1/go.mod h1:aXeSTDMl4tNosyf6rdU8jlgScHyjEGGtfJ/uwCIf/vM= github.com/valyala/bytebufferpool v1.0.0 h1:GqA5TC/0021Y/b9FG4Oi9Mr3q7XYx6KllzawFIhcdPw= github.com/valyala/bytebufferpool v1.0.0/go.mod h1:6bBcMArwyJ5K/AmCkWv1jt77kVWyCJ6HpOuEn7z0Csc= -github.com/valyala/fasthttp v1.34.0 h1:d3AAQJ2DRcxJYHm7OXNXtXt2as1vMDfxeIcFvhmGGm4= github.com/valyala/fasthttp v1.34.0/go.mod h1:epZA5N+7pY6ZaEKRmstzOuYJx9HI8DI1oaCGZpdH4h0= github.com/valyala/fasthttp v1.35.0 h1:wwkR8mZn2NbigFsaw2Zj5r+xkmzjbrA/lyTmiSlal/Y= github.com/valyala/fasthttp v1.35.0/go.mod h1:t/G+3rLek+CyY9bnIE+YlMRddxVAAGjhxndDB4i4C0I= @@ -724,10 +769,10 @@ golang.org/x/sys v0.0.0-20220114195835-da31bd327af9/go.mod h1:oPkhp1MJrh7nUepCBc golang.org/x/sys v0.0.0-20220128215802-99c3d69c2c27/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220222200937-f2425489ef4c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220227234510-4e6760a101f9/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220403205710-6acee93ad0eb h1:PVGECzEo9Y3uOidtkHGdd347NjLtITfJFO9BxFpmRoo= -golang.org/x/sys v0.0.0-20220403205710-6acee93ad0eb/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220405052023-b1e9470b6e64 h1:D1v9ucDTYBtbz5vNuBbAhIMAGhQhJ6Ym5ah3maMVNX4= -golang.org/x/sys v0.0.0-20220405052023-b1e9470b6e64/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220406155245-289d7a0edf71 h1:PRD0hj6tTuUnCFD08vkvjkYFbQg/9lV8KIxe1y4/cvU= +golang.org/x/sys v0.0.0-20220406155245-289d7a0edf71/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220406163625-3f8b81556e12 h1:QyVthZKMsyaQwBTJE04jdNN0Pp5Fn9Qga0mrgxyERQM= +golang.org/x/sys v0.0.0-20220406163625-3f8b81556e12/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= @@ -874,8 +919,8 @@ google.golang.org/genproto v0.0.0-20210108203827-ffc7fda8c3d7/go.mod h1:FWY/as6D google.golang.org/genproto v0.0.0-20210226172003-ab064af71705/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20210909211513-a8c4777a87af/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY= google.golang.org/genproto v0.0.0-20220222213610-43724f9ea8cf/go.mod h1:kGP+zUP2Ddo0ayMi4YuN7C3WZyJvGLZRh8Z5wnAqvEI= -google.golang.org/genproto v0.0.0-20220401170504-314d38edb7de h1:9Ti5SG2U4cAcluryUo/sFay3TQKoxiFMfaT0pbizU7k= -google.golang.org/genproto v0.0.0-20220401170504-314d38edb7de/go.mod h1:8w6bsBMX6yCPbAVTeqQHvzxW0EIFigd5lZyahWgyfDo= +google.golang.org/genproto v0.0.0-20220405205423-9d709892a2bf h1:JTjwKJX9erVpsw17w+OIPP7iAgEkN/r8urhWSunEDTs= +google.golang.org/genproto v0.0.0-20220405205423-9d709892a2bf/go.mod h1:8w6bsBMX6yCPbAVTeqQHvzxW0EIFigd5lZyahWgyfDo= google.golang.org/grpc v1.12.0/go.mod h1:yo6s7OP7yaDglbqo1J04qKzAhqBH6lvTonzMVmEdcZw= google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= google.golang.org/grpc v1.20.1/go.mod h1:10oTOabMzJvdu6/UiuZezV6QK5dSlG84ov/aaiqXj38= diff --git a/grafana/RR_Dashboard.json b/grafana/RR_Dashboard.json new file mode 100644 index 00000000..4f0c9204 --- /dev/null +++ b/grafana/RR_Dashboard.json @@ -0,0 +1,1447 @@ +{ + "__inputs": [ + { + "name": "DS_PROMETHEUS", + "label": "Prometheus", + "description": "", + "type": "datasource", + "pluginId": "prometheus", + "pluginName": "Prometheus" + } + ], + "__elements": [], + "__requires": [ + { + "type": "panel", + "id": "bargauge", + "name": "Bar gauge", + "version": "" + }, + { + "type": "grafana", + "id": "grafana", + "name": "Grafana", + "version": "8.4.5" + }, + { + "type": "datasource", + "id": "prometheus", + "name": "Prometheus", + "version": "1.0.0" + }, + { + "type": "panel", + "id": "stat", + "name": "Stat", + "version": "" + }, + { + "type": "panel", + "id": "timeseries", + "name": "Time series", + "version": "" + } + ], + "annotations": { + "list": [ + { + "builtIn": 1, + "datasource": "-- Grafana --", + "enable": true, + "hide": true, + "iconColor": "rgba(0, 211, 255, 1)", + "name": "Annotations & Alerts", + "target": { + "limit": 100, + "matchAny": false, + "tags": [], + "type": "dashboard" + }, + "type": "dashboard" + } + ] + }, + "editable": true, + "fiscalYearStartMonth": 0, + "graphTooltip": 0, + "id": null, + "links": [ + { + "asDropdown": false, + "icon": "external link", + "includeVars": false, + "keepTime": false, + "tags": [], + "targetBlank": false, + "title": "New link", + "tooltip": "", + "type": "dashboards", + "url": "" + } + ], + "liveNow": false, + "panels": [ + { + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + } + ] + }, + "unit": "s" + }, + "overrides": [] + }, + "gridPos": { + "h": 9, + "w": 3, + "x": 0, + "y": 0 + }, + "id": 20, + "options": { + "colorMode": "value", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "last" + ], + "fields": "", + "values": false + }, + "textMode": "auto" + }, + "pluginVersion": "8.4.5", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "exemplar": false, + "expr": "rr_http_uptime_seconds", + "instant": true, + "interval": "", + "legendFormat": "Uptime", + "refId": "A" + } + ], + "title": "RR uptime", + "type": "stat" + }, + { + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 4, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": 3600000, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "yellow", + "value": null + } + ] + }, + "unit": "decbytes" + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "RR memory" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "blue", + "mode": "fixed" + } + } + ] + } + ] + }, + "gridPos": { + "h": 9, + "w": 10, + "x": 3, + "y": 0 + }, + "id": 14, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom" + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "exemplar": true, + "expr": "go_memstats_heap_inuse_bytes", + "interval": "", + "legendFormat": "RR memory", + "refId": "A" + } + ], + "title": "RR in-use memory", + "type": "timeseries" + }, + { + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 11, + "gradientMode": "hue", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineStyle": { + "fill": "solid" + }, + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": 3600000, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Green threads count" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "purple", + "mode": "fixed" + } + } + ] + } + ] + }, + "gridPos": { + "h": 9, + "w": 11, + "x": 13, + "y": 0 + }, + "id": 12, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom" + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "exemplar": true, + "expr": "go_goroutines", + "instant": false, + "interval": "", + "legendFormat": "Green threads count", + "refId": "A" + } + ], + "title": "Goroutines", + "type": "timeseries" + }, + { + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [ + { + "options": { + "pattern": "TOTAL", + "result": { + "color": "red", + "index": 0 + } + }, + "type": "regex" + } + ], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "blue", + "value": null + } + ] + } + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "TOTAL" + }, + "properties": [ + { + "id": "color", + "value": { + "mode": "continuous-RdYlGr" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "WORKING" + }, + "properties": [ + { + "id": "color", + "value": { + "mode": "continuous-GrYlRd" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "INVALID" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "dark-red", + "mode": "fixed" + } + } + ] + } + ] + }, + "gridPos": { + "h": 9, + "w": 12, + "x": 0, + "y": 9 + }, + "id": 16, + "options": { + "displayMode": "lcd", + "orientation": "horizontal", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "showUnfilled": true + }, + "pluginVersion": "8.4.5", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "exemplar": false, + "expr": "rr_http_total_workers", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "TOTAL", + "refId": "C" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "exemplar": false, + "expr": "rr_http_workers_ready", + "instant": true, + "interval": "", + "legendFormat": "READY", + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "exemplar": false, + "expr": "rr_http_workers_working", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "WORKING", + "refId": "D" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "exemplar": false, + "expr": "rr_http_workers_invalid", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "INVALID", + "refId": "B" + } + ], + "title": "HTTP Workers state", + "type": "bargauge" + }, + { + "fieldConfig": { + "defaults": { + "color": { + "mode": "continuous-GrYlRd" + }, + "custom": { + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 5, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "smooth", + "lineWidth": 2, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": 3600000, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "decmbytes" + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Workers total memory used" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "green", + "mode": "fixed" + } + } + ] + } + ] + }, + "gridPos": { + "h": 9, + "w": 12, + "x": 12, + "y": 9 + }, + "id": 6, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom" + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "exemplar": true, + "expr": "(rr_http_workers_memory_bytes/1024000)", + "instant": false, + "interval": "", + "legendFormat": "Workers total memory used", + "refId": "A" + } + ], + "title": "Workers total memory [HTTP]", + "type": "timeseries" + }, + { + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + } + ] + }, + "unit": "bytes" + }, + "overrides": [] + }, + "gridPos": { + "h": 12, + "w": 24, + "x": 0, + "y": 18 + }, + "id": 10, + "options": { + "displayMode": "lcd", + "orientation": "horizontal", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "showUnfilled": true + }, + "pluginVersion": "8.4.5", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "exemplar": false, + "expr": "rr_http_worker_memory_bytes", + "instant": true, + "interval": "", + "legendFormat": "PID: {{pid}}", + "refId": "A" + } + ], + "title": "Memory by worker [HTTP]", + "type": "bargauge" + }, + { + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 7, + "gradientMode": "hue", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "smooth", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "s" + }, + "overrides": [ + { + "__systemRef": "hideSeriesFrom", + "matcher": { + "id": "byNames", + "options": { + "mode": "exclude", + "names": [ + "histogram_quantile(0.95, sum(rate(rr_http_request_duration_seconds_bucket[5m])) by (le))" + ], + "prefix": "All except:", + "readOnly": true + } + }, + "properties": [ + { + "id": "custom.hideFrom", + "value": { + "legend": false, + "tooltip": false, + "viz": true + } + } + ] + } + ] + }, + "gridPos": { + "h": 8, + "w": 24, + "x": 0, + "y": 30 + }, + "id": 2, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom" + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "exemplar": true, + "expr": "histogram_quantile(0.95, sum(rate(rr_http_request_duration_seconds_bucket[5m])) by (le))", + "interval": "", + "legendFormat": "", + "refId": "A" + } + ], + "title": "HTTP latency (ms)", + "type": "timeseries" + }, + { + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisLabel": "Queue size (requests)", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 6, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "smooth", + "lineWidth": 2, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": 3600000, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 9, + "w": 12, + "x": 0, + "y": 38 + }, + "id": 8, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom" + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "exemplar": true, + "expr": "rr_http_requests_queue", + "interval": "", + "legendFormat": "", + "refId": "A" + } + ], + "title": "HTTP requests queue size", + "type": "timeseries" + }, + { + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 5, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": 3600000, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 9, + "w": 12, + "x": 12, + "y": 38 + }, + "id": 18, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom" + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "exemplar": true, + "expr": "rate(rr_http_request_total[1m])", + "interval": "", + "legendFormat": "RPM", + "refId": "A" + } + ], + "title": "RPM [HTTP]", + "type": "timeseries" + }, + { + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [ + { + "options": { + "pattern": "TOTAL", + "result": { + "color": "red", + "index": 0 + } + }, + "type": "regex" + } + ], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "blue", + "value": null + } + ] + } + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "TOTAL" + }, + "properties": [ + { + "id": "color", + "value": { + "mode": "continuous-RdYlGr" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "WORKING" + }, + "properties": [ + { + "id": "color", + "value": { + "mode": "continuous-GrYlRd" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "INVALID" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "dark-red", + "mode": "fixed" + } + } + ] + } + ] + }, + "gridPos": { + "h": 8, + "w": 13, + "x": 0, + "y": 47 + }, + "id": 23, + "options": { + "displayMode": "lcd", + "orientation": "horizontal", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "showUnfilled": true + }, + "pluginVersion": "8.4.5", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "exemplar": false, + "expr": "rr_jobs_total_workers", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "TOTAL", + "refId": "C" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "exemplar": false, + "expr": "rr_jobs_workers_ready", + "instant": true, + "interval": "", + "legendFormat": "READY", + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "exemplar": false, + "expr": "rr_jobs_workers_working", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "WORKING", + "refId": "D" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "exemplar": false, + "expr": "rr_jobs_workers_invalid", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "INVALID", + "refId": "B" + } + ], + "title": "JOBS Workers state", + "type": "bargauge" + }, + { + "fieldConfig": { + "defaults": { + "color": { + "mode": "continuous-GrYlRd" + }, + "custom": { + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 5, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "smooth", + "lineWidth": 2, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": 3600000, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "decmbytes" + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Workers total memory used" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "green", + "mode": "fixed" + } + } + ] + } + ] + }, + "gridPos": { + "h": 8, + "w": 11, + "x": 13, + "y": 47 + }, + "id": 27, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom" + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "exemplar": true, + "expr": "(rr_jobs_workers_memory_bytes/1024000)", + "instant": false, + "interval": "", + "legendFormat": "Workers total memory used", + "refId": "A" + } + ], + "title": "Workers total memory [JOBS]", + "type": "timeseries" + }, + { + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "semi-dark-blue", + "value": null + } + ] + }, + "unit": "bytes" + }, + "overrides": [] + }, + "gridPos": { + "h": 12, + "w": 24, + "x": 0, + "y": 55 + }, + "id": 24, + "options": { + "displayMode": "lcd", + "orientation": "horizontal", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "showUnfilled": true + }, + "pluginVersion": "8.4.5", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "exemplar": false, + "expr": "rr_jobs_worker_memory_bytes", + "instant": true, + "interval": "", + "legendFormat": "PID: {{pid}}", + "refId": "A" + } + ], + "title": "Memory by worker [JOBS]", + "type": "bargauge" + }, + { + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 67 + }, + "id": 22, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom" + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "exemplar": true, + "expr": "rate(rr_jobs_jobs_ok[5m])", + "interval": "", + "legendFormat": "", + "refId": "A" + } + ], + "title": "JOBS Ok rate [5m]", + "type": "timeseries" + }, + { + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 9, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": 3600000, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + } + ] + } + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "{instance=\"localhost:2112\", job=\"prometheus\"}" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "dark-red", + "mode": "fixed" + } + } + ] + } + ] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 67 + }, + "id": 26, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom" + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "exemplar": true, + "expr": "rate(rr_jobs_jobs_err[5m])", + "interval": "", + "legendFormat": "", + "refId": "A" + } + ], + "title": "JOBS errors rate [5m]", + "type": "timeseries" + } + ], + "refresh": "5s", + "schemaVersion": 35, + "style": "dark", + "tags": [], + "templating": { + "list": [] + }, + "time": { + "from": "now-30m", + "to": "now" + }, + "timepicker": {}, + "timezone": "", + "title": "RR Dashboard", + "uid": "U8Ml4RU7z", + "version": 42, + "weekStart": "monday" +}
\ No newline at end of file |