{"id":16541610,"url":"https://github.com/itzg/stackdriver-spring-boot-autoconfigure","last_synced_at":"2025-10-26T22:47:14.889Z","repository":{"id":145318039,"uuid":"164712170","full_name":"itzg/stackdriver-spring-boot-autoconfigure","owner":"itzg","description":"Provides a Spring Boot auto-configuration to export actuator metrics to  Google Cloud's Stackdriver","archived":false,"fork":false,"pushed_at":"2019-02-19T15:34:29.000Z","size":135,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-04T04:41:52.159Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/itzg.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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-01-08T18:48:04.000Z","updated_at":"2019-12-30T19:18:29.000Z","dependencies_parsed_at":null,"dependency_job_id":"237f0c93-96c1-44e5-8b63-b201ed1a0d07","html_url":"https://github.com/itzg/stackdriver-spring-boot-autoconfigure","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/itzg/stackdriver-spring-boot-autoconfigure","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itzg%2Fstackdriver-spring-boot-autoconfigure","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itzg%2Fstackdriver-spring-boot-autoconfigure/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itzg%2Fstackdriver-spring-boot-autoconfigure/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itzg%2Fstackdriver-spring-boot-autoconfigure/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/itzg","download_url":"https://codeload.github.com/itzg/stackdriver-spring-boot-autoconfigure/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itzg%2Fstackdriver-spring-boot-autoconfigure/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264139571,"owners_count":23563250,"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","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-10-11T18:55:27.648Z","updated_at":"2025-10-26T22:47:09.844Z","avatar_url":"https://github.com/itzg.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![CircleCI](https://circleci.com/gh/itzg/stackdriver-spring-boot-autoconfigure.svg?style=svg)](https://circleci.com/gh/itzg/stackdriver-spring-boot-autoconfigure)\n[![Release](https://jitpack.io/v/itzg/stackdriver-spring-boot-autoconfigure.svg)](https://jitpack.io/#itzg/stackdriver-spring-boot-autoconfigure)\n\nThis module provides a Spring Boot auto-configuration to export actuator metrics to \nGoogle Cloud's Stackdriver.\n\n# Adding to your project\n\nFollow the instructions [at JitPack](https://jitpack.io/#itzg/stackdriver-spring-boot-autoconfigure).\n\n# Application configuration\n\nThe only configuration needed is to set the Spring property\n`management.metrics.export.stackdriver.project-id` to reference your GCP project's ID.\n\n# Authentication\n\nIf running external to a GCP compute resource, refer to the \n[GCP Monitoring Client documentation](https://cloud.google.com/monitoring/docs/reference/libraries#setting_up_authentication)\nand you will need to generate an authentication key file and pass the path to that via the\nenvironment variable `GOOGLE_APPLICATION_CREDENTIALS`.\n\n# Stackdriver resource type and metric naming\n\nYou will be able to locate your metrics within the Resource Type \"Global\", as shown here:\n\n![](docs/resource_types.png)\n\nThe default Stackdriver naming convention prepends your metric's name with \"custom/\", as shown here:\n\n![](docs/metrics.png)\n\nThe metric shown in the example was declared like the following:\n\n```java\n  @Autowired\n  public SomeAppService(MeterRegistry meterRegistry) {\n    messagesPre = meterRegistry.counter(\"messages\", \"stage\", \"pre\");\n    messagesPost = meterRegistry.counter(\"messages\", \"stage\", \"post\");\n  }\n```\n\n# Development\n\n## Preparing a release\n\nUse the Maven release plugin to perform the build, tag, and update\n\n```bash\nmvn release:prepare\n```\n\nWith that completed, git push the commits and tag to the repo.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitzg%2Fstackdriver-spring-boot-autoconfigure","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fitzg%2Fstackdriver-spring-boot-autoconfigure","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitzg%2Fstackdriver-spring-boot-autoconfigure/lists"}