Optional
envOptional
meterOverride the default meter provider.
Optional
metricsMetrics to register on startup.
Optional
onCalled when a metric is recorded. addOnRecord
can also be used to add
listeners anytime.
Optional
prefixIf this is set to true then the service name is prefixed to every metric.
Service name is a unique name for an application/service.
Optional
throttleHow much the export should be throttled in milliseconds.
Optional
useDetermines whether to send metrics via XHR or beacon. Defaults to false.
What environment is being deployed (production, staging)