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
- func Builder() *cobra.Command
- func DatabasesBuilder() *cobra.Command
- func DatabasesDescribeBuilder() *cobra.Command
- func DatabasesListBuilder() *cobra.Command
- func DisksBuilder() *cobra.Command
- func DisksDescribeBuilder() *cobra.Command
- func DisksListBuilder() *cobra.Command
- func ProcessBuilder() *cobra.Command
- type DatabasesDescribeOpts
- type DatabasesListsOpts
- type DisksDescribeOpts
- type DisksListsOpts
- type ProcessOpts
Constants ¶
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 DatabasesBuilder ¶
func DatabasesDescribeBuilder ¶ added in v1.4.1
mcli om metric(s) disk(s) describe <hostId:port> <name> --granularity g --period p --start start --end end [--type type] [--projectId projectId]
func DatabasesListBuilder ¶
mongocli om metric(s) process(es) disks lists <HOST_ID>
func DisksBuilder ¶
func DisksDescribeBuilder ¶
mcli om metric(s) disk(s) describe <hostId:port> <name> --granularity g --period p --start start --end end [--type type] [--projectId projectId]
func DisksListBuilder ¶
mongocli om metric(s) process(es) disks lists <ID>
func ProcessBuilder ¶
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