opiproject / otel

OPI Monitoring and Telemetry via Open Telemetry (OTEL)
Apache License 2.0
9 stars 14 forks source link

feat: added more telegraf plugins #146

Closed Kevin222004 closed 3 months ago

Kevin222004 commented 3 months ago

part of #5

feat: added more telegraf plugins

glimchb commented 3 months ago

@Kevin222004 next time please also post here example output:

+ curl --fail 'http://127.0.0.1:9091/api/v1/query?query=ethtool_duplex'
+ grep ethtool_duplex
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100   266  100   266    0     0   345k      0 --:--:-- --:--:-- --:--:--  259k
{"status":"success","data":{"resultType":"vector","result":[{"metric":{"__name__":"ethtool_duplex","driver":"veth","host":"cb9698c6687f","instance":"otel-gw-collector:8889","interface":"eth0","job":"otel-collector","label1":"value1"},"value":[1720613599.021,"1"]}]}}
+ curl --fail 'http://127.0.0.1:9091/api/v1/query?query=kernel_boot_time_total'
+ grep kernel_boot_time_total
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100   248  100   248    0     0   323k      0 --:--:-- --:--:-- --:--:--  242k
{"status":"success","data":{"resultType":"vector","result":[{"metric":{"__name__":"kernel_boot_time_total","host":"cb9698c6687f","instance":"otel-gw-collector:8889","job":"otel-collector","label1":"value1"},"value":[1720613599.028,"1720613239"]}]}}