// Copyright The OpenTelemetry Authors // SPDX-License-Identifier: Apache-2.0 package zipkinreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/zipkinreceiver" import ( "go.opentelemetry.io/collector/component" "go.opentelemetry.io/collector/config/confighttp" ) // Config defines configuration for Zipkin receiver. type Config struct { // Configures the receiver server protocol. confighttp.HTTPServerSettings `mapstructure:",squash"` // squash ensures fields are correctly decoded in embedded struct // If enabled the zipkin receiver will attempt to parse string tags/binary annotations into int/bool/float. // Disabled by default ParseStringTags bool `mapstructure:"parse_string_tags"` } var _ component.Config = (*Config)(nil) // Validate checks the receiver configuration is valid func (cfg *Config) Validate() error { return nil }