zipkinreceiverhealthcheckable

package module
v0.118.0-alpha Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2025 License: Apache-2.0 Imports: 21 Imported by: 0

README

zipkinreceiverhealthcheckable

Experiment Forked from opentelemetry opentelemetry-collector-contrib

Combined ZipkinReceiver and Healthcheck extension

Documentation

Overview

Package zipkinreceiverhealthcheckable receives Zipkin traces and has an healthckeck provided.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFactory

func NewFactory() receiver.Factory

NewFactory creates a new Zipkin receiver factory

Types

type Config

type Config struct {
	// Configures the receiver server protocol.
	confighttp.ServerConfig `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"`
}

Config defines configuration for Zipkin receiver.

func (*Config) Validate

func (cfg *Config) Validate() error

Validate checks the receiver configuration is valid

type Endpoint

type Endpoint struct {
	// Pattern specifies the API pattern, as registered by the HTTP handler.
	Pattern string

	// Handler specifies the http.Handler for this endpoint.
	Handler func(http.ResponseWriter, *http.Request)
}

Endpoint specifies an API endpoint definition.

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

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