Skip to content

Commit

Permalink
STAC-21209: log number of relations pushed
Browse files Browse the repository at this point in the history
  • Loading branch information
fvlankvelt committed Apr 29, 2024
1 parent 849ef6c commit 3714512
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions exporter/ststopologyexporter/exporter.go
Original file line number Diff line number Diff line change
Expand Up @@ -164,9 +164,10 @@ func (t *topologyExporter) ConsumeMetrics(ctx context.Context, md pmetric.Metric
if res.StatusCode == 403 {
log.Error("API Key was not valid", zap.Error(err))
}
log.Debug(
fmt.Sprintf("Sent %d components for key ...%s (status %d)",
log.Info(
fmt.Sprintf("Sent %d components, %d relations for key ...%s (status %d)",
len(components),
len(relations),
apiKey[len(apiKey)-4:],
res.StatusCode,
),
Expand Down

0 comments on commit 3714512

Please sign in to comment.