Skip to content

Commit

Permalink
[exporter/azuremonitor] Fix CI (#18038)
Browse files Browse the repository at this point in the history
See #14916 (comment)
  • Loading branch information
eedorenko authored Jan 25, 2023
1 parent 75048c3 commit e77c342
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exporter/azuremonitorexporter/metricexporter.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ func (exporter *metricExporter) onMetricData(context context.Context, metricData
scope := scopeMetrics.At(j).Scope()
for k := 0; k < metrics.Len(); k++ {
for _, envelope := range exporter.packer.MetricToEnvelopes(metrics.At(k), resource, scope) {
envelope.IKey = exporter.config.InstrumentationKey
envelope.IKey = string(exporter.config.InstrumentationKey)
exporter.transportChannel.Send(envelope)
}
}
Expand Down

0 comments on commit e77c342

Please sign in to comment.