Skip to content

blakeli0/metrics-sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

What is this repo?

This repo is a sample Spring Boot app that demonstrates OpenCensus metrics in Bigtable/Spanner, and OpenTelemetry metrics in Bigtable

How to run this sample?

This repo is dependent on SNAPSHOT versions of gax, bigtable, spanner and firestore. see relevant changes in gax, bigtable, spanner and firestore.

  1. Enable Cloud Monitoring API
  2. Update project/instance/table ids in SpannerController and BigtableController
  3. Start the app
  4. Navigate to http://localhost:8080/spanner and http://localhost:8080/bigtable for a few read requests
  5. Wait up to 1 minute, the metrics should show up in Cloud Monitoring dashboard on Metrics explorer tab. The relevant metrics are under Global -> Custom metrics -> OpenCensus/cloud/google.com/java/bigtable(or spanner)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages