Skip to content

Commit

Permalink
Update pkg/receive/handler_otlp.go
Browse files Browse the repository at this point in the history
Co-authored-by: Matej Gera <[email protected]>
Signed-off-by: Nicolas Takashi <[email protected]>
  • Loading branch information
nicolastakashi and matej-g authored Jan 8, 2025
1 parent 48a7136 commit b7a038e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/receive/handler_otlp.go
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ func (h *Handler) convertToPrometheusFormat(ctx context.Context, pmetrics pmetri
converter := otlptranslator.NewPrometheusConverter()
settings := otlptranslator.Settings{
AddMetricSuffixes: true,
DisableTargetInfo: h.options.OtlpEnableTargetInfo,
DisableTargetInfo: !h.options.OtlpEnableTargetInfo,
PromoteResourceAttributes: h.options.OtlpResourceAttributes,
}

Expand Down

0 comments on commit b7a038e

Please sign in to comment.