{"id":13797463,"url":"https://github.com/googleapis/java-bigtable-hbase","last_synced_at":"2026-01-28T22:10:40.474Z","repository":{"id":15704465,"uuid":"18442381","full_name":"googleapis/java-bigtable-hbase","owner":"googleapis","description":"Java libraries and HBase client extensions for accessing Google Cloud Bigtable","archived":false,"fork":false,"pushed_at":"2025-12-03T14:32:58.000Z","size":21065,"stargazers_count":179,"open_issues_count":187,"forks_count":178,"subscribers_count":71,"default_branch":"main","last_synced_at":"2025-12-04T05:46:32.014Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://cloud.google.com/bigtable/","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/googleapis.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2014-04-04T14:54:35.000Z","updated_at":"2025-12-03T14:33:02.000Z","dependencies_parsed_at":"2023-11-27T16:54:53.806Z","dependency_job_id":"2c3c7889-b1de-4534-a759-d8754ef6804c","html_url":"https://github.com/googleapis/java-bigtable-hbase","commit_stats":{"total_commits":3039,"total_committers":109,"mean_commits":"27.880733944954127","dds":0.5863770977295163,"last_synced_commit":"6f51c3f662048e13204e2900f7aaa4467df61106"},"previous_names":["googlecloudplatform/cloud-bigtable-client"],"tags_count":151,"template":false,"template_full_name":null,"purl":"pkg:github/googleapis/java-bigtable-hbase","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/googleapis%2Fjava-bigtable-hbase","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/googleapis%2Fjava-bigtable-hbase/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/googleapis%2Fjava-bigtable-hbase/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/googleapis%2Fjava-bigtable-hbase/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/googleapis","download_url":"https://codeload.github.com/googleapis/java-bigtable-hbase/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/googleapis%2Fjava-bigtable-hbase/sbom","scorecard":{"id":57814,"data":{"date":"2025-08-11","repo":{"name":"github.com/googleapis/java-bigtable-hbase","commit":"6e01902eace7782ed354623f78e124c842b22c45"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":5.7,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":5,"reason":"6 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 5","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":10,"reason":"all changesets reviewed","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Security-Policy","score":10,"reason":"security policy file detected","details":["Info: security policy file detected: SECURITY.md:1","Info: Found linked content: SECURITY.md:1","Info: Found disclosure, vulnerability, and/or timelines in security policy: SECURITY.md:1","Info: Found text in security policy: SECURITY.md:1"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Pinned-Dependencies","score":10,"reason":"all dependencies are pinned","details":["Info:   3 out of   3 pipCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 30 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":0,"reason":"54 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: PYSEC-2024-230 / GHSA-248v-346w-9cwc","Warn: Project is vulnerable to: GHSA-79v4-65xg-pq4g","Warn: Project is vulnerable to: GHSA-h4gh-qq45-vh27","Warn: Project is vulnerable to: GHSA-cpwx-vrp4-4pq7","Warn: Project is vulnerable to: GHSA-gmj6-6f8f-6699","Warn: Project is vulnerable to: GHSA-h75v-3vvj-5mfj","Warn: Project is vulnerable to: GHSA-q2x7-8rv6-6q7h","Warn: Project is vulnerable to: GHSA-8qvm-5x2c-j2w7","Warn: Project is vulnerable to: GHSA-9hjg-9r4m-mvj7","Warn: Project is vulnerable to: GHSA-9wx4-h78v-vm56","Warn: Project is vulnerable to: GHSA-34jh-p97f-mpxf","Warn: Project is vulnerable to: GHSA-48p4-8xcf-vxj5","Warn: Project is vulnerable to: GHSA-pq67-6m6q-mj2v","Warn: Project is vulnerable to: GHSA-jfmj-5v4g-7637","Warn: Project is vulnerable to: GHSA-j288-q9x7-2f5v","Warn: Project is vulnerable to: GHSA-5mg8-w23w-74h3","Warn: Project is vulnerable to: GHSA-7g45-4rm6-3mm3","Warn: Project is vulnerable to: GHSA-4gg5-vx3j-xwc7","Warn: Project is vulnerable to: GHSA-735f-pc8j-v9w8","Warn: Project is vulnerable to: GHSA-77rm-9x9h-xj3g","Warn: Project is vulnerable to: GHSA-g5ww-5jh7-63cx","Warn: Project is vulnerable to: GHSA-h4h5-3hr4-j3g2","Warn: Project is vulnerable to: GHSA-wrvw-hg22-4m67","Warn: Project is vulnerable to: GHSA-78wr-2p64-hpwj","Warn: Project is vulnerable to: GHSA-gwrp-pvrq-jmwv","Warn: Project is vulnerable to: GHSA-p979-4mfw-53vg","Warn: Project is vulnerable to: GHSA-269g-pwp5-87pp","Warn: Project is vulnerable to: GHSA-2qrg-x229-3v8q","Warn: Project is vulnerable to: GHSA-65fg-84f6-3jq3","Warn: Project is vulnerable to: GHSA-f7vh-qwp3-x37m","Warn: Project is vulnerable to: GHSA-fp5r-v3w9-4333","Warn: Project is vulnerable to: GHSA-w9p3-5cr8-m3jj","Warn: Project is vulnerable to: GHSA-r7pg-v2c8-mfg3","Warn: Project is vulnerable to: GHSA-rhrv-645h-fjfh","Warn: Project is vulnerable to: GHSA-4g9r-vxhx-9pgx","Warn: Project is vulnerable to: GHSA-7hfm-57qf-j43q","Warn: Project is vulnerable to: GHSA-crv7-7245-f45f","Warn: Project is vulnerable to: GHSA-mc84-pj99-q6hh","Warn: Project is vulnerable to: GHSA-xqfj-vm6h-2x34","Warn: Project is vulnerable to: GHSA-2hw2-62cp-p9p7","Warn: Project is vulnerable to: GHSA-7286-pgfv-vxvh","Warn: Project is vulnerable to: GHSA-c27h-mcmw-48hv","Warn: Project is vulnerable to: GHSA-r6j9-8759-g62w","Warn: Project is vulnerable to: GHSA-55g7-9cwv-5qfv","Warn: Project is vulnerable to: GHSA-fjpj-2g6w-x25r","Warn: Project is vulnerable to: GHSA-pqr6-cmr2-h8hf","Warn: Project is vulnerable to: GHSA-qcwq-55hx-v3vh","Warn: Project is vulnerable to: GHSA-mvr2-9pj6-7w5j","Warn: Project is vulnerable to: GHSA-4jrv-ppp4-jm57","Warn: Project is vulnerable to: GHSA-hw42-3568-wj87","Warn: Project is vulnerable to: GHSA-2f88-5hg8-9x2x","Warn: Project is vulnerable to: GHSA-8vhq-qq4p-grq3","Warn: Project is vulnerable to: GHSA-g6ph-x5wf-g337","Warn: Project is vulnerable to: GHSA-jcwr-x25h-x5fh"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-15T01:07:17.407Z","repository_id":15704465,"created_at":"2025-08-15T01:07:17.407Z","updated_at":"2025-08-15T01:07:17.407Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27752482,"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-12-15T02:00:09.782Z","response_time":96,"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-08-04T00:00:21.324Z","updated_at":"2025-12-15T14:26:02.515Z","avatar_url":"https://github.com/googleapis.png","language":"Java","readme":"# [Google Cloud Bigtable HBase client for Java](https://cloud.google.com/bigtable/docs/bigtable-and-hbase)\n\n[![Maven][maven-hbase-shield]][maven-hbase-client-maven-search]\n[![Stack Overflow][stackoverflow-shield]][stackoverflow-link]\n\n[Google Cloud Bigtable](https://cloud.google.com/bigtable/) is Google's NoSQL\nBig Data database service. It's the same database that powers many core Google\nservices, including Search, Analytics, Maps, and Gmail.\n\nBigtable is designed to handle massive workloads at consistent low latency and\nhigh throughput, so it's a great choice for both operational and analytical\napplications, including IoT, user analytics, and financial data analysis.\n\nBigtable provisions and scales to hundreds of petabytes automatically, and can\nsmoothly handle millions of operations per second. Changes to the deployment\nconfiguration are immediate, so there is no downtime during reconfiguration.\n\nBigtable [integrates easily][integrations] with popular Big Data tools like\nHadoop, as well as Google Cloud Platform products like Cloud Dataflow and\nDataproc. Plus, Bigtable supports the open-source, industry-standard HBase API,\nwhich makes it easy for development teams to get started.\n\n**Note**: These artifacts are meant to wrap HBase over the Bigtable API. If you are looking for a Java client to access Bigtable APIs directly, please use [google-cloud-bigtable][google-cloud-bigtable].\n\n## Project setup, installation, and configuration\n\n### Prerequisites\n\n* [Create a Cloud Bigtable instance](https://cloud.google.com/bigtable/docs/creating-instance)\n* **Recommended**: [Install the Google Cloud SDK for Cloud Bigtable](https://cloud.google.com/bigtable/docs/installing-cloud-sdk)\n\n### Using the Java client\n\n* Add the appropriate [Cloud Bigtable artifact dependencies](http://mvnrepository.com/artifact/com.google.cloud.bigtable) to your [Maven project](https://cloud.google.com/bigtable/docs/using-maven).\n  * `bigtable-hbase-1.x`: use for standalone applications where you are in control of your dependencies.\n  * `bigtable-hbase-1.x-hadoop`: use in hadoop environments.\n  * `bigtable-hbase-1.x-mapreduce`: use for map/reduce utilities.\n  * `bigtable-hbase-1.x-shaded`: use in environments (other than hadoop) that require older versions of protobuf, guava, etc.  \n  * `bigtable-hbase-2.x`: use for standalone applications where you are in control of your dependencies.  This includes an HBase async client.\n  * `bigtable-hbase-2.x-hadoop`: use in hadoop environments.\n  * `bigtable-hbase-2.x-shaded`: use in environments (other than hadoop) that require older versions of protobuf, guava, etc.  \n\n[//]: # ({x-version-update-start:bigtable-client-parent:released})\n  Maven:\n  ```xml\n  \u003cdependency\u003e\n    \u003cgroupId\u003ecom.google.cloud.bigtable\u003c/groupId\u003e\n    \u003cartifactId\u003ebigtable-hbase-1.x\u003c/artifactId\u003e\n    \u003cversion\u003e2.6.5\u003c/version\u003e\n  \u003c/dependency\u003e\n  ```\n\n  Gradle:\n  ```Groovy\n  compile 'com.google.cloud.bigtable:bigtable-hbase-1.x:2.6.5'\n  ```\n\n  SBT:\n  ```Scala\n  libraryDependencies += \"com.google.cloud.bigtable\" % \"bigtable-hbase-1.x\" % \"2.6.5\"\n  ```\n[//]: # ({x-version-update-end})\n\n* Refer to the [Connecting to Bigtable](https://cloud.google.com/bigtable/docs/hbase-connecting) documentation for detailed demonstrations of how to configure the properties to connect to Cloud Bigtable.\n\n* Refer to the [Java samples documentation](https://cloud.google.com/bigtable/docs/samples) for detailed demonstrations of how to read and write data with Cloud Bigtable. The code for these samples is available in the [Cloud Bigtable examples project](https://github.com/GoogleCloudPlatform/cloud-bigtable-examples).\n\n## Enabling Client Side Metrics\n\nCloud Bigtable client supports publishing client side metrics to Cloud Monitoring under the bigtable.googleapis.com/client namespace.\n\nThis feature is available once you upgrade to version 2.6.4 and above. Follow the guide on https://cloud.google.com/bigtable/docs/client-side-metrics-setup to enable.\n\nNote: Beam / Dataflow integration is currently not supported.\n\n## OpenCensus Integration\n\n### Tracing\n\nThe code example below shows how to enable tracing. For more details, see [here](https://cloud.google.com/community/tutorials/bigtable-oc).\n\n##### Maven Setup\n\nIf you are _not_ using the shaded Bigtable HBase Client artifact, you need to define the OpenCensus dependencies.\n\n[//]: # ({x-version-update-start:bigtable-client-parent:released})\n```xml\n\u003c!-- OpenCensus dependencies --\u003e\n\u003cdependency\u003e\n    \u003cgroupId\u003ecom.google.cloud.bigtable\u003c/groupId\u003e\n    \u003cartifactId\u003ebigtable-hbase-1.x\u003c/artifactId\u003e\n    \u003cversion\u003e2.6.5\u003c/version\u003e\n\u003c/dependency\u003e\n```\n[//]: # ({x-version-update-end})\n```xml\n\u003cdependency\u003e\n    \u003cgroupId\u003eio.opencensus\u003c/groupId\u003e\n    \u003cartifactId\u003eopencensus-impl\u003c/artifactId\u003e\n    \u003cversion\u003e0.31.1\u003c/version\u003e\n    \u003cscope\u003eruntime\u003c/scope\u003e\n\u003c/dependency\u003e\n\u003cdependency\u003e\n    \u003cgroupId\u003eio.opencensus\u003c/groupId\u003e\n    \u003cartifactId\u003eopencensus-exporter-trace-stackdriver\u003c/artifactId\u003e\n    \u003cversion\u003e0.31.1\u003c/version\u003e\n    \u003cexclusions\u003e\n        \u003cexclusion\u003e\n            \u003cgroupId\u003eio.grpc\u003c/groupId\u003e\n            \u003cartifactId\u003e*\u003c/artifactId\u003e\n        \u003c/exclusion\u003e\n        \u003cexclusion\u003e\n            \u003cgroupId\u003ecom.google.auth\u003c/groupId\u003e\n            \u003cartifactId\u003e*\u003c/artifactId\u003e\n        \u003c/exclusion\u003e\n    \u003c/exclusions\u003e\n\u003c/dependency\u003e\n```\n\nIf you _are_ using the shaded Bigtable HBase Client artifact, then the OpenCensus dependencies are embedded in the\nshaded artifact; i.e. nothing additional for you to do.\n\n[//]: # ({x-version-update-start:bigtable-client-parent:released})\n```xml\n\u003c!-- OpenCensus dependencies --\u003e\n\u003cdependency\u003e\n    \u003cgroupId\u003ecom.google.cloud.bigtable\u003c/groupId\u003e\n    \u003cartifactId\u003ebigtable-hbase-1.x-shaded\u003c/artifactId\u003e\n    \u003cversion\u003e2.6.5\u003c/version\u003e\n\u003c/dependency\u003e\n```\n[//]: # ({x-version-update-end})\n\n##### Java Example\n\n```java\n// For the non-shaded client, remove the package prefix \"com.google.bigtable.repackaged.\"\nimport com.google.bigtable.repackaged.io.opencensus.exporter.trace.stackdriver.StackdriverTraceConfiguration;\nimport com.google.bigtable.repackaged.io.opencensus.exporter.trace.stackdriver.StackdriverTraceExporter;\nimport com.google.bigtable.repackaged.io.opencensus.trace.Tracing;\nimport com.google.bigtable.repackaged.io.opencensus.trace.samplers.Samplers;\n\nimport java.io.IOException;\n\npublic class OpenCensusExample {\n    String projectId = \"your-project-id\";\n\n    void setupTracing() throws Exception {\n        // Setup tracing.\n        StackdriverTraceExporter.createAndRegister(\n                StackdriverTraceConfiguration.builder()\n                        .setProjectId(projectId)\n                        .build()\n        );\n        Tracing.getTraceConfig().updateActiveTraceParams(\n                Tracing.getTraceConfig().getActiveTraceParams().toBuilder()\n                        // Adjust the sampling rate as you see fit.\n                        .setSampler(Samplers.probabilitySampler(0.01))\n                        .build()\n        );\n    }\n}\n```\n\n\n### Stats\n\n---\nNote: We recommend enabling client side built-in metrics if you want to view your metrics on cloud monitoring.\nThis integration is only for exporting the metrics to a third party dashboard.\n---\n\nThe code example below shows how to enable metrics. For more details, see the [gRPC Java Guide](https://opencensus.io/guides/grpc/java/).\n\n##### Maven Setup\n\nIf you are _not_ using the shaded Bigtable HBase Client artifact, you need to define the OpenCensus dependencies.\n\n[//]: # ({x-version-update-start:bigtable-client-parent:released})\n```xml\n\u003c!-- OpenCensus dependencies --\u003e\n\u003cdependency\u003e\n    \u003cgroupId\u003ecom.google.cloud.bigtable\u003c/groupId\u003e\n    \u003cartifactId\u003ebigtable-hbase-1.x\u003c/artifactId\u003e\n    \u003cversion\u003e2.6.5\u003c/version\u003e\n\u003c/dependency\u003e\n```\n[//]: # ({x-version-update-end})\n```xml\n\u003cdependency\u003e\n    \u003cgroupId\u003eio.opencensus\u003c/groupId\u003e\n    \u003cartifactId\u003eopencensus-impl\u003c/artifactId\u003e\n    \u003cversion\u003e0.31.1\u003c/version\u003e\n    \u003cscope\u003eruntime\u003c/scope\u003e\n\u003c/dependency\u003e\n\u003cdependency\u003e\n    \u003cgroupId\u003eio.opencensus\u003c/groupId\u003e\n    \u003cartifactId\u003eopencensus-exporter-stats-stackdriver\u003c/artifactId\u003e\n    \u003cversion\u003e0.31.1\u003c/version\u003e\n    \u003cexclusions\u003e\n        \u003cexclusion\u003e\n            \u003cgroupId\u003eio.grpc\u003c/groupId\u003e\n            \u003cartifactId\u003e*\u003c/artifactId\u003e\n        \u003c/exclusion\u003e\n        \u003cexclusion\u003e\n            \u003cgroupId\u003ecom.google.auth\u003c/groupId\u003e\n            \u003cartifactId\u003e*\u003c/artifactId\u003e\n        \u003c/exclusion\u003e\n    \u003c/exclusions\u003e\n\u003c/dependency\u003e\n```\n\nIf you _are_ using the shaded Bigtable HBase Client artifact, then the OpenCensus dependencies are embedded in the\nshaded artifact; i.e. nothing additional for you to do.\n\n```xml\n\u003c!-- OpenCensus dependencies --\u003e\n\u003cdependency\u003e\n    \u003cgroupId\u003ecom.google.cloud.bigtable\u003c/groupId\u003e\n    \u003cartifactId\u003ebigtable-hbase-1.x-shaded\u003c/artifactId\u003e\n    \u003cversion\u003e2.6.5\u003c/version\u003e\n\u003c/dependency\u003e\n```\n[//]: # ({x-version-update-end})\n\n##### Java Example\n```java\n// For the non-shaded client, remove the package prefix \"com.google.bigtable.repackaged.\"\nimport com.google.bigtable.repackaged.io.opencensus.contrib.grpc.metrics.RpcViews;\nimport com.google.bigtable.repackaged.io.opencensus.exporter.stats.stackdriver.StackdriverStatsConfiguration;\nimport com.google.bigtable.repackaged.io.opencensus.exporter.stats.stackdriver.StackdriverStatsExporter;\n\nimport java.io.IOException;\n\npublic class OpenCensusExample {\n    String projectId = \"your-project-id\";\n\n    void setupStatsExport() throws Exception {\n        // Option 1: Automatic Configuration (from GCP Resources only):\n        // If you are running from a GCP Resource (e.g. a GCE VM), the Stackdriver metrics are automatically\n        // configured to upload to your resource.\n        // For examples of monitored resources, see here: https://cloud.google.com/monitoring/api/resources\n        StackdriverStatsExporter.createAndRegister();\n\n        // Then register your gRPC views in OpenCensus.\n        RpcViews.registerClientGrpcViews();\n\n\n        // Option 2: Manual Configuration\n        // If you are not running from a GCP Resource (e.g. if you are running on-prem), then you should\n        // configure the monitored resource yourself.\n        // Use the code snippet below as a starting example.\n        // For examples of monitored resources, see here: https://cloud.google.com/monitoring/api/resources\n        StackdriverStatsExporter.createAndRegister(\n                StackdriverStatsConfiguration.builder()\n                        .setProjectId(projectId)\n                        // This example uses generic_node as the MonitoredResource, with your host name as the node ID.\n                        .setMonitoredResource(MonitoredResource.newBuilder()\n                                .setType(\"generic_node\")\n                                .putLabels(\"project_id\", projectId)\n                                .putLabels(\"location\", \"us-west1-b\")  // Specify the region in which your service is running (e.g. us-west1-b). \n                                .putLabels(\"namespace\", \"anyNamespaceYouChoose\")\n                                .putLabels(\"node_id\", InetAddress.getLocalHost().getHostName())  // Specify any node you choose (e.g. the local hostname).\n                                .build())\n                        .build()\n        );\n        \n        // Then register your gRPC views in OpenCensus.\n        RpcViews.registerClientGrpcViews();\n    }\n}\n```\n\n##### Viewing Your Metrics in Google Cloud Console\n\nThe above steps will expose Bigtable's gRPC metrics under the\ncustom.googleapis.com/opencensus/grpc.io/client prefix.\n\nFollow [these instructions](https://opencensus.io/guides/grpc/java/) for viewing the metrics in\nGoogle Cloud Console.\n\nBe sure to choose your Resource Type as the one you defined in your Stackdriver configuration in\nthe code.\n\n\n\n## Questions and discussions\n\nIf you have questions or run into issues with Google Cloud Bigtable or the\nclient libraries, use any of the following forums:\n\n* Stack Overflow: tag questions with [`google-cloud-bigtable`][stackoverflow-link]\n* Mailing list: [google-cloud-bigtable-discuss@][google-cloud-bigtable-discuss]\n\nYou can also subscribe to\n[google-cloud-bigtable-announce@][google-cloud-bigtable-announce] list to receive\ninfrequent product and client library announcements.\n\n## Contributing\n\n\nContributions to this library are always welcome and highly encouraged.\n\nSee [CONTRIBUTING][contributing] for more information how to get started.\n\nPlease note that this project is released with a Contributor Code of Conduct. By participating in\nthis project you agree to abide by its terms. See [Code of Conduct][code-of-conduct] for more\ninformation.\n\n## License\n\nApache 2.0 - See [LICENSE][license] for more information.\n\n## CI Status\n\nJava Version | Status\n------------ | ------\nJava 8 | [![Kokoro CI][kokoro-badge-image-1]][kokoro-badge-link-1]\nJava 8 OSX | [![Kokoro CI][kokoro-badge-image-2]][kokoro-badge-link-2]\nJava 11 | [![Kokoro CI][kokoro-badge-image-3]][kokoro-badge-link-3]\nIntegration | [![Kokoro CI][kokoro-badge-image-4]][kokoro-badge-link-4]\n\nJava is a registered trademark of Oracle and/or its affiliates.\n\n\u003c!-- references --\u003e\n\n[maven-hbase-shield]: https://maven-badges.herokuapp.com/maven-central/com.google.cloud.bigtable/bigtable-hbase/badge.svg\n[maven-hbase-client-maven-search]: http://search.maven.org/#search%7Cga%7C1%7Cg:com.google.cloud.bigtable\n[stackoverflow-shield]: https://img.shields.io/badge/stackoverflow-google--cloud--bigtable-blue.svg\n[stackoverflow-link]: http://stackoverflow.com/search?q=[google-cloud-bigtable]\n[integrations]: https://cloud.google.com/bigtable/docs/integrations\n[maven-examples-repo]: https://github.com/GoogleCloudPlatform/cloud-bigtable-examples\n[google-cloud-bigtable-discuss]: https://groups.google.com/group/google-cloud-bigtable-discuss\n[google-cloud-bigtable-announce]: https://groups.google.com/group/google-cloud-bigtable-announce\n[google-cloud-bigtable-emulator]: https://github.com/googleapis/google-cloud-java/tree/main/google-cloud-testing/google-cloud-bigtable-emulator\n[google-cloud-bigtable]: https://github.com/googleapis/java-bigtable\n[kokoro-badge-image-1]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-bigtable-hbase/java8.svg\n[kokoro-badge-link-1]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-bigtable-hbase/java8.html\n[kokoro-badge-image-2]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-bigtable-hbase/java8-osx.svg\n[kokoro-badge-link-2]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-bigtable-hbase/java8-osx.html\n[kokoro-badge-image-3]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-bigtable-hbase/java11.svg\n[kokoro-badge-link-3]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-bigtable-hbase/java11.html\n[kokoro-badge-image-4]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-bigtable-hbase/integration.svg\n[kokoro-badge-link-4]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-bigtable-hbase/integration.html\n[contributing]: https://github.com/googleapis/java-bigtable-hbase/blob/main/CONTRIBUTING.md\n[code-of-conduct]: https://github.com/googleapis/java-bigtable-hbase/blob/main/CODE_OF_CONDUCT.md#contributor-code-of-conduct\n[license]: https://github.com/googleapis/java-bigtable-hbase/blob/main/LICENSE\n","funding_links":[],"categories":["Tools"],"sub_categories":["Official Client Libraries"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoogleapis%2Fjava-bigtable-hbase","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgoogleapis%2Fjava-bigtable-hbase","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoogleapis%2Fjava-bigtable-hbase/lists"}