seatbelt 0.4.2

Resilience and recovery mechanisms for fallible operations.
Documentation
1
2
3
4
5
6
7
8
9
10
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

pub(super) const CIRCUIT_OPENED_EVENT_NAME: &str = "circuit_opened";
pub(super) const CIRCUIT_CLOSED_EVENT_NAME: &str = "circuit_closed";
pub(super) const CIRCUIT_REJECTED_EVENT_NAME: &str = "circuit_rejected";
pub(super) const CIRCUIT_PROBE_EVENT_NAME: &str = "circuit_probe";
pub(super) const CIRCUIT_STATE: &str = "resilience.circuit_breaker.state";
pub(super) const CIRCUIT_PROBE_RESULT: &str = "resilience.circuit_breaker.probe.result";
pub(super) const CIRCUIT_ID: &str = "resilience.circuit_breaker.id";