traces

package
v0.65.0 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Command = &cli.Command{
	Name:  "traces",
	Usage: "Fetch trace information",
	Description: `
    Fetch trace information. With "get" subcommand, get detailed trace information for the specified trace ID.
    Requests APIs under "/api/v0/traces". See https://mackerel.io/api-docs/entry/traces .
`,
	Commands: []*cli.Command{
		{
			Name:      "get",
			Usage:     "get trace",
			ArgsUsage: "<traceId> [--jq <formula>]",
			Description: `
    Get detailed trace information for the specified trace ID.
    Requests "GET /api/v0/traces/<traceId>". See https://mackerel.io/api-docs/entry/traces#get .
`,
			Action: doTracesGet,
			Flags: []cli.Flag{
				jq.CommandLineFlag,
			},
		},
	},
}

Command is the definition of traces subcommand

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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