{"id":28466060,"url":"https://github.com/zilliztech/milvus-gather","last_synced_at":"2025-07-23T17:36:10.702Z","repository":{"id":191365793,"uuid":"684492023","full_name":"zilliztech/milvus-gather","owner":"zilliztech","description":null,"archived":false,"fork":false,"pushed_at":"2023-08-29T10:13:55.000Z","size":236,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-06-30T23:36:43.108Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zilliztech.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-08-29T08:37:58.000Z","updated_at":"2024-05-02T20:13:20.000Z","dependencies_parsed_at":"2023-08-29T15:12:42.062Z","dependency_job_id":null,"html_url":"https://github.com/zilliztech/milvus-gather","commit_stats":null,"previous_names":["zilliztech/milvus-gather"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zilliztech/milvus-gather","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zilliztech%2Fmilvus-gather","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zilliztech%2Fmilvus-gather/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zilliztech%2Fmilvus-gather/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zilliztech%2Fmilvus-gather/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zilliztech","download_url":"https://codeload.github.com/zilliztech/milvus-gather/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zilliztech%2Fmilvus-gather/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266720879,"owners_count":23974050,"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","status":"online","status_checked_at":"2025-07-23T02:00:09.312Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":"2025-06-07T06:08:22.208Z","updated_at":"2025-07-23T17:36:10.670Z","avatar_url":"https://github.com/zilliztech.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Purpose\ngather milvus info for debug and troubleshooting, then upload info when create milvus issue.\n- gather milvus base info: version and milvus deployment name\n- gather milvus goroutine and profile\n- gather milvus pod cpu and mem usage\n- gather milvus important metrics\n\n## Metrics collected\n- container_cpu_usage_seconds_total\n- container_memory_working_set_bytes\n- milvus_proxy_sq_latency_bucket\n- milvus_proxy_sq_latency_sum\n- milvus_proxy_sq_latency_count\n- milvus_proxy_mutation_latency_bucket\n- milvus_proxy_mutation_latency_sum\n- milvus_proxy_mutation_latency_count\n- milvus_rootcoord_time_tick_delay\n- milvus_proxy_search_vectors_count\n- milvus_proxy_insert_vectors_count\n- milvus_proxy_req_count\n\n## Quickstart\n```bash\n# usage: ./deploy.sh $namespace $release $duration $interval\n# namespace: the milvus namespace\n# release: the milvus release name\n# duration: how long, unit is second\n# interval: scrap metric interval,unit is second\n$ bash deploy.sh default my-release 300 30\n```\n\n## Upload\nThe above script will generate data.tar.gz file locally. You can upload data.tar.gz file when you create milvus issue. \n\n\n## Diagnose\nWhen user uploaded the data.tar.gz file, we can use it to diagnose issue.\nThe included files are as follows\n- base-info: saved milvus base info,version and milvus deployment name\n- goroutine-.*: saved milvus components goroutine info\n- profile-.*: saved milvus components profile info, can use ```go tool pprof $profile``` diagnose the issues\n- metrics-info: saved milvus metrics info\n\n## Use prometheus view metrics info\n```bash\n$ mkdir /tmp/data\n$ docker run -p 9090:9090 -v /tmp/data:/prometheus prom/prometheus\n# https://prometheus.io/docs/prometheus/latest/storage/#backfilling-from-openmetrics-format\n$ promtool tsdb create-blocks-from openmetrics metrics-info /tmp/data\n# view metric graph on the browser,url is 127.0.0.1:9090\n```\n![image](https://github.com/zilliztech/milvus-gather/blob/master/metric.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzilliztech%2Fmilvus-gather","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzilliztech%2Fmilvus-gather","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzilliztech%2Fmilvus-gather/lists"}