Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

怎么自定义需要采集的nvidia-smi的指标 #1920

Closed
hchgod opened this issue Apr 19, 2024 · 1 comment
Closed

怎么自定义需要采集的nvidia-smi的指标 #1920

hchgod opened this issue Apr 19, 2024 · 1 comment

Comments

@hchgod
Copy link

hchgod commented Apr 19, 2024

Your config.toml

# # collect interval
# interval = 15

# exec local command
# e.g. nvidia_smi_command = "nvidia-smi"
nvidia_smi_command = "nvidia-smi"

# exec remote command
# nvidia_smi_command = "ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null SSH_USER@SSH_HOST nvidia-smi"

# Comma-separated list of the query fields.
# You can find out possible fields by running `nvidia-smi --help-query-gpus`.
# The value `AUTO` will automatically detect the fields to query.
query_field_names = ""

# query_timeout is used to set the query timeout to avoid the delay of date collection.
query_timeout = "5s"

Relevant logs

暂无

System info

1

Steps to reproduce

...
暂无

Expected behavior

自定义nvidia-smi的采集指标

Actual behavior

暂无

Additional info

No response

@kongfei605
Copy link
Collaborator

指定query_field_names。 query_field_names 包含哪些内容,就是nvidia-smi --help-query-gpu 的输出

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants