config.go 511 B

1234567891011121314151617
  1. // Copyright The OpenTelemetry Authors
  2. // SPDX-License-Identifier: Apache-2.0 language governing permissions and
  3. // limitations under the License.
  4. package datadogreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/datadogreceiver"
  5. import (
  6. "time"
  7. "go.opentelemetry.io/collector/config/confighttp"
  8. )
  9. type Config struct {
  10. confighttp.HTTPServerSettings `mapstructure:",squash"`
  11. // ReadTimeout of the http server
  12. ReadTimeout time.Duration `mapstructure:"read_timeout"`
  13. }