-
Notifications
You must be signed in to change notification settings - Fork 24
cartridge metrics #80
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
Labels
Comments
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 30 days |
Reopen with 3 new metric. |
Those are new metrics
|
Design draft. We've discussed making it a part of cartridge. It would be easier to maintain the list. local state_numeric_const = {
[''] = 0,
['Unconfigured'] = 10,
['ConfigFound'] = 11,
['ConfigLoaded'] = 12,
['BootstrappingBox'] = 20,
['RecoveringSnapshot'] = 21,
['ConnectingFullmesh'] = 30,
['BoxConfigured'] = 40,
['ConfiguringRoles'] = 50,
['RolesConfigured'] = 51,
['ReloadingRoles'] = 60,
['InitError'] = 90,
['BootError'] = 91,
['OperationError'] = 92,
['ReloadError'] = 93,
}
for state, _ in pairs(state_transitions) do
if state_numeric_const[state] == nil then
error(string.format('Missing numeric const for %q', state))
end
end |
Closed until someone would need those metrics. Feel free to reopen. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
We could collect such metrics as:
issues_count
of type gauge. Value is a number of cluster issues this instance knows. This should be good enough for basic alerting - healthy cluster reports 0 issues. - closed intnt_cartridge_issues
gather only local issues #243 and Add Cartridge issues gauge #144Time since last restart- already present as metrictnt_info_uptime
tnt_read_only
, but needs desing tooThe text was updated successfully, but these errors were encountered: