{"id":19132767,"url":"https://github.com/parca-dev/parca-demo","last_synced_at":"2025-08-20T12:43:07.540Z","repository":{"id":37923601,"uuid":"450187355","full_name":"parca-dev/parca-demo","owner":"parca-dev","description":"A collection of languages and frameworks profiled by Parca and Parca agent","archived":false,"fork":false,"pushed_at":"2024-11-08T14:35:19.000Z","size":807,"stargazers_count":12,"open_issues_count":12,"forks_count":12,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-01-03T11:47:17.928Z","etag":null,"topics":["demo"],"latest_commit_sha":null,"homepage":null,"language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/parca-dev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-01-20T17:09:40.000Z","updated_at":"2024-12-03T22:58:44.000Z","dependencies_parsed_at":"2023-01-31T10:00:48.168Z","dependency_job_id":"150eaa76-a6e2-4e19-9a79-428ec9cc0fa5","html_url":"https://github.com/parca-dev/parca-demo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parca-dev%2Fparca-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parca-dev%2Fparca-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parca-dev%2Fparca-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parca-dev%2Fparca-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/parca-dev","download_url":"https://codeload.github.com/parca-dev/parca-demo/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240214098,"owners_count":19766261,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["demo"],"created_at":"2024-11-09T06:19:40.353Z","updated_at":"2025-02-22T17:37:39.137Z","avatar_url":"https://github.com/parca-dev.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# parca-demo\n\nThis parca-demo repository contains a minikube virtual machine that runs Kubernetes with Parca and the agent.\nYou can choose to deploy demo applications in various languages to that cluster to check out each language's support.\n\n## Languages\n\nCompiled languages such as C/C++, Rust and Go are currently supported. (There are some requirements though, binaries should be compiled with [frame pointers](https://en.wikipedia.org/wiki/Call_stack#Stack_and_frame_pointers) and [debug symbols](https://en.wikipedia.org/wiki/Debug_symbol). There are planned improvements for loosening these requirements.`**`)\n\nWe're actively working on improving support for other languages.\nHere is a list of issues where we track the progress:\n\n* [Python](https://github.com/parca-dev/parca-agent/issues/2)\n* [Java/JVM](https://github.com/parca-dev/parca-agent/issues/1)\n* [Ruby](https://github.com/parca-dev/parca-agent/issues/3)\n* [Elixir/Erlang](https://github.com/parca-dev/parca-agent/issues/145)\n* [.NET](https://github.com/parca-dev/parca-agent/issues/161)\n\n[Create an issue](https://github.com/parca-dev/parca-agent/issues/new/choose) to discuss support for yet another language!\n\n## Contributions\n\nContributions are welcome!\nIf you're missing a language you're interested in, please just add a directory with a Dockerfile and deployment.yaml.\n\n## Installation\n\nYou need to install [minikube](https://minikube.sigs.k8s.io/docs/start/) and some virtual machine hypervisor (virtualbox is our default choice).\n\nCheck out the `start.sh` and see if there is any parameter like CPUs and memory you want to tweak for running the virutal machine.\n\nIf you're happy with the parameters, start the VM by running:\n```\n$ ./start.sh\n```\n\nOnce minikube is up and running you can deploy Parca and monitoring stack:\n```\n$ ./deploy-infra.sh\n```\n\nAfter that you can deploy the demo applications by running:\n```\n$ ./deploy-apps.sh\n\nAvailable deployments:\n  1 [ ] c\n  2 [ ] cpp\n  3 [ ] dotnet\n  4 [ ] go-cgo\n  5 [ ] go\n  6 [ ] java\n  7 [ ] julia\n  8 [ ] nextjs\n  9 [ ] nodejs\n 10 [ ] php\n 11 [ ] python\n 12 [ ] rust\nType to check deployments (again to uncheck, ENTER when done):\n```\n\nType in the number/name of the demos you want to deploy:\n```\nType to check deployments (again to uncheck, ENTER when done): cpp 6 rust\n```\n```\nAvailable deployments:\n  1 [ ] c\n  2 [X] cpp\n  3 [ ] dotnet\n  4 [ ] go-cgo\n  5 [ ] go\n  6 [X] java\n  7 [ ] julia\n  8 [ ] nextjs\n  9 [ ] nodejs\n 10 [ ] php\n 11 [ ] python\n 12 [X] rust\nType to check deployments (again to uncheck, ENTER when done):\n```\n\nNote: This will take some time to pull down base images and build each language's demo.\n\nAt the end, you should have a demo for each language in the cluster.\n\nTip: You can also deploy the demos in one line: ```./deploy-apps.sh cpp java rust```\n\n## Usage\n\nAccess Parca by port-forwarding to it by running: `kubectl port-forward -n parca svc/parca 7070`.\nOpen http://localhost:7070/\n\nOnce you have selected the profile type you want to see (currently only CPU Samples), you can query for languages by using these selectors:\n```\n\nnamespace=\"parca\", pod=~\"go-.*\"\nnamespace=\"parca\", pod=~\"rust-.*\"\nnamespace=\"parca\", pod=~\"python-.*\"\nnamespace=\"parca\", pod=~\"nodejs-.*\"\nnamespace=\"parca\", pod=~\"java-.*\"\n```\n\n## `**`\n\n- [Extended stack unwinding support.](https://github.com/parca-dev/parca-agent/issues/293)\n- Debuginfod support for finding debug symbols.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparca-dev%2Fparca-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fparca-dev%2Fparca-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparca-dev%2Fparca-demo/lists"}