Giter Site home page Giter Site logo

Comments (5)

kakkoyun avatar kakkoyun commented on July 28, 2024 1

Thanks for clarifying! Note the code in the docs which generates e.g https://www.parca.dev/docs/systemd#setting-up-parca-agent is picking up v0.10.0-rc.1 already, so it's a little confusing :)

I hadn't realized, this was picking pre-releases. We need to update the docs anyway. Feel free to update the existing flags. At the very least, we will be consistent.

from docs.

hardys avatar hardys commented on July 28, 2024

Running as described at https://github.com/parca-dev/parca-agent/blob/main/CONTRIBUTING.md#run-parca-agent also doesn't seem to work, seems it's creating a kubernetes client - is local non-kube usage still supported?

level=debug name=parca-agent ts=2022-11-22T12:03:58.763762162Z caller=discovery_manager.go:310 msg="cannot create service discovery" err="create kubernetes client: get node test: Get \"https://127.0.0.1:40549/api/v1/nodes/test\": dial tcp 127.0.0.1:40549: connect: connection refused" type=test
level=debug name=parca-agent ts=2022-11-22T12:03:58.763794737Z caller=discovery_manager.go:186 msg="starting provider" provider=systemd/0 subs=[all]
level=debug name=parca-agent ts=2022-11-22T12:03:58.764218336Z caller=main.go:252 msg="starting: batch write client"
level=debug name=parca-agent ts=2022-11-22T12:03:58.764233155Z caller=main.go:511 msg="starting: profiler" name=parca_agent_cpu
level=debug name=parca-agent ts=2022-11-22T12:03:58.764236998Z caller=main.go:533 msg="starting: http server"
level=debug name=parca-agent ts=2022-11-22T12:03:58.764259973Z caller=cpu.go:190 msg="starting cpu profiler"
level=debug name=parca-agent ts=2022-11-22T12:03:58.76428957Z caller=main.go:295 msg="starting: discovery manager"
level=debug name=parca-agent ts=2022-11-22T12:03:58.764313709Z caller=main.go:519 msg="profiler: stopped" err=null profiler=parca_agent_cpu
level=debug name=parca-agent ts=2022-11-22T12:03:58.764338058Z caller=main.go:260 msg="stopped: batch write client"
level=debug name=parca-agent ts=2022-11-22T12:03:58.764350011Z caller=main.go:541 msg="stopped: http server"
level=debug name=parca-agent ts=2022-11-22T12:03:58.764350479Z caller=main.go:303 msg="stopped: discovery manager"
level=warn name=parca-agent ts=2022-11-22T12:03:58.764374085Z caller=discovery_manager.go:195 msg="unable to start provider" provider=systemd/0 error="failed to connect to systemd D-Bus API, read unix @->/run/dbus/system_bus_socket: use of closed network connection"
level=error name=parca-agent ts=2022-11-22T12:03:58.764412491Z caller=main.go:157 err="bpf check: 3 errors occurred:\n\t* perf event program type not supported: errno 0\n\t* stack trace map type not supported: errno 0\n\t* hash map type not supported: errno 0\n\n"

from docs.

hardys avatar hardys commented on July 28, 2024

Looks like this is part of #169 but I'm still not clear if local non-kube usage is expected to work now, any clarification or pointers welcome, thanks! :)

from docs.

metalmatze avatar metalmatze commented on July 28, 2024

Good catch. Indeed, we're still working on making v0.10.0 the latest release. By the time this version gets released the docs should be updated. Right now the docs are still for v0.9.x.

from docs.

hardys avatar hardys commented on July 28, 2024

Right now the docs are still for v0.9.x.

Thanks for clarifying! Note the code in the docs which generates e.g https://www.parca.dev/docs/systemd#setting-up-parca-agent is picking up v0.10.0-rc.1 already, so it's a little confusing :)

If there are any pointers in the meantime about how to use the 0.10/system-wide profiling on baremetal that would be welcome!

from docs.

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.