Amazon Cognito provides authentication, authorization, and user management for your web and mobile apps. Your users can login directly with a username and password, or through a third party such as Facebook, Amazon, Google or Apple.

Use OpsRamp AWS Public Cloud Integration to discover and collect metrics against AWS Cognito.

External reference

Amazon Cognito

Setup

To set up the AWS integration and discover the Cognito resources, do the following:

  1. Create an AWS Integration if not available in your installed integrations. For more information on how to install the AWS Integration, refer to AWS Resources.

  2. Create a discovery profile. For more information on discovery profiles, refer to Create Discovery Profile.

  3. Select Cognito User Pool and Cognito User Pool Client in the AWS Integration Discovery Profile.

    AWS Integration Discovery Profile

    AWS Integration Discovery Profile

  4. Save the discovery profile to make them available in the list of Discovery Profiles.

  5. Scan to discover the resources at any time independent of the predefined schedule.

  6. Once the scan is completed, you are able to view the Cognito resources under Infrastructure > Resources > AWS category.

Event support

CloudTrail Event support

  • Not Supported

CloudWatch Alarm support

  • Not Supported

Supported metrics

OpsRamp MetricAWS MetricMetric Display NameUnitAggregation TypeDescription
aws_cognito_signupsuccessesSignUpSuccessesSign Up SuccessesCountAverageProvides the total number of successful user registration requests made to the Amazon Cognito user pool.
aws_cognito_signupthrottlesSignUpThrottlesSign Up ThrottlesCountSumProvides the total number of throttled user registration requests made to the Amazon Cognito user pool. A count of 1 is published whenever a user registration request is throttled.
aws_cognito_signinsuccessesSignInSuccessesSign In SuccessesCountAverageProvides the total number of successful user authentication requests made to the Amazon Cognito user pool.
aws_cognito_signinthrottlesSignInThrottlesSign In ThrottlesCountSumProvides the total number of throttled user authentication requests made to the Amazon Cognito user pool. A count of 1 is published whenever an authentication request is throttled.
aws_cognito_tokenrefreshsuccessesTokenRefreshSuccessesToken Refresh SuccessesCountAverageProvides the total number of successful requests to refresh an Amazon Cognito token that were made to the Amazon Cognito user pool.
aws_cognito_tokenrefreshthrottlesTokenRefreshThrottlesToken Refresh ThrottlesCountSumProvides the total number of throttled requests to refresh an Amazon Cognito token that were made to the Amazon Cognito user pool. A count of 1 is published whenever a refresh Amazon Cognito token request is throttled.