Collection of operational metrics - Serverless Bot Framework

Collection of operational metrics

This solution includes an option to send anonymous operational metrics to AWS. We use this data to better understand how customers use this solution to improve the services and products that we offer. When enabled, the following information is collected and sent to AWS:

  • Solution ID: The AWS solution identifier

  • Unique ID (UUID): Randomly generated, unique identifier for each deployment

  • Timestamp: Data-collection timestamp

  • Region: The AWS Region where this solution is deployed

  • Version: The AWS solution version identifier

  • Action: The action this solution takes (create, update, or delete)

  • Bot Gender: The bot gender (male or female)

  • Bot Language: The language selected

  • Bot Voice: Amazon Polly voice identifier used

  • Total Knowledges: The number of knowledges trained

  • Total Intents: The total number of intents processed

  • Max Intents By Knowledge: The size of the biggest list of intents among all knowledge trained

  • Min Intents By Knowledge: The size of the smallest list of intents among all knowledge trained

  • Average Intents By Knowledge: The average number of intents defined for every knowledge trained

Note that AWS will own the data gathered via this survey. Data collection will be subject to the AWS Privacy Policy. To opt out of this feature, complete one of the following tasks:

a) Modify the AWS CloudFormation template mapping section as follows:

"Send" : { "SendAnonymousUsageData" : { "Data" : "Yes" } },


"Send" : { "SendAnonymousUsageData" : { "Data" : "No" } },


b) After this solution launches, go to the AWS Lambda console, search for the function whose name structure is similar to <stack_name>-TrainModel-<unique_id> and set the SEND_ANONYMOUS_USAGE_DATA environment variable to No. Repeat the same process for <stack_name>-CustomResource-<unique_id> function.