Monitor Fargate service from outside Stack? #306
-
How can I monitor a Fargate service from an outside stack? I need to import the information, which I am able to do for ex: FargateService.from_fargate_service_arn(...) call on the CDK can look it up, but this returns an IFargateService, but the monitoring is expecting not that, but 'FargateService' instead. Is there any way to make this work? Thanks. |
Beta Was this translation helpful? Give feedback.
Answered by
echeung-amzn
Apr 26, 2023
Replies: 1 comment
-
The implementation currently relies on getting metrics available from the concrete implementation class rather than the interface. If the metrics become available in the interface, we can modify it to accept an |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
echeung-amzn
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The implementation currently relies on getting metrics available from the concrete implementation class rather than the interface.
If the metrics become available in the interface, we can modify it to accept an
IFargateService
(potentially via a change like this one).