Documentation
¶
Index ¶
- func BuildFluentBitLogsURI(dataSourceURL string) string
- func BuildPrometheusRemoteWriteURL(dataSourceURL string) string
- func GetCommands() *core.Commands
- func GetGeneratedCommands() *core.Commands
- func ParseCockpitDataSourceEndpoint(dataSourceURL string) (cockpitDataSourceEndpoint, error)
- func RenderFluentBitConfig(endpoint cockpitDataSourceEndpoint, tokenSecretKey *string) core.RawResult
- func RenderPrometheusRemoteWriteConfig(dataSourceURL string, tokenSecretKey *string) core.RawResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildFluentBitLogsURI ¶ added in v2.56.2
BuildFluentBitLogsURI returns the OpenTelemetry logs URI path for a Cockpit logs data source.
func BuildPrometheusRemoteWriteURL ¶ added in v2.56.1
BuildPrometheusRemoteWriteURL returns the remote_write push URL for a Cockpit metrics data source base URL.
func GetCommands ¶ added in v2.33.0
func GetGeneratedCommands ¶
func ParseCockpitDataSourceEndpoint ¶ added in v2.56.2
ParseCockpitDataSourceEndpoint parses the host and port from a Cockpit data source URL.
func RenderFluentBitConfig ¶ added in v2.56.2
func RenderFluentBitConfig( endpoint cockpitDataSourceEndpoint, tokenSecretKey *string, ) core.RawResult
RenderFluentBitConfig renders a Fluent Bit configuration snippet for stdout.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.