You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We'd like to avoid the need to redeploy the DashboardStack when a table is added or removed.
Analysis
The DashboardStack references metrics published by TableMetricsLambda, from the TableMetricsStack. It uses these to build a graph of records written in ingest for each table.
We may be able to configure it to generate that graph without needing to know which Sleeper tables exist when the CDK runs. The instance ID and table name are dimensions on the metrics that are used.
We should be able to remove any references to table properties from the CDK module after this, including in the CDK Utils class.
CDK library
It doesn't look like there's currently a way to tell CloudWatch through the CDK to draw a line on a graph for every table name. We're publishing one CloudWatch metric with different values for the instance ID and table name dimension. It looks like in order to separate the metric into different lines on the graph you need to declare individual metrics for each line, and it doesn't look like there's a way to derive that from dimension values.
The text was updated successfully, but these errors were encountered:
Background
This is under a parent issue for better support for many tables:
We've previously made table metrics work across all tables at once:
Description
We'd like to avoid the need to redeploy the DashboardStack when a table is added or removed.
Analysis
The DashboardStack references metrics published by TableMetricsLambda, from the TableMetricsStack. It uses these to build a graph of records written in ingest for each table.
We may be able to configure it to generate that graph without needing to know which Sleeper tables exist when the CDK runs. The instance ID and table name are dimensions on the metrics that are used.
We should be able to remove any references to table properties from the CDK module after this, including in the CDK Utils class.
CDK library
It doesn't look like there's currently a way to tell CloudWatch through the CDK to draw a line on a graph for every table name. We're publishing one CloudWatch metric with different values for the instance ID and table name dimension. It looks like in order to separate the metric into different lines on the graph you need to declare individual metrics for each line, and it doesn't look like there's a way to derive that from dimension values.
The text was updated successfully, but these errors were encountered: