{"id":20037545,"url":"https://github.com/nktks/go-test-cloud-logging-exporter","last_synced_at":"2025-10-16T23:09:28.698Z","repository":{"id":130019921,"uuid":"350248804","full_name":"nktks/go-test-cloud-logging-exporter","owner":"nktks","description":"export go test -json results to Google Cloud Logging for monitoring","archived":false,"fork":false,"pushed_at":"2024-06-17T00:26:18.000Z","size":40,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-09T15:21:27.511Z","etag":null,"topics":["cloudlogging","go","google-cloud-platform"],"latest_commit_sha":null,"homepage":"","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/nktks.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-03-22T07:33:00.000Z","updated_at":"2024-06-17T00:26:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"ff24127c-7844-4dcf-aab0-8962b4e7e895","html_url":"https://github.com/nktks/go-test-cloud-logging-exporter","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nktks/go-test-cloud-logging-exporter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nktks%2Fgo-test-cloud-logging-exporter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nktks%2Fgo-test-cloud-logging-exporter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nktks%2Fgo-test-cloud-logging-exporter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nktks%2Fgo-test-cloud-logging-exporter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nktks","download_url":"https://codeload.github.com/nktks/go-test-cloud-logging-exporter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nktks%2Fgo-test-cloud-logging-exporter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279253022,"owners_count":26134677,"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-10-16T02:00:06.019Z","response_time":53,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","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":["cloudlogging","go","google-cloud-platform"],"created_at":"2024-11-13T10:20:03.342Z","updated_at":"2025-10-16T23:09:28.636Z","avatar_url":"https://github.com/nktks.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# go-test-cloud-logging-exporter\n\nExport `go test -json` results to Google Cloud Logging for monitoring.\n\n# How to use.\n\n## Install\n```\ngo get -u github.com/nktks/go-test-cloud-logging-exporter\n```\n\n## Usage\n```\ngo-test-cloud-logging-exporter -h\nUsage of go-test-cloud-logging-exporter:\n  -id string\n    \ttest id for log attribute (default \"fbcabe2b-5196-475d-afdb-eb726165ad3a\")\n  -junitxml string\n    \tgotestsum --junitxml file path\n  -name string\n    \tlogName for Cloud Logging (default \"go-test-log\")\n  -p string\n    \tgcp project id\n  -top int\n    \tlogging target top number sorted by elapsed (default 50)\n```\n## Run\nby `go test -json`\n```\ngo test -json ./... | GOOGLE_APPLICATION_CREDENTIALS=/path/to/cred.json go-test-cloud-logging-exporter -p your-gcp-project\n```\nby `gotestsum --junitxml=junit.xml`\n```\ngotestsum --junitfile=junit.xml ./...\nGOOGLE_APPLICATION_CREDENTIALS=/path/to/cred.json go-test-cloud-logging-exporter -p your-gcp-project -junitxml junit.xml\n```\n\nYou need `roles/logging.logWriter` permission to your account.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnktks%2Fgo-test-cloud-logging-exporter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnktks%2Fgo-test-cloud-logging-exporter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnktks%2Fgo-test-cloud-logging-exporter/lists"}