Files
Damien MathieuandGitHub 4ee7b62100 [chore] split exporterhelper so a separate profiles module can use it (#11215)
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description

This is part of #11131, splitting the exporterhelper module with a new
`internal` submodule that holds everything shared by the signals.
This is so a new `exporterhelperprofiles` module can make use of the
shared structs.
2024-09-19 13:17:38 +02:00

16 lines
422 B
Go

// Copyright The OpenTelemetry Authors
// SPDX-License-Identifier: Apache-2.0
package exporterhelper // import "go.opentelemetry.io/collector/exporter/exporterhelper"
import (
"time"
"go.opentelemetry.io/collector/exporter/exporterhelper/internal"
)
// NewThrottleRetry creates a new throttle retry error.
func NewThrottleRetry(err error, delay time.Duration) error {
return internal.NewThrottleRetry(err, delay)
}