package
6.9.1
Repository: https://github.com/launchdarkly/ld-relay.git
Documentation: pkg.go.dev

# Functions

NewManager creates a Manager instance.
WithCount runs a function and records a single-unit increment for the specified metric.
WithGauge increments the specified metric before running the function and then decrements it (for use with the active connection metrics).
WithRouteCount records a route hit and starts a trace.

# Variables

BrowserConns is a Measure representing the current number of active stream connections from browsers.
BrowserRequests is a Measure representing the number of HTTP requests from browsers.
MobileConns is a Measure representing the current number of active stream connections from mobile SDKs.
MobileRequests is a Measure representing the number of HTTP requests from mobile SDKs.
NewBrowserConns is a Measure representing the cumulative number of stream connections from browsers.
NewMobileConns is a Measure representing the cumulative number of stream connections from mobile SDKs.
NewServerConns is a Measure representing the cumulative number of stream connections from server-side SDKs.
ServerConns is a is a Measure representing the current number of active stream connections from server-side SDKs.
ServerRequests is a Measure representing the number of HTTP requests from server-side SDKs.

# Structs

EnvironmentManager controls the metrics exporter activity for a specific LD environment.
Manager is the top-level object that controls all of our metrics exporter activity.
Measure represents one of the types of metrics that can be passed to WithCount, WithGauge, or WithRouteCount.