-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cartridge role reload resets metrics data #334
Labels
bug
Something isn't working
Comments
Why do you think that this is a problem? |
I've discussed it with @yngvar-antonsson and he said this behavior is unexpected. |
Reload of metrics package (without Cartridge) doesn't reset collectors, so cartridge hot reload doesn't have to reset them too. |
I think
is the simplest and satisfying solution. |
DifferentialOrange
added a commit
to tarantool/crud
that referenced
this issue
Dec 24, 2021
After this patch, statistics module state (enabled/disabled, driver) preserved between package reloads and Tarantool Cartridge role reloads [1]. Since `metrics` package do not fully support preserving registry between role reloads [2] now, this feature doesn't work for `metrics` driver. Corresponding tests are marked with xfail until issue is resolved for metrics. 1. https://www.tarantool.io/en/doc/latest/book/cartridge/cartridge_api/modules/cartridge.roles/#reload 2. tarantool/metrics#334 Follows up #224
3 tasks
DifferentialOrange
added a commit
to tarantool/crud
that referenced
this issue
Jan 18, 2022
After this patch, statistics module state (enabled/disabled, driver) preserved between package reloads and Tarantool Cartridge role reloads [1]. Since `metrics` package do not fully support preserving registry between role reloads [2] now, this feature doesn't work for `metrics` driver. Corresponding tests are marked with xfail until issue is resolved for metrics. 1. https://www.tarantool.io/en/doc/latest/book/cartridge/cartridge_api/modules/cartridge.roles/#reload 2. tarantool/metrics#334 Follows up #224
2 tasks
DifferentialOrange
added a commit
to tarantool/crud
that referenced
this issue
Feb 3, 2023
Before this patch, tests were marked with xfail since there was a bug in metrics module [1]. This bug is fixes in newer versions, so xfail is replaced with skip based on metrics version. 1. tarantool/metrics#334 Follows #244
DifferentialOrange
added a commit
to tarantool/crud
that referenced
this issue
Feb 3, 2023
Before this patch, tests were marked with xfail since there was a bug in metrics module [1]. This bug is fixes in newer versions, so xfail is replaced with skip based on metrics version. 1. tarantool/metrics#334 Follows #244
DifferentialOrange
added a commit
to tarantool/crud
that referenced
this issue
Feb 13, 2023
Before this patch, tests were marked with xfail since there was a bug in metrics module [1]. This bug is fixes in newer versions, so xfail is replaced with skip based on metrics version. 1. tarantool/metrics#334 Follows #244
DifferentialOrange
added a commit
to tarantool/crud
that referenced
this issue
Feb 13, 2023
Before this patch, tests were marked with xfail since there was a bug in metrics module [1]. This bug is fixes in newer versions, so xfail is replaced with skip based on metrics version. 1. tarantool/metrics#334 Follows #244
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
metrics
package should support role reload, while it resets all observations and collectors.Steps to reproduce
Create template application
Change
init.lua
Start an application
Connect to instance
Execute reload
The text was updated successfully, but these errors were encountered: