experimental:获取给定命名空间的 Coll Stats Latency 进程级测量值列表
此命令正在调用 OperationID 为“getCollStatsLatencyNamespaceHostMeasurements”的端点。
有关标志、文件格式和示例的更多信息,请参阅:https://www.mongodb.com/zh-cn/docs/atlas/reference/api-resources-spec/v2/#标签/Collection-Level-Metrics/operation/getCollStatsLatencyNamespaceHostMeasurements
语法
atlas api collectionLevelMetrics getCollStatsLatencyNamespaceHostMeasurements [options]
选项
名称 | 类型 | 必需 | 说明 |
---|---|---|---|
--collectionName | 字符串 | true | 用于标识集合的人类可读标签 |
--databaseName | 字符串 | true | 用于标识数据库的人类可读标签 |
--end | 字符串 | false | MongoDB Cloud 停止报告指标的日期和时间 |
--envelope | false | 标志,指示应用程序是否将响应包装在信封JSON对象中 | |
--groupId | 字符串 | true | 用于标识项目的唯一 24-十六进制数字字符串 |
-h,--help | false | getCollStatsLatencyNamespaceHostMeasurements 帮助 | |
--metrics | 字符串数组 | false | 列表,其中包含要为关联数据系列检索的指标 |
--output | 字符串 | false | 首选API格式,可以是 ["JSON", go-template] 此值默认为 "JSON"。 |
--output-file | 字符串 | false | 要将API输出写入其中的文件。 当端点的输出为二进制(例如:gzip)且命令未通过管道传输(例如: Atlas command > out.zip)时,需要使用此标志 |
--period | 字符串 | false | Atlas报告指标的持续时间 |
--processId | 字符串 | true | 为MongoDB进程提供服务的主机名和 IANA 端口的组合 |
--start | 字符串 | false | MongoDB Cloud 开始报告指标的日期和时间 |
--version | 字符串 | false | 进行API调用时要使用的API版本 [选项:"2023-11-15"],默认为最新版本或配置文件 api_version 配置值(如果设立了此值),默认为 "2023-11-15"。 |
继承选项
名称 | 类型 | 必需 | 说明 |
---|---|---|---|
-P, --profile | 字符串 | false | 要从配置文件中使用的配置文件的名称。 要了解 Atlas CLI 的配置文件,请参阅 https://dochub.mongodb.org/core/atlas-cli-save-connection-settings。 |