Get support for sagikazarmark/go-gin-gorm-opencensus
If you're new to LTH, please see our FAQ for more information on what it is we do.
Support Options
Unfortunately, there are currently no active helpers for this repository on the platform. Until they become available, we reccomend the following actions:
View Open IssuesTake a look to see if anyone else has experienced the same issue as you and if they managed to solve it.
Open an IssueMake sure to read any relevant guidelines for opening issues on this repo before posting a new issue.
Sponsor directlyCheck out the page and see if there are any options to sponsor this project or it's developers directly.
sagikazarmark/go-gin-gorm-opencensus
Go OpenCensus example for Gin and Gorm
This repository serves as an example for configuring OpenCensus to instrument applications written using Gin framework and Gorm ORM.
Requirements
- Go 1.11
- Docker (with Compose)
- Dep 0.5.0 (make installs it for you)
- cURL or Postman for calling the API
- the following ports free: 3306, 6831, 8080, 9090, 14268, 16686 (alternative: edit
docker-compose.override.yml
manually)
Usage
- Set up the project:
make up
- Run the application:
make run
- Open
http://localhost:16686
in your browser (Jaeger UI) - Open
http://localhost:9090
in your browser (Prometheus UI)
When you are done playing with the project you can easily destroy everything it created with make down
.
(It removes everything except .env
and .env.test
)
Calling the API
The easiest way to run the example is using Postman:
Alternatively you can send simple HTTP requests with any tool you like. For example using cURL:
$ curl http://localhost:8080/people -d '{"first_name": "John", "last_name": "Doe"}'
$ curl http://localhost:8080/hello/John
License
The MIT License (MIT). Please see License File for more information.
Our Mission
We want to make open source more sustainable. The entire platform was born from this and everything we do is in aid of this.
From the Blog
Interesting Articles
-
Generating income from open source
Jun 23 • 8 min read
-
2023 State of OSS
Apr 23 • 45 min read ★
-
A funding experiment...
Aug 19 • 10 min read
-
But You Said I could
Aug 19 • 2 min read
Thank you for checking out LiveTechHelper |
2025 © lth-dev incorporated
p-e622a1a2