sapmreceiver

package module
v0.99.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 22, 2024 License: Apache-2.0 Imports: 22 Imported by: 11

README

SAPM Receiver

Status
Stability beta: traces
Distributions contrib
Issues Open issues Closed issues
Code Owners @atoulme

The SAPM receiver builds on the Jaeger proto. This allows the collector to receive traces from other collectors or the SignalFx Smart Agent. SAPM proto and some useful related utilities can be found here.

Configuration

The following settings are required:

  • endpoint (default = 0.0.0.0:7276): Address and port that the SAPM receiver should bind to. The component.UseLocalHostAsDefaultHost feature gate changes this to localhost:7276. This will become the default in a future release.

The following setting are optional:

  • access_token_passthrough: (default = false) Whether to preserve incoming access token (X-Sf-Token header value) as "com.splunk.signalfx.access_token" trace resource attribute. Can be used in tandem with identical configuration option for SAPM exporter to preserve trace origin.
  • tls_settings (no default): This is an optional object used to specify if TLS should be used for incoming connections.
    • cert_file: Specifies the certificate file to use for TLS connection. Note: Both key_file and cert_file are required for TLS connection.
    • key_file: Specifies the key file to use for TLS connection. Note: Both key_file and cert_file are required for TLS connection.

Example:

receivers:
  sapm:
    endpoint: localhost:7276
    access_token_passthrough: true
    tls:
      cert_file: /test.crt
      key_file: /test.key

The full list of settings exposed for this receiver are documented here with detailed sample configurations here.

Documentation

Overview

Package sapmreceiver implements a receiver that can be used by the Opentelemetry collector to receive traces in the Splunk SAPM format.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFactory added in v0.7.0

func NewFactory() receiver.Factory

NewFactory creates a factory for SAPM receiver.

Types

type Config

type Config struct {
	confighttp.ServerConfig `mapstructure:",squash"` // squash ensures fields are correctly decoded in embedded struct

	splunk.AccessTokenPassthroughConfig `mapstructure:",squash"`
}

Config defines configuration for SAPM receiver.

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL