Type Definitions
-
MetricValueTypeWrapper
-
Wrapper object to wrap metric value and SFX metadata needed to send metric value to SFX data ingestion.
Type:
- Object
- Source:
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
-
SignalFxEventCategoryId
-
Type:
- string
- Source:
Example
const registry = new SignalFxSelfReportingMetricsRegistry(...); registry.sendEvent('uncaughtException', SignalFxEventCategories.ALERT);