config

package
v0.0.0-...-a7576c3 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrorMissingAzureBlobAccountName   = errors.New("missing Azure Blob Account Name")
	ErrorMissingAzureBlobContainerName = errors.New("missing Azure Blob Container Name")
)
View Source
var (
	ErrDynatraceURLNotSpecified      = fmt.Errorf("Dynatrace url  not specified")
	ErrDynatraceAPITOKENNotSpecified = fmt.Errorf("Api token not specified")
)
View Source
var (
	ErrorJaegerTracingDisabled = errors.New("attempting to configure Jaeger tracing, but tracing is disabled")
	ErrorJaegerMissingURL      = errors.New("missing Jaeger JAEGER_URL config")
	ErrorJaegerNoTls           = errors.New("jaeger destination only supports non tls connections")
)
View Source
var (
	ErrS3BucketNotSpecified = fmt.Errorf("s3 bucket not specified")
	ErrS3RegionNotSpecified = fmt.Errorf("s3 region not specified")
)
View Source
var (
	ErrorChronosphereMissingURL = errors.New("missing CHRONOSPHERE_DOMAIN config")
)
View Source
var (
	ErrorCoralogixNoSignals = errors.New("coralogix destination does not have any signals to export")
)
View Source
var ErrorHoneycombTracingDisabled = errors.New("attempting to configure Honeycomb tracing, but tracing is disabled")

Functions

func Calculate

func Calculate(dests *odigosv1.DestinationList, processors *odigosv1.ProcessorList, memoryLimiterConfig commonconf.GenericMap) (string, error)

Types

type AWSS3

type AWSS3 struct{}

func (*AWSS3) DestType

func (s *AWSS3) DestType() common.DestinationType

func (*AWSS3) ModifyConfig

func (s *AWSS3) ModifyConfig(dest *odigosv1.Destination, currentConfig *commonconf.Config)

type Axiom

type Axiom struct{}

func (*Axiom) DestType

func (a *Axiom) DestType() common.DestinationType

func (*Axiom) ModifyConfig

func (a *Axiom) ModifyConfig(dest *odigosv1.Destination, currentConfig *commonconf.Config)

type AzureBlobStorage

type AzureBlobStorage struct{}

func (*AzureBlobStorage) DestType

func (a *AzureBlobStorage) DestType() common.DestinationType

func (*AzureBlobStorage) ModifyConfig

func (a *AzureBlobStorage) ModifyConfig(dest *odigosv1.Destination, currentConfig *commonconf.Config)

type Chronosphere

type Chronosphere struct{}

func (*Chronosphere) DestType

func (c *Chronosphere) DestType() common.DestinationType

func (*Chronosphere) ModifyConfig

func (c *Chronosphere) ModifyConfig(dest *odigosv1.Destination, currentConfig *commonconf.Config)

type Configer

type Configer interface {
	DestType() common.DestinationType
	ModifyConfig(dest *odigosv1.Destination, currentConfig *commonconf.Config)
}

type Coralogix

type Coralogix struct{}

func (*Coralogix) DestType

func (c *Coralogix) DestType() common.DestinationType

func (*Coralogix) ModifyConfig

func (c *Coralogix) ModifyConfig(dest *odigosv1.Destination, currentConfig *commonconf.Config)

type Datadog

type Datadog struct{}

func (*Datadog) DestType

func (d *Datadog) DestType() common.DestinationType

func (*Datadog) ModifyConfig

func (d *Datadog) ModifyConfig(dest *odigosv1.Destination, currentConfig *commonconf.Config)

type Dynatrace

type Dynatrace struct{}

func (*Dynatrace) DestType

func (n *Dynatrace) DestType() common.DestinationType

func (*Dynatrace) ModifyConfig

func (n *Dynatrace) ModifyConfig(dest *odigosv1.Destination, currentConfig *commonconf.Config)

type ElasticAPM

type ElasticAPM struct{}

func (*ElasticAPM) DestType

