sfctl settings telemetrysfctl settings telemetry

配置此 sfctl 实例的本地遥测设置。Configure telemetry settings local to this instance of sfctl.

Sfctl 遥测收集未提供参数的命令名称或其值、sfctl 版本、OS 类型、python 版本、命令是成功还是失败、返回的错误消息。Sfctl telemetry collects command name without parameters provided or their values, sfctl version, OS type, python version, the success or failure of the command, the error message returned.

命令Commands

CommandCommand 说明Description
set-telemetryset-telemetry 启用或禁用遥测。Turn on or off telemetry.

sfctl settings telemetry set-telemetrysfctl settings telemetry set-telemetry

启用或禁用遥测。Turn on or off telemetry.

参数Arguments

参数Argument 说明Description
--off--off 禁用遥测。Turn off telemetry.
--on--on 启用遥测。Turn on telemetry. 这是默认值。This is the default value.

全局参数Global Arguments

参数Argument 说明Description
--debug--debug 提高日志记录详细程度以显示所有调试日志。Increase logging verbosity to show all debug logs.
--help -h--help -h 显示此帮助消息并退出。Show this help message and exit.
--output -o--output -o 输出格式。Output format. 允许的值: json、jsonc、table、tsv。Allowed values: json, jsonc, table, tsv. 默认值: json。Default: json.
--query--query JMESPath 查询字符串。JMESPath query string. 有关详细信息和示例,请参阅 http://jmespath.org/。See http://jmespath.org/ for more information and examples.
--verbose--verbose 提高日志记录详细程度。Increase logging verbosity. 使用 --debug 获取完整的调试日志。Use --debug for full debug logs.

示例Examples

禁用遥测。Turn off telemetry.

sfctl settings telemetry set_telemetry --off

启用遥测。Turn on telemetry.

sfctl settings telemetry set_telemetry --on

后续步骤Next steps