GithubHelp home page GithubHelp logo

Comments (8)

matrohon avatar matrohon commented on May 24, 2024

I see two possible go libraries to do that :

from skydive.

safchain avatar safchain commented on May 24, 2024

Something we have to take care is the way the library is implemented especially around the syscalls as we got issues with namespace and goroutine. Something fixed in ethtool lib but that doesn't mean this is the best choice.

from skydive.

matrohon avatar matrohon commented on May 24, 2024

I'm currently playing with the ethtool lib, and indeed, I'm having issues with syscall. I was suggesting your ethtool lib to avoid another dependency. but it might be safer to use gopsutil that only poll net/dev files. BTW, should it be treated as a new probe?

from skydive.

safchain avatar safchain commented on May 24, 2024

I meant that ethtool is safe with namespaces, not sure about gopsutil. And yes it should be treated as another probe polling interface metrics. I'll have a look at gopsutil to be sure.

from skydive.

safchain avatar safchain commented on May 24, 2024

I had at quick look at gopsutil and indeed no namespace safe, so If we want to use it we will have to send some PR to fix it.

from skydive.

safchain avatar safchain commented on May 24, 2024

What kind of issue you have with ethtool ? maybe you could open an issue

from skydive.

matrohon avatar matrohon commented on May 24, 2024

done :
safchain/ethtool#11

from skydive.

safchain avatar safchain commented on May 24, 2024

fixed: https://softwarefactory-project.io/r/#/c/6331/

from skydive.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.