/cressida

Visualization with Grafana based on Metrics taken by Prometheus and Tracing with OpenTelemtry implementation in Golang and use PostgreSQL as Database

Primary LanguageGoMIT LicenseMIT

Cressida

banner

Description

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

Requirements

Library

Installation

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

Load Test

Vehicle

# 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

Transporter

# 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

User

# for load test user register
$ make load_test_user_register