config

package
v0.0.0-...-43dbc5b Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ClusterDomainKey                      = "cluster-domain"
	ClusterDomainDefault                  = kubeutils.DefaultClusterDomain
	CloudApiAddrKey                       = "api-address"
	CloudApiAddrDefault                   = "https://app.otterize.com/api"
	UploadIntervalSecondsKey              = "upload-interval-seconds"
	UploadIntervalSecondsDefault          = 60
	UploadBatchSizeKey                    = "upload-batch-size"
	UploadBatchSizeDefault                = 500
	ExcludedNamespacesKey                 = "exclude-namespaces"
	OTelEnabledKey                        = "enable-otel-export"
	OTelEnabledDefault                    = false
	OTelMetricKey                         = "otel-metric-name"
	OTelMetricDefault                     = "traces_service_graph_request_total" // same as expected in otel-collector-contrib's servicegraphprocessor
	ExternalTrafficCaptureEnabledKey      = "capture-external-traffic-enabled"
	ExternalTrafficCaptureEnabledDefault  = true
	CreateWebhookCertificateKey           = "create-webhook-certificate"
	CreateWebhookCertificateDefault       = true
	EnableAWSVisibilityWebHookKey         = "enable-aws-visibility-webhook"
	EnableAWSVisibilityWebHookDefault     = false
	DNSCacheItemsMaxCapacityKey           = "dns-cache-items-max-capacity"
	DNSCacheItemsMaxCapacityDefault       = 100000
	DNSClientIntentsUpdateIntervalKey     = "dns-client-intents-update-interval"
	DNSClientIntentsUpdateIntervalDefault = 100 * time.Millisecond
	DNSClientIntentsUpdateEnabledKey      = "dns-client-intents-update-enabled"
	DNSClientIntentsUpdateEnabledDefault  = true
	ServiceCacheTTLDurationKey            = "service-cache-ttl-duration"
	ServiceCacheTTLDurationDefault        = 1 * time.Minute
	ServiceCacheSizeKey                   = "service-cache-size"
	ServiceCacheSizeDefault               = 10000

	EnableIstioCollectionKey                  = "enable-istio-collection"
	EnableIstioCollectionDefault              = false
	IstioRestrictCollectionToNamespace        = "istio-restrict-collection-to-namespace"
	IstioReportIntervalKey                    = "istio-report-interval"
	IstioReportIntervalDefault                = 30 * time.Second
	IstioCooldownIntervalKey                  = "istio-cooldown-interval"
	IstioCooldownIntervalDefault              = 15 * time.Second
	MetricFetchTimeoutKey                     = "istio-metric-fetch-timeout"
	MetricFetchTimeoutDefault                 = 10 * time.Second
	TimeServerHasToLiveBeforeWeTrustItKey     = "time-server-has-to-live-before-we-trust-it"
	TimeServerHasToLiveBeforeWeTrustItDefault = 5 * time.Minute
)

Variables

This section is empty.

Functions

func ExcludedNamespaces

func ExcludedNamespaces() *goset.Set[string]

Types

This section is empty.

Jump to

Keyboard shortcuts

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