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 reporting aggregated metrics. // +optional // +kubebuilder:validation:Format="duration" 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"` }
Config provides runtime configuration for instrumentation.
Click to show internal directories.
Click to hide internal directories.