func (e *ElasticAPM) DestType() common.DestinationType

func (*ElasticAPM) ModifyConfig

func (e *ElasticAPM) ModifyConfig(dest *odigosv1.Destination, currentConfig *commonconf.Config)

type Elasticsearch

type Elasticsearch struct{}

func (*Elasticsearch) DestType

func (e *Elasticsearch) DestType() common.DestinationType

func (*Elasticsearch) ModifyConfig

func (e *Elasticsearch) ModifyConfig(dest *odigosv1.Destination, currentConfig *commonconf.Config)

func (*Elasticsearch) SanitizeURL

func (e *Elasticsearch) SanitizeURL(URL string) (string, error)

SanitizeURL will check whether URL is correct by utilizing url.ParseRequestURI if the said URL has not defined any port, 9200 will be used in order to keep the backward compatibility with current configuration

type GenericOTLP

type GenericOTLP struct{}

func (*GenericOTLP) DestType

func (g *GenericOTLP) DestType() common.DestinationType

func (*GenericOTLP) ModifyConfig

func (g *GenericOTLP) ModifyConfig(dest *odigosv1.Destination, currentConfig *commonconf.Config)

type GoogleCloud

type GoogleCloud struct{}

func (*GoogleCloud) DestType

func (g *GoogleCloud) DestType() common.DestinationType

func (*GoogleCloud) ModifyConfig

func (g *GoogleCloud) ModifyConfig(dest *odigosv1.Destination, currentConfig *commonconf.Config)

type GoogleCloudStorage

type GoogleCloudStorage struct{}

func (*GoogleCloudStorage) DestType

func (*GoogleCloudStorage) ModifyConfig

func (g *GoogleCloudStorage) ModifyConfig(dest *odigosv1.Destination, currentConfig *commonconf.Config)

type GrafanaCloudLoki

type GrafanaCloudLoki struct{}

func (*GrafanaCloudLoki) DestType

func (g *GrafanaCloudLoki) DestType() common.DestinationType

func (*GrafanaCloudLoki) ModifyConfig

func (g *GrafanaCloudLoki) ModifyConfig(dest *odigosv1.Destination, currentConfig *commonconf.Config)

type GrafanaCloudPrometheus

type GrafanaCloudPrometheus struct{}

func (*GrafanaCloudPrometheus) DestType

func (*GrafanaCloudPrometheus) ModifyConfig

func (g *GrafanaCloudPrometheus) ModifyConfig(dest *odigosv1.Destination, currentConfig *commonconf.Config)

type GrafanaCloudTempo

type GrafanaCloudTempo struct{}

func (*GrafanaCloudTempo) DestType

func (*GrafanaCloudTempo) ModifyConfig

func (g *GrafanaCloudTempo) ModifyConfig(dest *odigosv1.Destination, currentConfig *commonconf.Config)

type Honeycomb

type Honeycomb struct{}

func (*Honeycomb) DestType

func (h *Honeycomb) DestType() common.DestinationType

func (*Honeycomb) ModifyConfig

func (h *Honeycomb) ModifyConfig(dest *odigosv1.Destination, currentConfig *commonconf.Config)

type Jaeger

type Jaeger struct{}

func (*Jaeger) DestType

func (j *Jaeger) DestType() common.DestinationType

func (*Jaeger) ModifyConfig

func (j *Jaeger) ModifyConfig(dest *odigosv1.Destination, currentConfig *commonconf.Config)

type Lightstep

type Lightstep struct{}

func (*Lightstep) DestType

func (l *Lightstep) DestType() common.DestinationType

func (*Lightstep) ModifyConfig

func (l *Lightstep) ModifyConfig(dest *odigosv1.Destination, currentConfig *commonconf.Config)

type Logzio

type Logzio struct{}

func (*Logzio) DestType

func (l *Logzio) DestType() common.DestinationType

func (*Logzio) GetListenerUrl

func (l *Logzio) GetListenerUrl(region string) string

GetListenerUrl Generates logzio listener url based on aws region

