This repository was archived by the owner on Oct 3, 2023. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -27,12 +27,13 @@ import (
2727 "sort"
2828 "strings"
2929
30+ "go.opencensus.io/resource"
31+
3032 monitoring "cloud.google.com/go/monitoring/apiv3"
3133 commonpb "github.com/census-instrumentation/opencensus-proto/gen-go/agent/common/v1"
3234 metricspb "github.com/census-instrumentation/opencensus-proto/gen-go/metrics/v1"
3335 resourcepb "github.com/census-instrumentation/opencensus-proto/gen-go/resource/v1"
34- "github.com/golang/protobuf/ptypes/timestamp"
35- "go.opencensus.io/resource"
36+ timestamppb "github.com/golang/protobuf/ptypes/timestamp"
3637 distributionpb "google.golang.org/genproto/googleapis/api/distribution"
3738 labelpb "google.golang.org/genproto/googleapis/api/label"
3839 googlemetricpb "google.golang.org/genproto/googleapis/api/metric"
@@ -549,7 +550,7 @@ func hasDomain(name string) bool {
549550 return false
550551}
551552
552- func fromProtoPoint (startTime * timestamp .Timestamp , pt * metricspb.Point ) (* monitoringpb.Point , error ) {
553+ func fromProtoPoint (startTime * timestamppb .Timestamp , pt * metricspb.Point ) (* monitoringpb.Point , error ) {
553554 if pt == nil {
554555 return nil , nil
555556 }
You can’t perform that action at this time.
0 commit comments