{"id":64538,"library":"go-errorreporting","title":"Cloud Error Reporting","description":"Package errorreporting provides a Go client for the Google Cloud Error Reporting API.","status":"active","version":"0.9.0","language":"go","source_language":null,"source_url":null,"tags":["google-cloud","error-reporting","monitoring","logging"],"install":[{"cmd":"go get cloud.google.com/go/errorreporting","lang":"bash","label":"Install cloud.google.com/go/errorreporting"}],"dependencies":[],"imports":[{"symbol":"errorreporting","correct":"cloud.google.com/go/errorreporting"}],"quickstart":{"code":"package main\n\nimport (\n\t\"cloud.google.com/go/errorreporting\"\n\t\"context\"\n\t\"log\"\n)\n\nfunc main() {\n\tctx := context.Background()\n\tclient, err := errorreporting.NewClient(ctx, \"my-project\", errorreporting.Config{\n\t\tServiceName:    \"myservice\",\n\t\tServiceVersion: \"v1.0\",\n\t})\n\tif err != nil {\n\t\tlog.Fatal(err)\n\t}\n\tdefer client.Close()\n\tclient.Report(errorreporting.Entry{\n\t\tError: log.Output(1, \"something broke\"),\n\t})\n}","lang":"go","description":"Report an error to Google Cloud Error Reporting"},"warnings":[{"fix":"Ensure GOOGLE_APPLICATION_CREDENTIALS is set or running in a GCP environment","message":"Requires Google Cloud project and authentication setup","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"search_vec":"'api':16 'client':9 'cloud':1,13,19 'error':2,14,21 'error-report':20 'errorreport':5 'go':8 'googl':12,18 'google-cloud':17 'log':24 'monitor':23 'packag':4 'provid':6 'report':3,15,22","created_at":"2026-06-17T16:57:09.446426+00:00","updated_at":"2026-06-17T16:57:09.446426+00:00","problems":[],"ecosystem":"go","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/googleapis/google-cloud-go","github":null,"docs":"https://pkg.go.dev/cloud.google.com/go/errorreporting#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["observability","cloud"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}