-
Notifications
You must be signed in to change notification settings - Fork 63
Upgrade opencensus-proto version to v0.2.0. #490
Upgrade opencensus-proto version to v0.2.0. #490
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
At long last, it has finally been released :) LGTM and thank you @songy23! If you run GO111MODULE=on go mod tidy
it should also remove the old opencensus-proto v0.1.* entry in go.sum
Looks like it removed something else. Could it be due to other indirect dependency on v0.1.0 proto? |
I think it is because of the Prometheus metrics exporter and receiver that were pinned to v0.1.0* |
I've pushed up orijtech/promreceiver@69e7d86 and now going to do the same for the prometheus-metrics-exporter. Once those no longer take that proto dependency, we'll be clear. Obviously this is temporary and will change once they are merged in here when #479 and #481 are merged! |
@songy23 now if you just do |
Also there is a legit failure from the opencensus-proto/gen-go files # github.com/census-instrumentation/opencensus-proto/gen-go/agent/common/v1
../../../../pkg/mod/github.com/census-instrumentation/[email protected]/gen-go/agent/common/v1/common.pb.go:22:11: undefined: proto.ProtoPackageIsVersion3
# github.com/census-instrumentation/opencensus-proto/gen-go/resource/v1
../../../../pkg/mod/github.com/census-instrumentation/[email protected]/gen-go/resource/v1/resource.pb.go:21:11: undefined: proto.ProtoPackageIsVersion3 |
v0.4.0 not found: $ GO111MODULE=on go get github.com/orijtech/[email protected]
go: finding github.com/orijtech/promreceiver v0.4.0
go get github.com/orijtech/[email protected]: unknown revision v0.4.0
Looking |
Hmm, that's odd as I published it 1+ hour ago https://github.com/orijtech/promreceiver/releases/tag/v0.0.4 but perhaps you might need to add |
@songy23 I just noticed, we'll also need to update the opencensus-exporters-{ocagent, stackdriver} |
Seems to be the same issue to golang/protobuf#763. |
3391b6c resolved this. Now we need to update OC-Go Stackdriver exporter (census-ecosystem/opencensus-go-exporter-stackdriver#102) and OC-Agent exporter (census-ecosystem/opencensus-go-exporter-ocagent#48) to use the new oc-proto release. |
Updated. This should be 0.0.4 instead of 0.4.0. |
It still has issues on Travis https://travis-ci.org/census-instrumentation/opencensus-service/builds/505609648#L1012-L1018
|
Roger that @pjanotti! @songy23 if you update with |
d897987
to
b62856d
Compare
Codecov Report
@@ Coverage Diff @@
## master #490 +/- ##
==========================================
- Coverage 57.24% 57.17% -0.08%
==========================================
Files 68 68
Lines 4175 4175
==========================================
- Hits 2390 2387 -3
- Misses 1632 1635 +3
Partials 153 153
Continue to review full report at Codecov.
|
@odeke-em @pjanotti @bogdandrutu All build failures and most test failures are fixed. CI is green now. Follow-up items are tracked in #492. Thanks for the review and help! |
…tation#490)" This reverts commit 392ee4a.
* Upgrade opencensus-proto version to v0.2.0. * Run GO111MODULE=on go mod tidy. * Pin protobuf version to v1.3.0 * Upgrade ocagent and stackdriver exporter versions. * Upgrade promreceiver version. * Upgrade promreceiver and prom-metric-exporter versions. * Fix test failures.
No description provided.