Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 688 Bytes

opossum-prometheus.circuitbreakermetricsoptions.prefix.md

File metadata and controls

23 lines (15 loc) · 688 Bytes

Home > @iamelevich/opossum-prometheus > CircuitBreakerMetricsOptions > prefix

CircuitBreakerMetricsOptions.prefix property

Prefix for metrics. Will be added to the beginning of metric name if no override provided

Signature:

prefix?: string;

Example

{
  "prefix": "my_service"
}

Will create metrics with name my_service_circuit_breaker_counter and my_service_circuit_breaker_performance