{"id":20023404,"url":"https://github.com/niku/logger_stackdriver_backend","last_synced_at":"2025-10-27T23:05:16.304Z","repository":{"id":66601497,"uuid":"204991034","full_name":"niku/logger_stackdriver_backend","owner":"niku","description":" An elixir logger backend which sends logs to Stackdriver","archived":false,"fork":false,"pushed_at":"2019-09-03T22:01:22.000Z","size":195,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-07-10T17:20:48.968Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Elixir","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/niku.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":"2019-08-28T17:52:11.000Z","updated_at":"2020-01-22T22:51:11.000Z","dependencies_parsed_at":"2023-03-01T10:16:11.644Z","dependency_job_id":null,"html_url":"https://github.com/niku/logger_stackdriver_backend","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/niku/logger_stackdriver_backend","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/niku%2Flogger_stackdriver_backend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/niku%2Flogger_stackdriver_backend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/niku%2Flogger_stackdriver_backend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/niku%2Flogger_stackdriver_backend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/niku","download_url":"https://codeload.github.com/niku/logger_stackdriver_backend/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/niku%2Flogger_stackdriver_backend/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281355376,"owners_count":26486901,"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-27T02:00:05.855Z","response_time":61,"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":[],"created_at":"2024-11-13T08:46:19.304Z","updated_at":"2025-10-27T23:05:16.289Z","avatar_url":"https://github.com/niku.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LoggerStackdriverBackend\n\n A logger backend which sends logs to [Stackdriver](https://cloud.google.com/stackdriver/).\n\n![](images/stackdriver-screenshot.png)\n\n## Installation\n\n```elixir\ndef deps do\n  [\n    {:logger_stackdriver_backend, github: \"niku/logger_stackdriver_backend\"}\n  ]\nend\n```\n\n## Configuration\n\n```elixir\nimport Config\n\n# First of all, add LoggerStackdriverBackend to the logger backends.\n# And it needs to utc_log: true to work timestamp on Stackdriver correctly.\nconfig :logger,\n  backends: [:console, LoggerStackdriverBackend],\n  utc_log: true\n\n# Next, config for LoggerStackdriverBackend itself.\n# Both project_id and log_name are required. It converts to \"projects/#{project_id}/logs/#{log_name}\" as logName on Stackdriver.\nconfig :logger, :logger_stackdriver_backend,\n  project_id: \"hello_world_project\",\n  log_name: \"my-first-log\"\n\n# Finally, It needs also config goth which is used by LoggerStackdriverBackend.\n# You have to set up to read GCE credential json.\n# You can use any setting in https://github.com/peburrows/goth#installation\nconfig :goth,\n  json: \"path/to/google/json/creds.json\" |\u003e File.read!\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fniku%2Flogger_stackdriver_backend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fniku%2Flogger_stackdriver_backend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fniku%2Flogger_stackdriver_backend/lists"}