Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add bedrock and bedrockRuntime support. #826

Merged
merged 7 commits into from
Jul 9, 2024

Conversation

zzhlogin
Copy link
Contributor

@zzhlogin zzhlogin commented Jun 28, 2024

The PR add new RemoteResourceType and RemoteResourceIdentifier for AWS Bedrock and BedrockRuntime services:

"RemoteResourceType": "AWS::Bedrock::Agent"
"RemoteResourceIdentifier": "<agent_id>"

"RemoteResourceType": "AWS::Bedrock::DataSource"
"RemoteResourceIdentifier": "<datasource_id>"

"RemoteResourceType": "AWS::Bedrock::Guardrail"
"RemoteResourceIdentifier": "<guardrail_id>"

"RemoteResourceType": "AWS::Bedrock::KnowledgeBase"
"RemoteResourceIdentifier": "<knowledgeBase_id>"

"RemoteResourceType": "AWS::Bedrock::Model"
"RemoteResourceIdentifier": "<modelId>"

Testing: E2E test performed to confirm trace, metrics are generated:
Traces:

AWS Java SDK V1:
Screenshot 2024-07-08 at 5 02 30 PM
Screenshot 2024-07-08 at 5 03 00 PM
Screenshot 2024-07-08 at 5 04 24 PM
Screenshot 2024-07-08 at 5 05 57 PM

AWS Java SDK V2:
Screenshot 2024-07-08 at 3 56 01 PM
Screenshot 2024-07-08 at 3 57 56 PM
Screenshot 2024-07-08 at 3 59 19 PM
Screenshot 2024-07-08 at 4 00 50 PM
Screenshot 2024-07-08 at 4 02 52 PM
Screenshot 2024-07-08 at 5 46 25 PM

Metrics:
AWS Java SDK V1:
Screenshot 2024-07-08 at 5 17 52 PM
Screenshot 2024-07-08 at 5 22 07 PM
Screenshot 2024-07-08 at 5 48 34 PM
Screenshot 2024-07-08 at 5 53 10 PM

AWS Java SDK V2:
Screenshot 2024-07-08 at 6 08 54 PM
Screenshot 2024-07-08 at 6 09 30 PM
Screenshot 2024-07-08 at 6 12 16 PM

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@zzhlogin zzhlogin requested a review from a team as a code owner June 28, 2024 18:57
@zzhlogin zzhlogin changed the title Add bedrock and bedrockRuntime support (NOT READY). Add bedrock and bedrockRuntime support. Jul 8, 2024
Copy link
Member

@bjrara bjrara left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please update the PR description to reflect the correct changes.

@thpierce thpierce merged commit 2847ea5 into aws-observability:main Jul 9, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants