Documentation ¶
Index ¶
- type Flags
- type Metrics
- func (m Metrics) Args() []string
- func (m Metrics) Cluster() string
- func (m Metrics) DefaultPort() int
- func (m Metrics) Environment() []string
- func (m Metrics) Executable() string
- func (m *Metrics) Init(ctx context.Context, pmmUserPassword string) (*plugin.Info, error)
- func (m Metrics) KV() map[string][]byte
- func (m Metrics) Multiple() bool
- func (m Metrics) Name() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Flags ¶
type Flags struct { DisableTableStats bool DisableTableStatsLimit uint16 DisableUserStats bool DisableBinlogStats bool DisableProcesslist bool }
Flags are Metrics Metrics specific flags.
type Metrics ¶
type Metrics struct {
// contains filtered or unexported fields
}
Metrics implements plugin.Metrics.
func (Metrics) Environment ¶
Environment is a list of additional environment variables passed to exporter executable.
func (Metrics) Executable ¶
Executable is a name of exporter executable under PMMBaseDir.
Click to show internal directories.
Click to hide internal directories.