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: socketstat input plugin #3649

Merged
merged 127 commits into from
Dec 22, 2021
Merged

feat: socketstat input plugin #3649

merged 127 commits into from
Dec 22, 2021

Commits on Nov 7, 2017

  1. Configuration menu
    Copy the full SHA
    38a4921 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c92a946 View commit details
    Browse the repository at this point in the history

Commits on Nov 14, 2017

  1. socketstat plugin working with tcp and udp, README update. Needs unit…

    … tests, unix sockets support.
    sajoupa committed Nov 14, 2017
    Configuration menu
    Copy the full SHA
    21b84c7 View commit details
    Browse the repository at this point in the history

Commits on Nov 28, 2017

  1. Configuration menu
    Copy the full SHA
    459231d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    eb27dac View commit details
    Browse the repository at this point in the history

Commits on Jan 1, 2018

  1. Configuration menu
    Copy the full SHA
    569be61 View commit details
    Browse the repository at this point in the history

Commits on Jan 9, 2018

  1. Configuration menu
    Copy the full SHA
    6a246c0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a28526b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d49f375 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f497e8d View commit details
    Browse the repository at this point in the history
  5. gofmt run

    sajoupa committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    fdb13a4 View commit details
    Browse the repository at this point in the history

Commits on Jan 23, 2018

  1. Configuration menu
    Copy the full SHA
    357d8c3 View commit details
    Browse the repository at this point in the history

Commits on Jan 30, 2018

  1. Configuration menu
    Copy the full SHA
    cf7f6e8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a242634 View commit details
    Browse the repository at this point in the history

Commits on Feb 2, 2018

  1. Configuration menu
    Copy the full SHA
    74b777e View commit details
    Browse the repository at this point in the history

Commits on Feb 13, 2018

  1. Configuration menu
    Copy the full SHA
    76b380b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3d7669f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    44b70f4 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ae57878 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    2c8a087 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    8e6b40d View commit details
    Browse the repository at this point in the history
  7. socketstat test: small fixes

    sajoupa committed Feb 13, 2018
    Configuration menu
    Copy the full SHA
    9cb5b33 View commit details
    Browse the repository at this point in the history
  8. socketstat: misc fixes

    sajoupa committed Feb 13, 2018
    Configuration menu
    Copy the full SHA
    3a981af View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    49b1808 View commit details
    Browse the repository at this point in the history

Commits on Jul 12, 2018

  1. Configuration menu
    Copy the full SHA
    4ceb8bb View commit details
    Browse the repository at this point in the history

Commits on Aug 19, 2018

  1. Configuration menu
    Copy the full SHA
    2f70f93 View commit details
    Browse the repository at this point in the history

Commits on Sep 11, 2018

  1. Configuration menu
    Copy the full SHA
    7fbebcc View commit details
    Browse the repository at this point in the history

Commits on Nov 27, 2020

  1. Configuration menu
    Copy the full SHA
    9459b94 View commit details
    Browse the repository at this point in the history
  2. socketstat: README updates, small code improvements, add config snipp…

    …et to telegraf.conf
    
    - add config snippet to telegraf.conf
    - make cardinality disclaimer in README bold
    - fix typo in README
    - clarify examples in README
    - add some error logging, small code improvements
    sajoupa committed Nov 27, 2020
    Configuration menu
    Copy the full SHA
    d89a764 View commit details
    Browse the repository at this point in the history

Commits on Dec 3, 2021

  1. Configuration menu
    Copy the full SHA
    258f826 View commit details
    Browse the repository at this point in the history

Commits on Dec 4, 2021

  1. Configuration menu
    Copy the full SHA
    a197586 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7ade521 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    dd97878 View commit details
    Browse the repository at this point in the history
  4. socketstat: tabs/spaces fix

    sajoupa committed Dec 4, 2021
    Configuration menu
    Copy the full SHA
    2421436 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    21f2291 View commit details
    Browse the repository at this point in the history
  6. socketstat: remove an unneeded case handling and fix an error catchin…

    …g in parseAndGather, rename some variables for golangci-lint
    sajoupa committed Dec 4, 2021
    Configuration menu
    Copy the full SHA
    155b9a5 View commit details
    Browse the repository at this point in the history
  7. socketstat: fix regexp for lines starting with whitespace (following …

    …golangci-lint updates)
    sajoupa committed Dec 4, 2021
    Configuration menu
    Copy the full SHA
    3651e83 View commit details
    Browse the repository at this point in the history

