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 MetricMetric Display NameUnitAggregation Type
aws_cognito_signupsuccesses

Provides the total number of successful user registration requests made to the Cognito user pool.
Sign Up SuccessesCountSum
aws_cognito_signupthrottles

Provides the total number of throttled user registration requests made to the Cognito user pool. A count of 1 is published whenever a user registration request is throttled.
Sign Up ThrottlesCountSum
aws_cognito_signinsuccesses

Provides the total number of successful user authentication requests made to the Cognito user pool.
SignIn SuccessesCountSum
aws_cognito_signinthrottles

Provides the total number of throttled user authentication requests made to the Cognito user pool. A count of 1 is published whenever an authentication request is throttled.
SignIn ThrottlesCountSum
aws_cognito_tokenrefreshsuccesses

Provides the total number of successful requests to refresh a Cognito token that were made to the Cognito user pool.
Token Refresh SuccessesCountSum
aws_cognito_tokenrefreshthrottles

Provides the total number of throttled requests to refresh an Amazon Cognito token that were made to the Amazon Cognito user pool.
Token Refresh ThrottlesCountSum