Skip to content

Commit

Permalink
pass res to exporter
Browse files Browse the repository at this point in the history
  • Loading branch information
ktong committed Sep 30, 2022
1 parent aca054b commit 4d95412
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 4d95412

Please sign in to comment.