{"id":19132774,"url":"https://github.com/parca-dev/parca-load","last_synced_at":"2025-06-20T12:12:34.192Z","repository":{"id":61839823,"uuid":"524050916","full_name":"parca-dev/parca-load","owner":"parca-dev","description":"A load generator for Parca queries","archived":false,"fork":false,"pushed_at":"2025-04-29T16:49:53.000Z","size":390,"stargazers_count":2,"open_issues_count":17,"forks_count":1,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-05-06T18:15:03.598Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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,"zenodo":null}},"created_at":"2022-08-12T10:47:47.000Z","updated_at":"2025-03-26T03:37:32.000Z","dependencies_parsed_at":"2024-01-13T23:22:31.646Z","dependency_job_id":"2754be66-ebe2-49f8-808e-5b3ca341fbfd","html_url":"https://github.com/parca-dev/parca-load","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-load","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parca-dev%2Fparca-load/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parca-dev%2Fparca-load/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parca-dev%2Fparca-load/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/parca-dev","download_url":"https://codeload.github.com/parca-dev/parca-load/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252741474,"owners_count":21797027,"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":[],"created_at":"2024-11-09T06:19:40.515Z","updated_at":"2025-05-06T18:15:09.222Z","avatar_url":"https://github.com/parca-dev.png","language":"Go","readme":"# parca-load\n\nThis is a tool that continuously queries Parca instances for their data.\n\nIt is based on the Parca gRPC APIs defined on https://buf.build/parca-dev/parca and uses the generated connect-go code via `go.buf.build/bufbuild/connect-go/parca-dev/parca`.\n\n### Installation\n\n```\ngo install github.com/parca-dev/parca-load@latest\n```\n\nor run the container images\n\n```\ndocker run -d ghcr.io/parca-dev/parca-load\n```\n\n### How it works\n\nIt runs a goroutine per API type.\n\nIt starts a `Labels` goroutine that starts querying all labels on a Parca instance and then writes these into a shared map.\nThe map is then read by the `Values` goroutine that selects a random label and queries all values for it.\n\nThis process it repeated every 5 seconds (configurable).\nThe entries of the shared map eventually expire to not query too old data.\n\nSimilarly, it starts querying `ProfileTypes` every 10 seconds (configurable) to know what profile types are available.\nThe result is written to a shared map.\nEvery 15 seconds (configurable) there are `QueryRange` requests (querying 15min and 7 day ranges) for all series.\n\nOnce the profile series are discovered above there are `Query` requests querying single profiles every 10 seconds.\nFor these queries it picks a random timestamp of the available time range and queries a random report type (flame graph, top table, pprof download).\n\nEvery 15 seconds (configurable) there are `Query` requests that actually request merged profiles for either 15min, or 7 days, if enough data is available for each in a series.\n\nMetrics are collected and available on http://localhost:7171/metrics\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparca-dev%2Fparca-load","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fparca-dev%2Fparca-load","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparca-dev%2Fparca-load/lists"}