-
Notifications
You must be signed in to change notification settings - Fork 45
Update Cloud Logging Exporter to handle bytes in dict body #407
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
Update Cloud Logging Exporter to handle bytes in dict body #407
Conversation
…rations-python into fix_bytes
opentelemetry-exporter-gcp-logging/src/opentelemetry/exporter/cloud_logging/__init__.py
Outdated
Show resolved
Hide resolved
opentelemetry-exporter-gcp-logging/src/opentelemetry/exporter/cloud_logging/__init__.py
Outdated
Show resolved
Hide resolved
opentelemetry-exporter-gcp-logging/src/opentelemetry/exporter/cloud_logging/__init__.py
Outdated
Show resolved
Hide resolved
opentelemetry-exporter-gcp-logging/src/opentelemetry/exporter/cloud_logging/__init__.py
Outdated
Show resolved
Hide resolved
opentelemetry-exporter-gcp-logging/src/opentelemetry/exporter/cloud_logging/__init__.py
Outdated
Show resolved
Hide resolved
opentelemetry-exporter-gcp-logging/src/opentelemetry/exporter/cloud_logging/__init__.py
Outdated
Show resolved
Hide resolved
opentelemetry-exporter-gcp-logging/src/opentelemetry/exporter/cloud_logging/__init__.py
Outdated
Show resolved
Hide resolved
opentelemetry-exporter-gcp-logging/src/opentelemetry/exporter/cloud_logging/__init__.py
Outdated
Show resolved
Hide resolved
…cloud_logging/__init__.py Co-authored-by: Aaron Abbott <[email protected]>
…cloud_logging/__init__.py Co-authored-by: Aaron Abbott <[email protected]>
|
Aaron importing AnyValue requires updating the otel api/sdk dependencies to 1.3 in dev_constraints.txt, which causes mypy to fail for the metrics exporter because it doesnt't handle the exponential histogram types yet. What's the best way to deal with this ? I could just remove that AnyValue import and put it back to Any import now that i've verified my code passes the type checker ? WDYT ? |
…rations-python into fix_bytes
|
I think this is ready to be merged.. Not sure why the e2e tests still are looking for v1.2 of the API/SDK, it seems they aren't using the version of the dev_constraints.txt file I modified in this PR? |
|
Nevermind figured it out.. Had to update the constraints.txt file |
Fixes #406