Global

Type Definitions


MetricValueTypeWrapper

Wrapper object to wrap metric value and SFX metadata needed to send metric value to SFX data ingestion.

Type:
  • Object
Properties:
Name Type Description
metric string

The metric name to report to SignalFx

value number

the value to report to SignalFx

type string

The mapped SignalFx metric type

Source:

SignalFxEventCategoryId

Type:
  • string
Source:
Example
const registry = new SignalFxSelfReportingMetricsRegistry(...);
registry.sendEvent('uncaughtException', SignalFxEventCategories.ALERT);