metrics

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Copyright 2020 MongoDB Inc

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Index

Constants

View Source
const (
	ProcessMeasurements = "Get measurements for a given host."
	Disks               = "List available disks or disks measurements for a given host."
	ListDisks           = "List available disks for a given host."
	DescribeDisks       = "Describe disks measurements for a given host partition."
	Databases           = "List available databases or databases measurements for a given host."

	ListDatabases = "List available databases for a given host."
	Metrics       = "Get measurements on the state of the MongoDB process."
)

Variables

This section is empty.

Functions

func Builder

func Builder() *cobra.Command

func DatabasesBuilder

func DatabasesBuilder() *cobra.Command

func DatabasesDescribeBuilder added in v1.4.1

func DatabasesDescribeBuilder() *cobra.Command

mcli om metric(s) disk(s) describe <hostId:port> <name> --granularity g --period p --start start --end end [--type type] [--projectId projectId]

func DatabasesListBuilder

func DatabasesListBuilder() *cobra.Command

mongocli om metric(s) process(es) disks lists <HOST_ID>

func DisksBuilder

func DisksBuilder() *cobra.Command

func DisksDescribeBuilder

func DisksDescribeBuilder() *cobra.Command

mcli om metric(s) disk(s) describe <hostId:port> <name> --granularity g --period p --start start --end end [--type type] [--projectId projectId]

func DisksListBuilder

func DisksListBuilder() *cobra.Command

mongocli om metric(s) process(es) disks lists <ID>

func ProcessBuilder

func ProcessBuilder() *cobra.Command

mongocli om|cm metric(s) process(es) <ID> [--granularity granularity] [--period period] [--start start] [--end end] [--type type][--projectId projectId]

Types

type DatabasesDescribeOpts added in v1.4.1

type DatabasesDescribeOpts struct {
	cli.GlobalOpts
	cli.OutputOpts
	cli.MetricsOpts
	// contains filtered or unexported fields
}

func (*DatabasesDescribeOpts) Run added in v1.4.1

func (opts *DatabasesDescribeOpts) Run() error

type DatabasesListsOpts

type DatabasesListsOpts struct {
	cli.GlobalOpts
	cli.OutputOpts
	cli.ListOpts
	// contains filtered or unexported fields
}

func (*DatabasesListsOpts) Run

func (opts *DatabasesListsOpts) Run() error

type DisksDescribeOpts

type DisksDescribeOpts struct {
	cli.GlobalOpts
	cli.OutputOpts
	cli.MetricsOpts
	// contains filtered or unexported fields
}

func (*DisksDescribeOpts) Run

func (opts *DisksDescribeOpts) Run() error

type DisksListsOpts

type DisksListsOpts struct {
	cli.GlobalOpts
	cli.OutputOpts
	cli.ListOpts
	// contains filtered or unexported fields
}

func (*DisksListsOpts) Run

func (opts *DisksListsOpts) Run() error

type ProcessOpts

type ProcessOpts struct {
	cli.GlobalOpts
	cli.OutputOpts
	cli.MetricsOpts
	// contains filtered or unexported fields
}

func (*ProcessOpts) Run

func (opts *ProcessOpts) Run() error

Jump to

Keyboard shortcuts

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