Skip to content

Commit

Permalink
Fix rebase issues
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitryax committed May 31, 2021
1 parent fbff122 commit a27155f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion obsreport/obsreport_exporter.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,12 @@ func (eor *Exporter) EndMetricsOp(ctx context.Context, numMetricPoints int, err
endSpan(ctx, err, numSent, numFailedToSend, obsmetrics.SentMetricPointsKey, obsmetrics.FailedToSendMetricPointsKey)
}

// StartLogsExportOp is called at the start of an Export operation.
// RecordMetricsEnqueueFailure records number of metric points that failed to be added to the sending queue.
func (eor *Exporter) RecordMetricsEnqueueFailure(ctx context.Context, numMetricPoints int) {
_ = stats.RecordWithTags(ctx, eor.mutators, obsmetrics.ExporterFailedToEnqueueMetricPoints.M(int64(numMetricPoints)))
}

// StartLogsOp is called at the start of an Export operation.
// The returned context should be used in other calls to the Exporter functions
// dealing with the same export operation.
func (eor *Exporter) StartLogsOp(ctx context.Context) context.Context {
Expand Down

0 comments on commit a27155f

Please sign in to comment.