{"id":36810617,"url":"https://github.com/ohsawa0515/gcp-gpu-stackdriver-reporting","last_synced_at":"2026-01-12T13:48:11.173Z","repository":{"id":64305136,"uuid":"221840834","full_name":"ohsawa0515/gcp-gpu-stackdriver-reporting","owner":"ohsawa0515","description":"This repository provides a tool that sends metrics on GPU utilization on Google Compute Engine (GCE) to Stackdriver.","archived":false,"fork":false,"pushed_at":"2019-12-16T07:14:46.000Z","size":22,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-06-20T11:52:05.177Z","etag":null,"topics":["gce","gcp","go","golang","nvidia","nvml","stackdriver"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ohsawa0515.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}},"created_at":"2019-11-15T04:00:07.000Z","updated_at":"2024-01-14T08:39:33.000Z","dependencies_parsed_at":"2023-01-15T10:17:26.024Z","dependency_job_id":null,"html_url":"https://github.com/ohsawa0515/gcp-gpu-stackdriver-reporting","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/ohsawa0515/gcp-gpu-stackdriver-reporting","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ohsawa0515%2Fgcp-gpu-stackdriver-reporting","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ohsawa0515%2Fgcp-gpu-stackdriver-reporting/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ohsawa0515%2Fgcp-gpu-stackdriver-reporting/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ohsawa0515%2Fgcp-gpu-stackdriver-reporting/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ohsawa0515","download_url":"https://codeload.github.com/ohsawa0515/gcp-gpu-stackdriver-reporting/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ohsawa0515%2Fgcp-gpu-stackdriver-reporting/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28339455,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T12:22:26.515Z","status":"ssl_error","status_checked_at":"2026-01-12T12:22:10.856Z","response_time":98,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["gce","gcp","go","golang","nvidia","nvml","stackdriver"],"created_at":"2026-01-12T13:48:10.416Z","updated_at":"2026-01-12T13:48:11.143Z","avatar_url":"https://github.com/ohsawa0515.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gcp-gpu-stackdriver-reporting\n\nThis repository provides a tool that sends metrics on GPU utilization on Google Compute Engine (GCE) to Stackdriver.  \n\nThis tools is able to supports Linux only.\n- Ubuntu 16.04/18.04\n\n\n## Installation\n\n### Download binary\n\nDownload it from [releases page](https://github.com/ohsawa0515/gcp-gpu-stackdriver-reporting/releases) and extract it to `/usr/local/bin`.\n\n```console\n$ curl -L -O https://github.com/ohsawa0515/gcp-gpu-stackdriver-reporting/releases/download/\u003cversion\u003e/gcp-gpu-stackdriver-reporting_linux_amd64.tar.gz\n$ tar zxf gcp-gpu-stackdriver-reporting_linux_amd64.tar.gz\n$ mv ./gcp-gpu-stackdriver-reporting /usr/local/bin/\n$ chmod +x /usr/local/bin/gcp-gpu-stackdriver-reporting\n```\n\n### go get\n\n```console\n$ go get github.com/ohsawa0515/gcp-gpu-stackdriver-reporting\n$ mv $GOPATH/gcp-gpu-stackdriver-reporting /usr/local/bin/\n$ chmod +x /usr/local/bin/gcp-gpu-stackdriver-reporting\n```\n\n## Run as systemd\n\n```console\n$ cat \u003c\u003c-EOH \u003e /lib/systemd/system/gcp-gpu-stackdriver-reporting.service\n[Unit]\nDescription=GPU Utilization Metric Reporting\n[Service]\nType=simple\nPIDFile=/run/gcp-gpu-stackdriver-reporting.pid\nExecStart=/usr/local/bin/gcp-gpu-stackdriver-reporting\nUser=root\nGroup=root\nWorkingDirectory=/\nRestart=always\n[Install]\nWantedBy=multi-user.target\nEOH\n$ systemctl daemon-reload\n$ systemctl enable gcp-gpu-stackdriver-reporting.service\n$ systemctl start gcp-gpu-stackdriver-reporting.service\n```\n\n## Run as docker container\n\nNVIDIA driver is required. Please install from [here](https://github.com/NVIDIA/nvidia-docker#quickstart).\n\n```console\n$ docker pull ohsawa0515/gcp-gpu-stackdriver-reporting:latest\n$ docker run -d --runtime=nvidia --rm ohsawa0515/gcp-gpu-stackdriver-reporting:latest\n```\n\n## Run as Google Kubernetes Engine(GKE)\n\n### Create GKE cluster and node pools with GPU\n\nSee [document](https://cloud.google.com/kubernetes-engine/docs/how-to/gpus?hl=en#gpu_pool).\n\n### Installing NVIDIA GPU device drivers.\n\n```console\n$ kubectl apply -f https://raw.githubusercontent.com/GoogleCloudPlatform/container-engine-accelerators/master/nvidia-driver-installer/cos/daemonset-preloaded.yaml\n```\n\n### gcp-gpu-stackdriver-reporting apply into GKE as daemonset\n\n```console\n$ kubectl apply -f daemonset-sample.yaml\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fohsawa0515%2Fgcp-gpu-stackdriver-reporting","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fohsawa0515%2Fgcp-gpu-stackdriver-reporting","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fohsawa0515%2Fgcp-gpu-stackdriver-reporting/lists"}