2개 답변
- 최신
- 최다 투표
- 가장 많은 댓글
2
We can do it by setting up CloudTrail and logging CodeWhisperer Data events. The userIdentity and onbehalfof fields hold the IAM id.
If there is someone else looking for this solution, this seems to work:
- Set up CloudTrail and attach CodeWhisperer Data events to it.
- Found the event tracked by CloudTrail, which includes the user's ID in IAM (IdentityCenterUser.onBehalfOf.userId). There are plenty of other variables available as well.
- Query event data using Lake and then pass it to a Lambda function to do what we need.
답변함 4달 전
0
HI,
AFAIK, there is nothing at individual level. You can only get aggregate metrics across your org.
The list of global metrics is here: https://docs.aws.amazon.com/codewhisperer/latest/userguide/monitoring-cloudwatch.html
Best,
Didier
관련 콘텐츠
- AWS 공식업데이트됨 2년 전
Thanks.
I was looking for a way to track logins and match usage. To us, it would be important to track the actual usage, not necessarily the prompts or responses but other metrics.