-
Notifications
You must be signed in to change notification settings - Fork 79
Upgrade oc-proto version and fix errors. #102
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.
LGTM and thank you @songy23!
Seems this also depends on census-ecosystem/opencensus-go-exporter-ocagent#48. |
@@ -363,7 +363,7 @@ func labelDescriptorsFromProto(defaults map[string]labelValue, protoLabelKeys [] | |||
} | |||
|
|||
func metricProseFromProto(metric *metricspb.Metric) (name, description, unit string, ok bool) { |
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.
This function name looks like a typo
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.
Is this change going to go live any time soon? It's currently breaking our builds |
Hope so, @songy23 are you going to fix this? |
Yes, as soon as census-ecosystem/opencensus-go-exporter-ocagent#48 is submitted I should be able to submit this PR. Meanwhile a quick fix is to pin a released version of |
@songy23 please update ocagent-exporter to https://github.com/census-ecosystem/opencensus-go-exporter-ocagent/releases/tag/v0.4.7 in here, do the |
@@ -55,6 +56,7 @@ github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1 h1:EGx4pi6eqNxGa | |||
github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1/go.mod h1:wJfORRmW1u3UXTncJ5qlYoELFm8eSnnEO6hX4iZ3EWY= | |||
github.com/gregjones/httpcache v0.0.0-20180305231024-9cad4c3443a7/go.mod h1:FecbI9+v66THATjSRHfNgh1IVFe/9kFxbXtjV0ctIMA= | |||
github.com/grpc-ecosystem/grpc-gateway v1.5.0/go.mod h1:RSKVYQBd5MCa4OVpNdGskqpgL2+G+NZTnrVHpWWfpdw= |
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.
Did you remember to run GO111MODULE=on go mod tidy
? This change should have disappeared.
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.
Yes, I guess there're other dependencies that depend on it?
@songy23 just a few more
keep going champ! |
Thanks, that was fixed. I'll submit it once CI is green. A price paid for making breaking changes... |
Fixes #101.