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

feat: added more telegraf plugins #146

Merged
merged 1 commit into from
Jul 10, 2024
Merged

feat: added more telegraf plugins #146

merged 1 commit into from
Jul 10, 2024

Conversation

Kevin222004
Copy link
Contributor

part of #5

feat: added more telegraf plugins

@Kevin222004 Kevin222004 requested a review from a team as a code owner July 10, 2024 12:11
@glimchb
Copy link
Member

glimchb commented Jul 10, 2024

@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"]}]}}

@glimchb glimchb merged commit f4dae5e into opiproject:main Jul 10, 2024
6 checks passed
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

Successfully merging this pull request may close these issues.

2 participants