census-instrumentation / opencensus-proto

Language Independent Interface Types For OpenCensus
Apache License 2.0
79 stars 95 forks source link

Update gen-go files. #187

Closed songy23 closed 5 years ago

songy23 commented 5 years ago

Apologies - need to run this first.

icco commented 5 years ago

@songy23 not sure why, but this broke my builds:

../../../../pkg/mod/contrib.go.opencensus.io/exporter/stackdriver@v0.9.1/metrics.go:357:17: metric.GetName undefined (type *"github.com/census-instrumentation/opencensus-proto/gen-go/metrics/v1".Metric has no field or method GetName)
songy23 commented 5 years ago

@icco That's caused by https://github.com/census-instrumentation/opencensus-proto/pull/184 which removed the name field from metric, while opencensus-go-exporter-stackdriver used to depend on an unreleased version with that field. Filed https://github.com/census-ecosystem/opencensus-go-exporter-stackdriver/issues/101 and I'll take a look at it.