Cressida about a project, where this project create API service transporter. In this project has implementation opentelemetry for tracing endpoint / function and collect some metric ( gauge, summary, histogram ) per endpoint. This project use golang with gorilla for route HTTP endpoint. Go to http://[ip]:[port]/swagger/
for detail documentation API
- Go 1.18 or higher
- Docker 20.10.17 or higher
- Docker Compose 1.29.
- Make 4.3 or higher
- Prometheus latest version
- Grafana latest version
- Jaeger latest version
- OpenTelemetry latest version
first, clone this repository
$ git clone https://github.com/rulanugrh/cressida.git
after that you can running make install_depedency_[YOUR-OS]
$ make install_depedency_mac
# linux
$ make install_depedency_linux
and then, you can run this command
$ make up
# for load test vehicle by id
$ make load_test_get_vehicle_by_id
# for load test get all vehicle
$ make load_test_get_all_vehicle
# for load test post vehicle
$ make load_test_post_vehicle
# for load test transporter by id
$ make load_test_get_transporter_by_id
# for load test get all transporter
$ make load_test_get_all_transporter
# for load test post transporter
$ make load_test_post_transporter
# for load test user register
$ make load_test_user_register