Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sergio-id/go-grpc-user-microservice
Golang gRPC User microservice example with Prometheus, Grafana monitoring and Jaeger opentracing
https://github.com/sergio-id/go-grpc-user-microservice
docker docker-compose golang grafana grpc jaeger-tracing microservice monitoring postgresql prometheus redis
Last synced: 25 days ago
JSON representation
Golang gRPC User microservice example with Prometheus, Grafana monitoring and Jaeger opentracing
- Host: GitHub
- URL: https://github.com/sergio-id/go-grpc-user-microservice
- Owner: sergio-id
- Created: 2023-03-01T15:43:07.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-03-01T16:57:50.000Z (over 1 year ago)
- Last Synced: 2024-09-30T08:03:33.754Z (about 1 month ago)
- Topics: docker, docker-compose, golang, grafana, grpc, jaeger-tracing, microservice, monitoring, postgresql, prometheus, redis
- Language: Go
- Homepage:
- Size: 110 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### Golang gRPC User microservice example with Prometheus, Grafana monitoring and Jaeger opentracing
#### Tech stack:
* [GRPC](https://grpc.io/) - gRPC
* [sqlx](https://github.com/jmoiron/sqlx) - Extensions to database/sql.
* [pgx](https://github.com/jackc/pgx) - PostgreSQL driver and toolkit for Go
* [go-redis](https://github.com/go-redis/redis) - Redis client for Golang
* [zap](https://github.com/uber-go/zap) - Logger
* [validator](https://github.com/go-playground/validator) - Go Struct and Field validation
* [migrate](https://github.com/golang-migrate/migrate) - Database migrations. CLI and Golang library.
* [testify](https://github.com/stretchr/testify) - Testing toolkit
* [gomock](https://github.com/golang/mock) - Mocking framework
* [Docker](https://www.docker.com/) - Docker
* [Prometheus](https://prometheus.io/) - Prometheus
* [Grafana](https://grafana.com/) - Grafana
* [Jaeger](https://www.jaegertracing.io/) - Jaeger tracing### Usage local:
```bash
make local_up // run containers without application
```
```bash
make run // run the application
```
### Stop containers:
```bash
make local_down // stop containers
```### Usage docker:
```bash
make docker_up // run all containers with application
```### Stop containers:
```bash
make docker_down // stop containers
```### Jaeger UI:
http://localhost:16686
### Prometheus UI:
http://localhost:9090
### Grafana UI:
http://localhost:3000