Closed gdey closed 3 years ago
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
provider/postgis/util.go | 1 | 2 | 50.0% | ||
atlas/layer.go | 0 | 6 | 0.0% | ||
atlas/atlas.go | 0 | 8 | 0.0% | ||
atlas/map.go | 0 | 17 | 0.0% | ||
provider/postgis/postgis.go | 29 | 145 | 20.0% | ||
<!-- | Total: | 32 | 180 | 17.78% | --> |
Files with Coverage Reduction | New Missed Lines | % | ||
---|---|---|---|---|
provider/postgis/postgis.go | 1 | 55.37% | ||
<!-- | Total: | 1 | --> |
Totals | |
---|---|
Change from base Build 236f86409: | -0.4% |
Covered Lines: | 5430 |
Relevant Lines: | 12068 |
fixes #758
One thing I noticed, that I don't think is from this PR is a missing nil
check here:
https://github.com/go-spatial/tegola/blob/5bfe906a356a1d0bd63230862f4bfcfa49103a6d/observability/prometheus/prometheus.go#L211
Because of the following line:
https://github.com/go-spatial/tegola/blob/5bfe906a356a1d0bd63230862f4bfcfa49103a6d/observability/prometheus/prometheus.go#L154
One thing I noticed, that I don't think is from this PR is a missing
nil
check here:Because of the following line:
fixed.
@gdey I'm working on the local tests for this and realized the readme has not been updated with the new metrics. Please add those when you have a chance.