Skip to contents

Creates a new registry environment for holding counters and histograms collected from securetrace traces.

Usage

prometheus_registry()

Value

An environment of class securetrace_prometheus_registry with $counters and $histograms lists.

Examples

reg <- prometheus_registry()
reg$counters
#> list()
reg$histograms
#> list()