Interfaces · @purista/core

PuristaMetricsRuntimeOptions

Runtime metrics options consumed by PURISTA recorders.

Signature

PuristaMetricsRuntimeOptions.tstypescript
interface PuristaMetricsRuntimeOptions

Examples

example-1.tstypescript
const options: PuristaMetricsRuntimeOptions = {
  defaultAttributes: { 'purista.service.name': 'orders' },
}

Properties

5 entries

defaultAttributes

Property

Source
defaultAttributes.tstypescript
defaultAttributes: PuristaMetricAttributes

enabled

Property

Source
enabled.tstypescript
enabled: boolean

meter

Property

Source
meter.tstypescript
meter: Meter

recordCustomMetrics

Property

Source
recordCustomMetrics.tstypescript
recordCustomMetrics: boolean

recordFrameworkMetrics

Property

Source
recordFrameworkMetrics.tstypescript
recordFrameworkMetrics: boolean