Skip to content

Reduce boilerplate sprawl for independent release instrumentations#4328

Draft
aabmass wants to merge 1 commit intoopen-telemetry:mainfrom
aabmass:push-rxkunnwlymnz
Draft

Reduce boilerplate sprawl for independent release instrumentations#4328
aabmass wants to merge 1 commit intoopen-telemetry:mainfrom
aabmass:push-rxkunnwlymnz

Conversation

@aabmass
Copy link
Member

@aabmass aabmass commented Mar 11, 2026

Description

Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.

Fixes # (issue)

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?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

  • Test A

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

@aabmass aabmass added the Skip Changelog PRs that do not require a CHANGELOG.md entry label Mar 11, 2026
@aabmass aabmass force-pushed the push-rxkunnwlymnz branch 3 times, most recently from aadffea to 47b07d4 Compare March 11, 2026 21:09
@aabmass aabmass force-pushed the push-rxkunnwlymnz branch from 47b07d4 to a26c3be Compare March 11, 2026 22:17
# RUN `python scripts/generate_instrumentation_bootstrap.py` TO REGENERATE.

libraries = [
{
Copy link
Contributor

Choose a reason for hiding this comment

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

Isn't this a breaking change?

opamp-client-latest: -r {toxinidir}/opamp/opentelemetry-opamp-client/test-requirements.latest.txt
lint-opamp-client: -r {toxinidir}/opamp/opentelemetry-opamp-client/test-requirements.lowest.txt

lint-opamp-client: {toxinidir}/opamp/opentelemetry-opamp-client
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this change on purpose?

@@ -0,0 +1,13 @@
from jinja2 import Environment
Copy link
Contributor

Choose a reason for hiding this comment

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

Added by mistake?

Copy link
Member Author

Choose a reason for hiding this comment

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

Probably from older attempt

return sorted(packages, key=lambda p: p["name"])


def get_independent_release_packages() -> List[str]:
Copy link
Contributor

Choose a reason for hiding this comment

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

We have independently released packages outside genai though and would be great to reuse the same tooling

Comment on lines -19 to -26
{
"library": "openai >= 1.26.0",
"instrumentation": "opentelemetry-instrumentation-openai-v2",
},
{
"library": "google-cloud-aiplatform >= 1.64",
"instrumentation": "opentelemetry-instrumentation-vertexai>=2.0b0",
},
Copy link
Member Author

Choose a reason for hiding this comment

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

This diff shouldn't be here

@@ -0,0 +1,13 @@
from jinja2 import Environment
Copy link
Member Author

Choose a reason for hiding this comment

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

Probably from older attempt

"weaviate-client >= 3.0",
]

[tool.opentelemetry.instrumentation]
Copy link
Member Author

Choose a reason for hiding this comment

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

Lets put the eachdist.ini stuff in here too. That solves the biggest botched release problems

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Skip Changelog PRs that do not require a CHANGELOG.md entry

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants