sendingnetwork-bot-sdk
Version:
TypeScript/JavaScript SDK for SDN bots
54 lines (45 loc) • 1.93 kB
text/typescript
/**
* Time-series metric for how long a function call takes on SDNClient. Uses a SDNClientCallContext.
* @category Metrics
*/
export const METRIC_SDN_CLIENT_FUNCTION_CALL = "sdn_client_function_call";
/**
* Counter metric for failed function calls on a SDNClient. Uses a SDNClientCallContext.
* @category Metrics
*/
export const METRIC_SDN_CLIENT_FAILED_FUNCTION_CALL = "sdn_client_failed_function_call";
/**
* Counter metric for successful function calls on a SDNClient. Uses a SDNClientCallContext.
* @category Metrics
*/
export const METRIC_SDN_CLIENT_SUCCESSFUL_FUNCTION_CALL = "sdn_client_successful_function_call";
/**
* Time-series metric for how long a function call takes on an IdentityClient. Uses an IdentityClientCallContext.
* @category Metrics
*/
export const METRIC_IDENTITY_CLIENT_FUNCTION_CALL = "identity_client_function_call";
/**
* Counter metric for failed function calls on an IdentityClient. Uses an IdentityClientCallContext.
* @category Metrics
*/
export const METRIC_IDENTITY_CLIENT_FAILED_FUNCTION_CALL = "identity_client_failed_function_call";
/**
* Counter metric for successful function calls on an IdentityClient. Uses an IdentityClientCallContext.
* @category Metrics
*/
export const METRIC_IDENTITY_CLIENT_SUCCESSFUL_FUNCTION_CALL = "identity_client_successful_function_call";
/**
* Time-series metric for how long a function call takes on an Intent. Uses a IntentCallContext.
* @category Metrics
*/
export const METRIC_INTENT_FUNCTION_CALL = "intent_function_call";
/**
* Counter metric for failed function calls on an Intent. Uses a IntentCallContext.
* @category Metrics
*/
export const METRIC_INTENT_FAILED_FUNCTION_CALL = "intent_failed_function_call";
/**
* Counter metric for successful function calls on an Intent. Uses a IntentCallContext.
* @category Metrics
*/
export const METRIC_INTENT_SUCCESSFUL_FUNCTION_CALL = "intent_successful_function_call";