Commits on Dec 7, 2021

  1. Configuration menu
    Copy the full SHA
    e96b4d5 View commit details
    Browse the repository at this point in the history
  2. socketstat: reorder Struct items, add toml-tags and make all possible…

    … values "unexported"
    
    Co-authored-by: Sven Rebhan <36194019+srebhan@users.noreply.github.com>
    sajoupa and srebhan committed Dec 7, 2021
    Configuration menu
    Copy the full SHA
    d02eecf View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    01881dc View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    aa64386 View commit details
    Browse the repository at this point in the history
  5. socketstat: rename variable following previous commit, and move input…

    …s.Add to the Init() function
    sajoupa committed Dec 7, 2021
    Configuration menu
    Copy the full SHA
    5d6cb59 View commit details
    Browse the repository at this point in the history
  6. socketstat: fix a log message

    Co-authored-by: Sven Rebhan <36194019+srebhan@users.noreply.github.com>
    sajoupa and srebhan committed Dec 7, 2021
    Configuration menu
    Copy the full SHA
    39d4005 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    3946e7d View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    9b454c8 View commit details
    Browse the repository at this point in the history

Commits on Dec 12, 2021

  1. Configuration menu
    Copy the full SHA
    b3a56a4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3956c9e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    dc3c3ec View commit details
    Browse the repository at this point in the history

Commits on Dec 13, 2021

  1. Configuration menu
    Copy the full SHA
    89aafff View commit details
    Browse the repository at this point in the history
  2. socketstat: gofmt fixes

    sajoupa committed Dec 13, 2021
    Configuration menu
    Copy the full SHA
    c0df468 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    98bce79 View commit details
    Browse the repository at this point in the history

Commits on Dec 14, 2021

  1. warning update in plugins/inputs/socketstat/README.md

    Co-authored-by: Sven Rebhan <36194019+srebhan@users.noreply.github.com>
    sajoupa and srebhan committed Dec 14, 2021
    Configuration menu
    Copy the full SHA
    f64385f View commit details
    Browse the repository at this point in the history

Commits on Dec 20, 2021

  1. socketstat: small code simplification in socketstat_test.go

    Co-authored-by: Sven Rebhan <36194019+srebhan@users.noreply.github.com>
    sajoupa and srebhan committed Dec 20, 2021
    Configuration menu
    Copy the full SHA
    6d4595a View commit details
    Browse the repository at this point in the history
  2. socketstat: in tests, replace reflect.DeepEqual with require.Equal (a…

    …nd similar functions)
    sajoupa committed Dec 20, 2021
    Configuration menu
    Copy the full SHA
    b0c99c0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5b14fdb View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    7d9f949 View commit details
    Browse the repository at this point in the history

