commands

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2021 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AggregateIgnoreLabelsFlag = components.StringFlag{
	Name:         "aggregate-ignore-labels",
	Description:  "Comma delimited list of labels to ignore when aggregating metrics. Use 'ALL' or 'NONE' to ignore all or none of the labels.",
	DefaultValue: "start,end,status",
}
View Source
var FileFlag = components.StringFlag{
	Name:        "file",
	Description: "Log file with the open metrics format",
}
View Source
var FilterFlag = components.StringFlag{
	Name:        "filter",
	Description: "Regular expression to use for filtering the metrics",
}
View Source
var IntervalFlag = components.StringFlag{
	Name:         "interval",
	Description:  "Scraping interval in seconds",
	DefaultValue: "5",
}
View Source
var PasswordFlag = components.StringFlag{
	Name:        "password",
	Description: "Password for url requiring authentication (see --user)",
}
View Source
var ServerFlag = components.StringFlag{
	Name:        "server-id",
	Description: "Artifactory server ID to use from JFrog CLI configuration (use default if not set)",
}
View Source
var TokenFlag = components.StringFlag{
	Name:        "token",
	Description: "Access token for url requiring authentication",
}
View Source
var UrlFlag = components.StringFlag{
	Name:        "url",
	Description: "Url endpoint to use to get metrics",
}
View Source
var UserFlag = components.StringFlag{
	Name:        "user",
	Description: "Username for url requiring authentication (see --password)",
}

Functions

func GetGraphCommand

func GetGraphCommand() components.Command

func GetPrintCommand

func GetPrintCommand() components.Command

Types

This section is empty.

Jump to

Keyboard shortcuts

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