-
Notifications
You must be signed in to change notification settings - Fork 822
Anthrophic instrumentation boilerplate #3978
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
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we can remove this file for now
| build-backend = "hatchling.build" | ||
|
|
||
| [project] | ||
| name = "opentelemetry-instrumentation-anthropic" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This package name is already taken by OpenLLMetry: https://pypi.org/project/opentelemetry-instrumentation-anthropic/
Have you been in touch with them about sharing the package with OTel? If not, the approach we've been taking is adding -v2
| "opentelemetry-instrumentation-openai-v2": "", | ||
| "opentelemetry-instrumentation-vertexai": ">=2.0b0", | ||
| "opentelemetry-instrumentation-google-genai": "", | ||
| "opentelemetry-instrumentation-anthropic": "", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add it to packages_to_exclude array above until we have some releases?
| # See the License for the specific language governing permissions and | ||
| # limitations under the License. | ||
|
|
||
| __version__ = "2.1b0.dev" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| __version__ = "2.1b0.dev" | |
| __version__ = "2.0b0.dev" |
Description
This PR has been largely influenced from this PR. Please take a look and provide me feedback if I need to correct or refine it further.
Part of #3949
P.S: LLM assistance was used for clarifying concepts and writing this boilerplate.
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
This is a simple boilerplate and all the relevant tests I added around anthrophic sdk instantiation are passing.
Does This PR Require a Core Repo Change?
Checklist:
See contributing.md for styleguide, changelog guidelines, and more.