{"repo":"mstrYoda/production-ready-microservice-example","free":true,"listed":false,"github":"https://github.com/mstrYoda/production-ready-microservice-example","clone":"git clone https://github.com/mstrYoda/production-ready-microservice-example.git","description":"A Go-based microservice with Couchbase integration, metrics, logging and OpenTelemetry support.","language":"Go","stars":135,"topics":["golang","metrics","microservice","monitoring","opentelemetry","couchbase"],"license":"Apache-2.0","category":"analytics","readme_excerpt":"Example Microservice A Go-based microservice with Couchbase integration, metrics, logging and OpenTelemetry support. Overview This service provides REST API endpoints for managing products, utilizing Couchbase as the primary database and implementing distributed tracing with OpenTelemetry. Prerequisites - Go 1.23.4 - Docker and Docker Compose - Couchbase Server Tech Stack - Language : Go - Database : Couchbase - Distributed Tracing : OpenTelemetry, Jaeger - Container : Docker - Config : Viper - Logger : Zap - Metrics : Prometheus - Monitoring : Grafana Project Structure Getting Started 1. Clone the repository: 2. Start the required services using Docker Compose: 3. Run the application: API Endpoints Products - POST /products - Create a new product - GET /products/{id} - Retrieve a product by ID Configuration Configuration is managed through environment variables and config files and can be set in the docker-compose.yml file. Key configuration parameters include: - Couchbase connection settings - OpenTelemetry configuration - Application port Development Building the Docker Image Running Tests Observability This service implements OpenTelemetry for distributed tracing, allowing you to monitor and debug requests across your distributed system. Contributing 1. Fork the repository 2. Create your feature branch ( git checkout -b feature/amazing-feature ) 3. Commit your changes ( git commit -m 'Add some amazing feature' ) 4. Push to the branch ( git push origin feature/amazing-feat","default_branch":null,"files":null,"tree":[],"storefront":"/r/mstrYoda","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/mstrYoda/production-ready-microservice-example/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}