Contact Us 1-800-596-4880

Anypoint Custom Metrics Connector Reference

Anypoint Custom Metrics Connector v2.2.0

This is the main class of the extension and provides the entry point from which configurations, connection providers, operations, and sources can be declared.

Configurations


Config

Default configuration.

Parameters

Name Type Description Default Value Required

Name

String

The name for this configuration. Connectors reference the configuration with this name.

x

Operations

Send Custom Metric

<custom-metrics:send>

Parameters

Name Type Description Default Value Required

Metric Name

String

x

Enter contextual information:

Array of Dimension

x

Enter measurements:

Array of Fact

x

Throw runtime exception on validation failure

Boolean

false

Throws

  • CUSTOM-METRICS:INVALID_PARAMETER

Types

The values for Dimension Name and Fact Name cannot contain spaces.

Dimension

Field Type Description Default Value Required

Dimension Name

String

x

Value

String

x

Collapsible

Boolean

true

Fact

Field Type Description Default Value Required

Fact Name

String

x

Value

Number

x

View on GitHub