Skip to content
This repository has been archived by the owner on Jul 31, 2023. It is now read-only.

Exemplar: Restore previous package to avoid breaking downstream. #1071

Merged
merged 1 commit into from
Mar 19, 2019

Conversation

songy23
Copy link
Contributor

@songy23 songy23 commented Mar 19, 2019

Only restored minimal files and marked them as deprecated.

@songy23 songy23 requested review from bogdandrutu and rghetia March 19, 2019 16:22
@songy23 songy23 requested review from rakyll and a team as code owners March 19, 2019 16:22
// Their purpose it to provide an example of the kind of thing
// (request, RPC, trace span, etc.) that resulted in that measurement.
//
// Deprecated: Use go.opencensus.io/metric/metricdata instead.
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Please import go.opencensus.io/metric/metricdata for migration.

@rghetia
Copy link
Contributor

rghetia commented Mar 19, 2019

Is the goal here to simply not break the downstream builds? None of the content is actually used in the core library.

@songy23
Copy link
Contributor Author

songy23 commented Mar 19, 2019

Is the goal here to simply not break the downstream builds? None of the content is actually used in the core library.

Yes, if downstream always depends on mainline and imports "go.opencensus.io/exemplar", the previous PR will break their build. Per https://github.com/census-instrumentation/opencensus-go#deprecation-policy we should leave time for downstream to update their dependencies.

@songy23 songy23 merged commit ebb7978 into census-instrumentation:master Mar 19, 2019
@songy23 songy23 deleted the exemplar-deprecation branch March 19, 2019 18:22
songy23 added a commit that referenced this pull request Apr 3, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants