Skip to content
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

Add support for OTLP v0.5.0 #1143

Merged
merged 7 commits into from
Sep 30, 2020
Merged

Conversation

codeboten
Copy link
Contributor

@codeboten codeboten commented Sep 22, 2020

Description

Updating the version of OTLP supported to v0.5.0

Fixes #1071

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

Checklist:

  • Followed the style guidelines of this project
  • Changelogs have been updated
  • Unit tests have been added
  • Documentation has been updated

@ocelotl
Copy link
Contributor

ocelotl commented Sep 24, 2020

I am currently working on this, just for the record.

@ocelotl ocelotl closed this Sep 24, 2020
@ocelotl
Copy link
Contributor

ocelotl commented Sep 24, 2020

Closed this PR by accident, reopening.

Update metrics and trace
@ocelotl ocelotl marked this pull request as ready for review September 25, 2020 16:36
@ocelotl ocelotl requested a review from a team September 25, 2020 16:36
@codeboten codeboten changed the title WIP: Add support for OTLP v0.5.0 Add support for OTLP v0.5.0 Sep 25, 2020
Copy link
Contributor Author

@codeboten codeboten left a comment

Choose a reason for hiding this comment

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

Thanks @ocelotl for taking on the work to update the exporter.


if metric_descriptor.type == MetricDescriptor.Type.INT64:
elif isinstance(sdk_metric.instrument, (ValueRecorder)):
logger.warning("Skipping exporting of ValueRecorder metric")
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Added an issue to track the work to support ValueRecorder: #1167

@lzchen lzchen merged commit e50e3a8 into open-telemetry:master Sep 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release:required-for-ga To be resolved before GA release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update OTLP exporter to support v0.5.0
3 participants