Commits on Dec 21, 2021

  1. socketstat input plugin: small indentation fix

    Co-authored-by: Sven Rebhan <36194019+srebhan@users.noreply.github.com>
    sajoupa and srebhan committed Dec 21, 2021
    Configuration menu
    Copy the full SHA
    b28d021 View commit details
    Browse the repository at this point in the history
  2. socketstat input plugin: set the lister unconditionally, and modify i…

    …t later in tests when needed
    sajoupa committed Dec 21, 2021
    Configuration menu
    Copy the full SHA
    276374a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f506fbe View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    23c1e9e View commit details
    Browse the repository at this point in the history
  5. socketstat input plugin: replace a manual test with a require.Equalf

    Co-authored-by: Sven Rebhan <36194019+srebhan@users.noreply.github.com>
    sajoupa and srebhan committed Dec 21, 2021
    Configuration menu
    Copy the full SHA
    addf4d7 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    35d23e0 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    eb948aa View commit details
    Browse the repository at this point in the history
  8. socketstat plugin working with tcp and udp, README update. Needs unit…

    … tests, unix sockets support.
    sajoupa committed Dec 21, 2021
    Configuration menu
    Copy the full SHA
    05b9758 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    fd615d7 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    39e6e74 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    8513c86 View commit details
    Browse the repository at this point in the history
  12. gofmt run

    sajoupa committed Dec 21, 2021
    Configuration menu
    Copy the full SHA
    ddfd744 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    70ff228 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    c36e433 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    e88e72d View commit details
    Browse the repository at this point in the history
  16. socketstat test: small fixes

    sajoupa committed Dec 21, 2021
    Configuration menu
    Copy the full SHA
    2bd4c04 View commit details
    Browse the repository at this point in the history
  17. socketstat: misc fixes

    sajoupa committed Dec 21, 2021
    Configuration menu
    Copy the full SHA
    e923988 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    ae65f0e View commit details
    Browse the repository at this point in the history
  19. socketstat: README updates, small code improvements, add config snipp…

    …et to telegraf.conf
    
    - add config snippet to telegraf.conf
    - make cardinality disclaimer in README bold
    - fix typo in README
    - clarify examples in README
    - add some error logging, small code improvements
    sajoupa committed Dec 21, 2021
    Configuration menu
    Copy the full SHA
    c40da1b View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    1076c6e View commit details
    Browse the repository at this point in the history
  21. socketstat: tabs/spaces fix

    sajoupa committed Dec 21, 2021
    Configuration menu
    Copy the full SHA
    eb7fa8c View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    2305a2e View commit details
    Browse the repository at this point in the history
  23. socketstat: remove an unneeded case handling and fix an error catchin…

    …g in parseAndGather, rename some variables for golangci-lint
    sajoupa committed Dec 21, 2021
    Configuration menu
    Copy the full SHA
    dc567f4 View commit details
    Browse the repository at this point in the history
  24. socketstat: fix regexp for lines starting with whitespace (following …

    …golangci-lint updates)
    sajoupa committed Dec 21, 2021
    Configuration menu
    Copy the full SHA
    acbe944 View commit details
    Browse the repository at this point in the history
  25. socketstat: reorder Struct items, add toml-tags and make all possible…

    … values "unexported"
    
    Co-authored-by: Sven Rebhan <36194019+srebhan@users.noreply.github.com>
    sajoupa and srebhan committed Dec 21, 2021
    Configuration menu
    Copy the full SHA
    3107fbb View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    8f25e86 View commit details
    Browse the repository at this point in the history
  27. socketstat: rename variable following previous commit, and move input…

    …s.Add to the Init() function
    sajoupa committed Dec 21, 2021
    Configuration menu
    Copy the full SHA
    bd9da99 View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    579d54f View commit details
    Browse the repository at this point in the history
  29. socketstat: fix a log message

    Co-authored-by: Sven Rebhan <36194019+srebhan@users.noreply.github.com>
    sajoupa and srebhan committed Dec 21, 2021
    Configuration menu
    Copy the full SHA
    a1b16e4 View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    86dd548 View commit details
    Browse the repository at this point in the history
  31. Configuration menu
    Copy the full SHA
    104572f View commit details
    Browse the repository at this point in the history
  32. Configuration menu
    Copy the full SHA
    132e004 View commit details
    Browse the repository at this point in the history
  33. Configuration menu
    Copy the full SHA
    5727bf7 View commit details
    Browse the repository at this point in the history
  34. socketstat: gofmt fixes

    sajoupa committed Dec 21, 2021
    Configuration menu
    Copy the full SHA
    c7acec9 View commit details
    Browse the repository at this point in the history
  35. Configuration menu
    Copy the full SHA
    63d305a View commit details
    Browse the repository at this point in the history
  36. warning update in plugins/inputs/socketstat/README.md

    Co-authored-by: Sven Rebhan <36194019+srebhan@users.noreply.github.com>
    sajoupa and srebhan committed Dec 21, 2021
    Configuration menu
    Copy the full SHA
    ff2c796 View commit details
    Browse the repository at this point in the history
  37. socketstat: small code simplification in socketstat_test.go

    Co-authored-by: Sven Rebhan <36194019+srebhan@users.noreply.github.com>
    sajoupa and srebhan committed Dec 21, 2021
    Configuration menu
    Copy the full SHA
    8bd2157 View commit details
    Browse the repository at this point in the history
  38. socketstat: in tests, replace reflect.DeepEqual with require.Equal (a…

    …nd similar functions)
    sajoupa committed Dec 21, 2021
    Configuration menu
    Copy the full SHA
    31037c5 View commit details
    Browse the repository at this point in the history
  39. Configuration menu
    Copy the full SHA
    44fd1f0 View commit details
    Browse the repository at this point in the history
  40. socketstat input plugin: set the lister unconditionally, and modify i…

    …t later in tests when needed
    sajoupa committed Dec 21, 2021
    Configuration menu
    Copy the full SHA
    0d24922 View commit details
    Browse the repository at this point in the history
  41. socketstat input plugin: small indentation fix

    Co-authored-by: Sven Rebhan <36194019+srebhan@users.noreply.github.com>
    sajoupa and srebhan committed Dec 21, 2021
    Configuration menu
    Copy the full SHA
    953d283 View commit details
    Browse the repository at this point in the history
  42. Configuration menu
    Copy the full SHA
    651a631 View commit details
    Browse the repository at this point in the history
  43. socketstat input plugin: replace a manual test with a require.Equalf

    Co-authored-by: Sven Rebhan <36194019+srebhan@users.noreply.github.com>
    sajoupa and srebhan committed Dec 21, 2021
    Configuration menu
    Copy the full SHA
    bb6a8d4 View commit details
    Browse the repository at this point in the history
  44. Configuration menu
    Copy the full SHA
    54222cb View commit details
    Browse the repository at this point in the history
  45. Configuration menu
    Copy the full SHA
    e65f52a View commit details
    Browse the repository at this point in the history
  46. Configuration menu
    Copy the full SHA
    c7fee91 View commit details
    Browse the repository at this point in the history
  47. Configuration menu
    Copy the full SHA
    33cf0b7 View commit details
    Browse the repository at this point in the history
  48. Configuration menu
    Copy the full SHA
    bd6f1e7 View commit details
    Browse the repository at this point in the history
  49. Configuration menu
    Copy the full SHA
    31bdaaa View commit details
    Browse the repository at this point in the history
  50. Configuration menu
    Copy the full SHA
    9cadf61 View commit details
    Browse the repository at this point in the history
  51. Configuration menu
    Copy the full SHA
    772944b View commit details
    Browse the repository at this point in the history
  52. socketstat input plugin: small code optimization

    Co-authored-by: Sven Rebhan <36194019+srebhan@users.noreply.github.com>
    sajoupa and srebhan committed Dec 21, 2021
    Configuration menu
    Copy the full SHA
    7bf18b5 View commit details
    Browse the repository at this point in the history
  53. Configuration menu
    Copy the full SHA
    af1d04f View commit details
    Browse the repository at this point in the history
  54. Configuration menu
    Copy the full SHA
    c79db78 View commit details
    Browse the repository at this point in the history

