forked from open-telemetry/opentelemetry-collector-contrib
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.go
21 lines (16 loc) · 759 Bytes
/
config.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Copyright The OpenTelemetry Authors
// SPDX-License-Identifier: Apache-2.0
package awsxrayreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/awsxrayreceiver"
import (
"go.opentelemetry.io/collector/config/confignet"
"github.com/open-telemetry/opentelemetry-collector-contrib/internal/aws/proxy"
)
// Config defines the configurations for an AWS X-Ray receiver.
type Config struct {
// The `NetAddr` represents the UDP address
// and port on which this receiver listens for X-Ray segment documents
// emitted by the X-Ray SDK.
confignet.AddrConfig `mapstructure:",squash"`
// ProxyServer defines configurations related to the local TCP proxy server.
ProxyServer *proxy.Config `mapstructure:"proxy_server"`
}