1234567891011121314151617 |
- // Copyright The OpenTelemetry Authors
- // SPDX-License-Identifier: Apache-2.0
- package sapmreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/sapmreceiver"
- import (
- "go.opentelemetry.io/collector/config/confighttp"
- "github.com/open-telemetry/opentelemetry-collector-contrib/internal/splunk"
- )
- // Config defines configuration for SAPM receiver.
- type Config struct {
- confighttp.HTTPServerSettings `mapstructure:",squash"` // squash ensures fields are correctly decoded in embedded struct
- splunk.AccessTokenPassthroughConfig `mapstructure:",squash"`
- }
|