{"repo":"nodeshift/opossum-prometheus","free":true,"listed":false,"github":"https://github.com/nodeshift/opossum-prometheus","clone":"git clone https://github.com/nodeshift/opossum-prometheus.git","description":"Prometheus metrics for opossum circuit breakers","language":"JavaScript","stars":24,"topics":["circuit-breaker","metrics","opossum","prometheus"],"license":"Apache-2.0","category":"analytics","readme_excerpt":"Prometheus Metrics for Opossum Circuit Breaker This module provides Prometheus metrics for opossum circuit breakers. To use it with your circuit breakers, just pass them in to the PrometheusMetrics constructor. For each circuit breaker, the metrics are: a prometheus counter for each event name a prometheus summary for the events success , failed execution time. Example: This module would typically be used in an application that can provide an endpoint for the Prometheus server to monitor. The prometheusRegistry constructor parameter allows you to provide an existing prom-client registry. The metrics about the circuit will be added to the provided registry instead of the global registry. The default metrics will not be added to the provided registry. Options The PrometheusMetrics constructor takes an options object as detailed below. Name Description Default -------------------------- ------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------------- circuits A list or individual circuit breaker to create metrics for No circuits registry An existing registry to use for prometheus metrics undefined - The default prometheus registry will be used and default system metrics will be collected exposePerformanceMetrics Measure the performance of breakers and report them through the registry true metricPrefix Prefix for circuit breakers metrics name any string","default_branch":null,"files":null,"tree":[],"storefront":"/r/nodeshift","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/nodeshift/opossum-prometheus/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}