Categorygithub.com/shariqali-dev/toll-calculator
repository
0.0.0-20241212053118-412beb9073fa
Repository: https://github.com/shariqali-dev/toll-calculator.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# README

toll-calculator

obu generates lat,long reciever recieves lat,long - puts in a kafka que

how to start

  • make reciever (needs to be started first b/c obu connects to its ws)
  • make obu
  • docker compose -up to start kafka

installing protobuf compiler (protoc)

sudo apt install protobuf-compiler

installing grpc and protobuffer plugins for golang

protobuff

go install google.golang.org/protobuf/cmd/protoc-gen-go@latest

grpc

go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest

instrumentation

  • grafana
  • prometheus installing client "github.com/prometheus/client_golang/prometheus"