Skip to content

Latest commit

 

History

History
11 lines (10 loc) · 701 Bytes

README.md

File metadata and controls

11 lines (10 loc) · 701 Bytes

mx-gas-stations-micronaut

Install

  1. Run command docker-compose up
  2. Modify the key in the line api-key: <My Google maps key> from file gas-stations/src/main/resources/application.yml
  3. Run all main Class from gas-stations, locations and prices thought the IDE or r
  4. Endpoint http://localhost/api/v1/gasStations/near?longitude=-103.39282&latitude=20.67524&radio=1500
  5. Access to ZipKin http://localhost:9411/zipkin/
  6. Consul (service discovery) localhost:8500/ui/dc1/services
  7. Grafana http://localhost:3000/, add the datasource of type Prometheus and url http://prometheus:9090, then import the dashboards 4701 and 5373
  8. Prometheus http://localhost:9090/