Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Command = cli.Command{ Name: "metric-names", Usage: "Fetch metric names", ArgsUsage: "[--host | -H <hostId>] [--service | -s <service>] [--jq <formula>]", Description: ` Fetch metric names of 'host metric' or 'service metric'. Requests "/api/v0/hosts/<hostId>/metric-names" or "/api/v0/services/<serviceName>/metric-names". See https://mackerel.io/api-docs/entry/hosts#metric-names, https://mackerel.io/api-docs/entry/services#metric-names `, Action: doMetricNames, Flags: []cli.Flag{ cli.StringFlag{Name: "host, H", Value: "", Usage: "Fetch host metric names of <hostID>."}, cli.StringFlag{Name: "service, s", Value: "", Usage: "Fetch service metric names of <service>."}, jq.CommandLineFlag, }, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.