Commits on Dec 22, 2021

  1. socketstat input plugin: allow disabling the execution timeout

    Co-authored-by: Sven Rebhan <36194019+srebhan@users.noreply.github.com>
    sajoupa and srebhan committed Dec 22, 2021
    Configuration menu
    Copy the full SHA
    276e1c3 View commit details
    Browse the repository at this point in the history
  2. socketstat input plugin: simplify one of the tests

    Co-authored-by: Sven Rebhan <36194019+srebhan@users.noreply.github.com>
    sajoupa and srebhan committed Dec 22, 2021
    Configuration menu
    Copy the full SHA
    8957bc3 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    38b1298 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    3610d8a View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    cf6b6da View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    c5f82b5 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    46dfa2f View commit details
    Browse the repository at this point in the history
  8. socketstat input plugin: use Log.Warn instead of Warnf where relevant

    Co-authored-by: Sven Rebhan <36194019+srebhan@users.noreply.github.com>
    sajoupa and srebhan committed Dec 22, 2021
    Configuration menu
    Copy the full SHA
    7e3ebdb View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    0ae3695 View commit details
    Browse the repository at this point in the history
  10. socketstat input plugin: change the return type of parseAndGather, wh…

    …ich always returns nil
    sajoupa committed Dec 22, 2021
    Configuration menu
    Copy the full SHA
    7ac8acb View commit details
    Browse the repository at this point in the history
  11. socketstat input plugin: small code simplification

    Co-authored-by: Sven Rebhan <36194019+srebhan@users.noreply.github.com>
    sajoupa and srebhan committed Dec 22, 2021
    Configuration menu
    Copy the full SHA
    c8abe68 View commit details
    Browse the repository at this point in the history
  12. socketstat input plugin: don't set recv_q or send_q if there was an e…

    …rror processing them
    
    Co-authored-by: Sven Rebhan <36194019+srebhan@users.noreply.github.com>
    sajoupa and srebhan committed Dec 22, 2021
    Configuration menu
    Copy the full SHA
    cea3533 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    ca22aa1 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    9a4a22a View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    46a9b95 View commit details
    Browse the repository at this point in the history
  16. socketstat input plugin: in Init(), test if ss is available last, b…

    …ecause in test envs where `ss` might be absent, we still need to perform the other actions
    sajoupa committed Dec 22, 2021
    Configuration menu
    Copy the full SHA
    6a8290d View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    6c73dd3 View commit details
    Browse the repository at this point in the history