Skip to content

config.storage/etcd: connection alerts #5646

@mandesero

Description

@mandesero

Related dev. issue(s): https://github.com/tarantool/tarantool-ee/pull/1663

Product: Tarantool Enterprise
Since: 3.7
Root documenst:

SME: @mandesero @georgiy-belyanin

Details

When connectivity to config.etcd or config.storage is lost, Tarantool set a named connection alert.
The alert is reported as warn for a short outage and escalates to error after the reconnect threshold is exceeded.

For etcd, the escalation timeout is reconnect_timeout * reconnect_max_attempts seconds.
With default values, this is 1 * 10 = 10 seconds.

For config storage (tkv), the escalation timeout is reconnect_after * 5 seconds.
For example, with reconnect_after = 1, the alert becomes error after 5 seconds.

The alert is dropped automatically when connectivity is restored.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions