Skip to content

Commit

Permalink
address linter
Browse files Browse the repository at this point in the history
  • Loading branch information
dashpole committed Oct 3, 2023
1 parent fd8a3ba commit a515ff9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bridge/opencensus/metric.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ func NewMetricProducer(opts ...MetricOption) *MetricProducer {

var _ metric.Producer = (*MetricProducer)(nil)

// Produce implements metric.Producer by fetching metrics from the OpenCensus
// manager, translating them to OpenTelemetry's data model, and returning them.
func (p *MetricProducer) Produce(context.Context) ([]metricdata.ScopeMetrics, error) {
producers := p.manager.GetAll()
data := []*ocmetricdata.Metric{}
Expand Down

0 comments on commit a515ff9

Please sign in to comment.