cdk-monitoring-constructs icon indicating copy to clipboard operation
cdk-monitoring-constructs copied to clipboard

[aws-pinpoint] Add monitoring class and factory for AWS Pinpoint

Open christophercarney opened this issue 2 years ago • 3 comments

Feature scope

pinpoint

Describe your suggested feature

AWS Pinpoint is a managed marketing service https://aws.amazon.com/pinpoint/ commonly used for things like email and push notifications.

Pinpoint has the list of metrics which they publish here: https://docs.aws.amazon.com/pinpoint/latest/userguide/monitoring-metrics.html

Proposal:

  • Create a sub package aws-pinpoint with files PinpointMonitoring.ts and PinpointMetricFactory.ts -- following a similar pattern to existing 1P services
    • Input would be pinpoint applicationId
  • Add widgets for some of the metrics in the documentation above my recommendation for initial scope
    • "Metrics related to message delivery"
      • Metrics should be dimensioned by channel from Pinpoint (e.g., PUSH, EMAIL)
    • "Metrics related to endpoints"
    • "Metrics related to events"

christophercarney avatar Jul 20 '22 15:07 christophercarney

Reading the docs: https://docs.aws.amazon.com/cdk/api/v1/docs/aws-pinpoint-readme.html

There are no hand-written (L2) constructs for this service yet. However, you can still use the automatically generated L1 constructs, and use this service exactly as you would using CloudFormation directly.

This means we will implement the metrics by hand and the input will be identifier-based, not construct based.

voho avatar Jul 27 '22 12:07 voho

Starting with some experiments with Pinpoint to understand what the service is doing and what metrics are available.

voho avatar Aug 12 '22 06:08 voho

I have some work in progress on this, still trying to come up with some reasonable metrics and widgets.

voho avatar Aug 23 '22 15:08 voho