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

[core-tracing] Update to OpenTelemetry 0.6 #7998

Merged
merged 38 commits into from
Apr 23, 2020
Merged

[core-tracing] Update to OpenTelemetry 0.6 #7998

merged 38 commits into from
Apr 23, 2020

Conversation

xirzec
Copy link
Member

@xirzec xirzec commented Mar 25, 2020

This change updates core-tracing to the beta version of OT (0.6.1) in preparation for their GA.

Unfortunately, there are a few breaking changes, so I had to make fixes throughout the code.

This also may impact the min-version we are able to support of core packages due to OperationOptions exporting the SpanOptions type. (/cc @KarishmaGhiya )

Fixes #7079

@xirzec xirzec added Client This issue points to a problem in the data-plane of the library. Azure.Core labels Mar 25, 2020
@xirzec xirzec added this to the [2020] April milestone Mar 25, 2020
@xirzec xirzec self-assigned this Mar 25, 2020
@ramya-rao-a
Copy link
Contributor

Would these require all the affected packages to release an update at the same time? Or can a package that has no other changes wait until it has a significant changes to release? Or should we release all packages at once to keep ourselves sane?

@xirzec
Copy link
Member Author

xirzec commented Mar 25, 2020

From CI I figured out that open telemetry classes don't support ES5 (IE11). Filed open-telemetry/opentelemetry-js#902 and I'm backing out using their noop implementations.

Copy link
Member

@XiaoningLiu XiaoningLiu left a comment

Choose a reason for hiding this comment

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

looks good from storage side

@ramya-rao-a
Copy link
Contributor

cc @richardpark-msft for EH & SB, @jeremymeng. @bterlson for core-http and core-tracing

Copy link
Member

@richardpark-msft richardpark-msft left a comment

Choose a reason for hiding this comment

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

Approving in proxy for AppConfig, EH and ServiceBus (assuming we're going to run all the normal tests).

I saw the conversation you had with @ramya-rao-a about how this is a breaking change but I assume this okay because the entire tracing feature is still considered preview.

(also, just to mention - we'll need to run the live tests for EventHubs and ServiceBus as they don't have unit tests at all).

@xirzec xirzec requested a review from mikeharder as a code owner April 22, 2020 21:21
@xirzec
Copy link
Member Author

xirzec commented Apr 22, 2020

/azp run js - eventhubs-client - tests

@xirzec
Copy link
Member Author

xirzec commented Apr 22, 2020

/azp run js - servicebus - tests

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@xirzec
Copy link
Member Author

xirzec commented Apr 22, 2020

/azp run js - appconfiguration - tests

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

1 similar comment
@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

"@azure/core-http": "^1.0.0",
"@azure/core-tracing": "1.0.0-preview.7",
"@azure/core-http": "^1.1.1",
"@azure/core-tracing": "1.0.0-preview.8",
Copy link
Member

Choose a reason for hiding this comment

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

Note: we are releasing Form Recognizer preview.1 tomorrow. Dependency version update for form recognizer should be in after the release.

Copy link
Member Author

Choose a reason for hiding this comment

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

OK, I will get the all-clear from you before merging this PR then.

@jeremymeng
Copy link
Member

Looks good to me. Just a note about the timing of the form recognizer preview.1 release tomorrow and merging form recognizer dependency update in this PR.

@xirzec
Copy link
Member Author

xirzec commented Apr 22, 2020

/azp run js - eventhubs-client - tests

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Azure.Core Client This issue points to a problem in the data-plane of the library. Storage Storage Service (Queues, Blobs, Files)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

OpenTelemetry types package renaming
8 participants