func (*Logzio) ModifyConfig

func (l *Logzio) ModifyConfig(dest *odigosv1.Destination, currentConfig *commonconf.Config)

type Loki

type Loki struct{}

func (*Loki) DestType

func (l *Loki) DestType() common.DestinationType

func (*Loki) ModifyConfig

func (l *Loki) ModifyConfig(dest *odigosv1.Destination, currentConfig *commonconf.Config)

type Middleware

type Middleware struct{}

func (*Middleware) DestType

func (m *Middleware) DestType() common.DestinationType

func (*Middleware) ModifyConfig

func (m *Middleware) ModifyConfig(dest *odigosv1.Destination, currentConfig *commonconf.Config)

type NewRelic

type NewRelic struct{}

func (*NewRelic) DestType

func (n *NewRelic) DestType() common.DestinationType

func (*NewRelic) ModifyConfig

func (n *NewRelic) ModifyConfig(dest *odigosv1.Destination, currentConfig *commonconf.Config)

type OTLPHttp

type OTLPHttp struct{}

func (*OTLPHttp) DestType

func (g *OTLPHttp) DestType() common.DestinationType

func (*OTLPHttp) ModifyConfig

func (g *OTLPHttp) ModifyConfig(dest *odigosv1.Destination, currentConfig *commonconf.Config)

type OpsVerse

type OpsVerse struct{}

func (*OpsVerse) DestType

func (g *OpsVerse) DestType() common.DestinationType

func (*OpsVerse) ModifyConfig

func (g *OpsVerse) ModifyConfig(dest *odigosv1.Destination, currentConfig *commonconf.Config)

type Prometheus

type Prometheus struct{}

func (*Prometheus) DestType

func (p *Prometheus) DestType() common.DestinationType

func (*Prometheus) ModifyConfig

func (p *Prometheus) ModifyConfig(dest *odigosv1.Destination, currentConfig *commonconf.Config)

type Qryn

type Qryn struct{}

func (*Qryn) DestType

func (g *Qryn) DestType() common.DestinationType

func (*Qryn) ModifyConfig

func (g *Qryn) ModifyConfig(dest *odigosv1.Destination, currentConfig *commonconf.Config)

type Quickwit

type Quickwit struct{}

func (*Quickwit) DestType

func (e *Quickwit) DestType() common.DestinationType

func (*Quickwit) ModifyConfig

func (e *Quickwit) ModifyConfig(dest *odigosv1.Destination, currentConfig *commonconf.Config)

type Sentry

type Sentry struct{}

func (*Sentry) DestType

func (s *Sentry) DestType() common.DestinationType

func (*Sentry) ModifyConfig

func (s *Sentry) ModifyConfig(dest *odigosv1.Destination, currentConfig *commonconf.Config)

type Signoz

type Signoz struct{}

func (*Signoz) DestType

func (s *Signoz) DestType() common.DestinationType

func (*Signoz) ModifyConfig

func (s *Signoz) ModifyConfig(dest *odigosv1.Destination, currentConfig *commonconf.Config)

type Splunk

type Splunk struct{}

func (*Splunk) DestType

func (s *Splunk) DestType() common.DestinationType

func (*Splunk) ModifyConfig

func (s *Splunk) ModifyConfig(dest *odigosv1.Destination, currentConfig *commonconf.Config)

type SumoLogic

type SumoLogic struct{}

func (*SumoLogic) DestType

func (s *SumoLogic) DestType() common.DestinationType

func (*SumoLogic) ModifyConfig

func (s *SumoLogic) ModifyConfig(dest *odigosv1.Destination, currentConfig *commonconf.Config)

type Tempo

type Tempo struct{}

func (*Tempo) DestType

func (t *Tempo) DestType() common.DestinationType

func (*Tempo) ModifyConfig

func (t *Tempo) ModifyConfig(dest *odigosv1.Destination, currentConfig *commonconf.Config)

Jump to

Keyboard shortcuts

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