Skip to content

support InvokeModel GenAi instrumentation for additional Bedrock models #3419

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

Merged
merged 13 commits into from
Apr 18, 2025

Conversation

ezhang6811
Copy link
Contributor

Description

This adds gen_ai instrumentation for the following Bedrock model providers:
Cohere Command and Command R, Meta Llama, Mistral AI

refs #3210

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

  • tox -e py310-test-instrumentation-botocore-1

Does This PR Require a Core Repo Change?

  • Yes. - Link to PR:
  • No.

Checklist:

See contributing.md for styleguide, changelog guidelines, and more.

  • Followed the style guidelines of this project
  • Changelogs have been updated
  • Unit tests have been added
  • Documentation has been updated

@ezhang6811 ezhang6811 requested a review from a team as a code owner April 10, 2025 23:02
@xrmx xrmx added the gen-ai Related to generative AI label Apr 11, 2025
@xrmx
Copy link
Contributor

xrmx commented Apr 14, 2025

For reference the tests failure are because tests expects recordings in us-east-1 while these are from us-west-2.

@ezhang6811 ezhang6811 force-pushed the zhaez/gen-ai-support branch from fd2dd9a to 359d156 Compare April 14, 2025 21:58
@xrmx xrmx requested a review from SrdjanLL April 16, 2025 08:19
@xrmx xrmx enabled auto-merge (squash) April 17, 2025 11:33
@xrmx xrmx disabled auto-merge April 17, 2025 11:59
@ezhang6811 ezhang6811 force-pushed the zhaez/gen-ai-support branch from 430710a to 9c88101 Compare April 17, 2025 19:26
@xrmx xrmx enabled auto-merge (squash) April 18, 2025 07:21
auto-merge was automatically disabled April 18, 2025 07:24

Head branch was pushed to by a user without write access

@ezhang6811 ezhang6811 force-pushed the zhaez/gen-ai-support branch from ee7b665 to 70e1308 Compare April 18, 2025 07:24
@ezhang6811 ezhang6811 force-pushed the zhaez/gen-ai-support branch from 70e1308 to ab17f7c Compare April 18, 2025 07:41
@xrmx xrmx merged commit dd15167 into open-telemetry:main Apr 18, 2025
720 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
gen-ai Related to generative AI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants