Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // SamplingRatePerMillion is the number of samples to collect per million spans. // +optional // +kubebuilder:example=100000 SamplingRatePerMillion int `json:"samplingRatePerMillion,omitempty"` // TracingCollector defines the external endpoint for tracing data collection. // Endpoints are specified as full URLs, or as plain URL schemes which then // imply scheme-specific defaults. The supported schemes and their default // URLs are: // - otlp-http, http: localhost:4318 // - otlp-grpc, grpc: localhost:4317 // +optional // +kubebuilder:example="otlp-http://localhost:4318" TracingCollector string `json:"tracingCollector,omitempty"` // ReportPeriod is the interval between collecting polled metrics. // +optional // +kubebuilder:validation:Format="duration" // +kubebuilder:default="30s" ReportPeriod metav1.Duration `json:"reportPeriod,omitempty"` // HTTPEndpoint is the address our HTTP server listens on. This endpoint is used // to expose Prometheus metrics among other things. // +optional // +kubebuilder:example=":8891" HTTPEndpoint string `json:"httpEndpoint,omitempty"` // PrometheusExport enables exporting /metrics for Prometheus. // +optional PrometheusExport bool `json:"prometheusExport,omitempty"` // Metrics defines which metrics to collect. // +kubebuilder:default={"enabled": {"policy", "buildinfo"}} Metrics *metrics.Config `json:"metrics,omitempty"` }
Config provides runtime configuration for instrumentation. +k8s:deepcopy-gen=true
func (*Config) DeepCopy ¶ added in v0.8.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Config.
func (*Config) DeepCopyInto ¶ added in v0.8.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
Click to show internal directories.
Click to hide internal directories.