Code Monkey home page Code Monkey logo

otelcloudspannerreceiverexample's Introduction

This is a sample docker service, to show how googlecloudspannerreceiver can work along with prometheus exporter and grafana. docker-compose.yml ties together the above 3 components. In order to connect to a different cloud spanner project, we can use either of service account key or ADC and modify the collector, prometheus and grafana configurations accordingly.

Note the following locations of the config files :

  1. Prometheus : prometheus/config.yml
  2. Grafana : grafana/provisioning/dashboards/dashboards.yml & grafana/provisioning/datasources
  3. Collector : collector/config.yml
  4. Docker: ./docker-compose.yml

IMPORTANT : In all the above configuration files, replace all placeholders with required values.

Docker instructions : Run containers with logs per each container are displayed in this one terminal window. docker compose up

Run in detached mode (no logs output). Look for logs in Docker Desktop UI. docker compose up -d

Run single container. docker compose up grafana

Stop containers with all data saved in volumes. docker compose down

Stop containers with volumes removal. Usefull for clean starts. docker compose down -v

Contribution

License

This is Apache 2.0 License

Note

This is not an officially supported Google product.

otelcloudspannerreceiverexample's People

Contributors

architjugran avatar harishbohara11 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.