Skip to content

Commit

Permalink
Merge branch 'main' into rm-res-provider
Browse files Browse the repository at this point in the history
  • Loading branch information
MrAlias committed Oct 2, 2022
2 parents fd4827f + efdbe5a commit 5125880
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bridge/opencensus/metric.go
Expand Up @@ -40,7 +40,7 @@ type exporter struct {
// NewMetricExporter returns an OpenCensus exporter that exports to an
// OpenTelemetry exporter.
func NewMetricExporter(base metric.Exporter, res *resource.Resource) metricexport.Exporter {
return &exporter{base: base}
return &exporter{base: base, res: res}
}

// ExportMetrics implements the OpenCensus metric Exporter interface by sending
Expand Down

0 comments on commit 5125880

Please sign in to comment.