Skip to content

Fix interceptors insert tuple -> list#2088

Merged
RobertSamoilescu merged 1 commit into
SeldonIO:masterfrom
lawrence-c:fix-grpc-opentele
Mar 28, 2025
Merged

Fix interceptors insert tuple -> list#2088
RobertSamoilescu merged 1 commit into
SeldonIO:masterfrom
lawrence-c:fix-grpc-opentele

Conversation

@lawrence-c

@lawrence-c lawrence-c commented Mar 24, 2025

Copy link
Copy Markdown
Contributor

Resolves #2028

   kwargs["interceptors"].insert(
AttributeError: 'tuple' object has no attribute 'insert'

Wasn't able to run make test locally, and install dependencies due to TF 2.18.0 no longer supported on intel x86, and make test failing out with a c++ compiler issue :/

Tested separately with

opentelemetry-instrumentation = "0.48b0"
opentelemetry-exporter-otlp-proto-grpc = "1.27.0"

and running

poetry run opentelemetry-instrument --metrics_exporter none --traces_exporter otlp mlserver start some-project/

which successfully works

@CLAassistant

CLAassistant commented Mar 24, 2025

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@lawrence-c lawrence-c changed the title Fix interceptors insert tuple insert Fix interceptors insert tuple -> list Mar 24, 2025
@lawrence-c
lawrence-c marked this pull request as ready for review March 24, 2025 16:51
@lawrence-c

Copy link
Copy Markdown
Contributor Author

@RobertSamoilescu as you previously edited this file in the PR, would you be able to help verify?
Thanks in advance!

@RobertSamoilescu RobertSamoilescu left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM! Thank you for your contribution.

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.

Opentelemetry dependency mismatch

3 participants