Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PrometheusRegistry ¶
type PrometheusRegistry struct { *prometheus.Registry Name string // metrics WorkflowRunDurationSeconds *prometheus.HistogramVec // contains filtered or unexported fields }
PrometheusRegistry is a wrapper around a prometheus registry that also holds a list of ChainloopCollectors
func NewPrometheusRegistry ¶
func NewPrometheusRegistry(name string, gatherer collector.ChainloopMetricsGatherer, logger log.Logger) *PrometheusRegistry
NewPrometheusRegistry creates a new Prometheus registry with a given ID and collector
Click to show internal directories.
Click to hide internal directories.