ports

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GatewayGRPC = 15610

	// GatewayAdminHTTP gateway metrics
	GatewayAdminHTTP = 15690

	// AgentAdminHTTP agent metrics
	AgentAdminHTTP  = 15691
	AgentReloadHTTP = 15692

	// IngesterAdminHTTP ingester metrics
	IngesterAdminHTTP = 15694
)

Variables

This section is empty.

Functions

func FormatHostPort

func FormatHostPort(hostPort string) string

FormatHostPort returns hostPort in a usable format (host:port) if it wasn't already

func GetAddressFromCLIOptions

func GetAddressFromCLIOptions(port int, hostPort string) string

GetAddressFromCLIOptions gets listening address based on port (deprecated flags) or host:port (new flags)

func PortToHostPort

func PortToHostPort(port int) string

PortToHostPort converts the port into a host:port address string

Types

This section is empty.

Jump to

Keyboard shortcuts

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