go-spatial / tegola

Tegola is a Mapbox Vector Tile server written in Go
http://tegola.io/
MIT License
1.28k stars 194 forks source link

Refactor build info #765

Closed gdey closed 3 years ago

gdey commented 3 years ago

Added a new internal package to hold build information.

Using the new build information package, expose a Observability Metric for the Build Information. So, that one can use that for doing analysis across versions.

See: https://www.robustperception.io/exposing-the-software-version-to-prometheus

coveralls commented 3 years ago

Pull Request Test Coverage Report for Build ac0cd9bda-PR-765


Changes Missing Coverage Covered Lines Changed/Added Lines %
cmd/tegola/cmd/cache/cache.go 0 1 0.0%
cmd/tegola/cmd/version.go 0 1 0.0%
cmd/tegola/cmd/root.go 0 3 0.0%
maths/maths.go 0 3 0.0%
cmd/tegola/cmd/server.go 0 4 0.0%
cmd/tegola/cmd/cache/seed_purge.go 0 5 0.0%
server/server.go 5 13 38.46%
atlas/atlas.go 0 21 0.0%
<!-- Total: 9 55 16.36% -->
Files with Coverage Reduction New Missed Lines %
atlas/atlas.go 1 4.12%
maths/maths.go 1 30.87%
<!-- Total: 2 -->
Totals Coverage Status
Change from base Build 671145575: -0.1%
Covered Lines: 5416
Relevant Lines: 11904

💛 - Coveralls