This is a repo for extracting elevation info in a given location/position.
Data repo:
https://github.com/MapColonies/dem-heights-data/protobuf/v3
Clone the project
git clone https://github.com/MapColonies/dem-heights.git
Go to project directory
cd dem-heights
Install dependencies
npm install
Install git hooks
npx husky install
Start
npm start
Or:
docker container run --rm --name prometheus --net host -p 9090:9090 -v /temp/prometheus.yaml:/etc/prometheus/prometheus.yml prom/prometheus
http://localhost:9090
{job="server"} -> Execute
docker container run --rm --name grafana --net host -p 3000:3000 grafana/grafana-oss
Start with telemetry
TELEMETRY_TRACING_ENABLED=true TELEMETRY_TRACING_URL=http://localhost:4318/v1/traces TELEMETRY_METRICS_ENABLED=true TELEMETRY_METRICS_URL=http://localhost:4318/v1/metrics npm startDebug with telemetry
cd dist
TELEMETRY_TRACING_ENABLED=true TELEMETRY_TRACING_URL=http://localhost:4318/v1/traces TELEMETRY_METRICS_ENABLED=true TELEMETRY_METRICS_URL=http://localhost:4318/v1/metrics node --inspect index.jsStart container
docker-compose up -d
Get inside container
docker container exec -it dem-heights-container /bin/bash
See logs
docker container logs --follow dem-heights-container
Stop container
docker-compose down