Skip to content

Commit b986dec

Browse files
committed
trace dashboard def
1 parent 850d18c commit b986dec

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

aws_sra_examples/solutions/genai/bedrock_org/lambda/src/sra_cloudwatch.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -444,6 +444,8 @@ def create_dashboard(self, dashboard_name: str, dashboard_body: dict) -> str:
444444
str: ARN of the created dashboard
445445
"""
446446
try:
447+
self.LOGGER.info(f"Creating CloudWatch dashboard {dashboard_name} as: {json.dumps(dashboard_body)}")
448+
self.LOGGER.info({"dashboard json": dashboard_body})
447449
response = self.CLOUDWATCH_CLIENT.put_dashboard(
448450
DashboardName=dashboard_name,
449451
DashboardBody=json.dumps(dashboard_body)

0 commit comments

Comments
 (0)