cdk-monitoring-constructs
cdk-monitoring-constructs copied to clipboard
[aws-pinpoint] Add monitoring class and factory for AWS Pinpoint
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 filesPinpointMonitoring.ts
andPinpointMetricFactory.ts
-- following a similar pattern to existing 1P services- Input would be pinpoint
applicationId
- Input would be pinpoint
- 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 should be dimensioned by
- "Metrics related to endpoints"
- "Metrics related to events"
- "Metrics related to message delivery"
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.
Starting with some experiments with Pinpoint to understand what the service is doing and what metrics are available.
I have some work in progress on this, still trying to come up with some reasonable metrics and widgets.