Skip to content

support InvokeModel GenAi instrumentation for additional Bedrock models#3419

Merged
xrmx merged 13 commits intoopen-telemetry:mainfrom
ezhang6811:zhaez/gen-ai-support
Apr 18, 2025
Merged

support InvokeModel GenAi instrumentation for additional Bedrock models#3419
xrmx merged 13 commits intoopen-telemetry:mainfrom
ezhang6811:zhaez/gen-ai-support

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 moved this to Ready for review in Python PR digest Apr 11, 2025
@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.

@xrmx xrmx moved this from Ready for review to Reviewed PR that needs fixing in Python PR digest Apr 14, 2025
@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 moved this from Reviewed PR that needs fixing to Ready for review in Python PR digest Apr 16, 2025
@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
@github-project-automation github-project-automation bot moved this from Ready for review to Done in Python PR digest Apr 18, 2025
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

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants