Skip to content

Commit a89fed7

Browse files
Add GPU metrics and network metrics to InfluxDB
1 parent df66157 commit a89fed7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

playbooks/roles/telegraf/files/telegraf.conf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2777,7 +2777,7 @@
27772777

27782778

27792779
# # Returns ethtool statistics for given interfaces
2780-
# [[inputs.ethtool]]
2780+
[[inputs.ethtool]]
27812781
# ## List of interfaces to pull metrics for
27822782
# # interface_include = ["eth0"]
27832783
#
@@ -4070,7 +4070,7 @@
40704070

40714071

40724072
# # Read metrics about network interface usage
4073-
# [[inputs.net]]
4073+
[[inputs.net]]
40744074
# ## By default, telegraf gathers stats from any up interface (excluding loopback)
40754075
# ## Setting interfaces will tell it to gather these explicit interfaces,
40764076
# ## regardless of status.
@@ -4261,7 +4261,7 @@
42614261

42624262

42634263
# # Pulls statistics from nvidia GPUs attached to the host
4264-
# [[inputs.nvidia_smi]]
4264+
[[inputs.nvidia_smi]]
42654265
# ## Optional: path to nvidia-smi binary, defaults to $PATH via exec.LookPath
42664266
# # bin_path = "/usr/bin/nvidia-smi"
42674267
#

0 commit comments

Comments
 (0)