Skip to content

Map usage, cache and failure metrics - #3

Merged
mattiashem merged 2 commits into
mainfrom
map-usage-metrics
Nov 18, 2026
Merged

mattiashem merged 2 commits into
mainfrom
map-usage-metrics

Conversation

@mattiashem

Copy link
Copy Markdown
Contributor

Count vector tiles by layer and cache result, catch-all objects by kind,
space and result, and the terracotta forwardAuth decisions by space.
Map ids stay out of Prometheus labels: /stats/maps (in-cluster only)
serves per-map request and error counts merged across workers, and each
failure writes one JSON log line.

The catch-all no longer turns every download failure into a 404: an
object-storage or cache-volume failure is now a 502 and counted as
s3_error / cache_error; a missing key is still a 404.

🤖 Generated with Claude Code

SAM-Admin and others added 2 commits November 18, 2026 18:58
Count vector tiles by layer and cache result, catch-all objects by kind,
space and result, and the terracotta forwardAuth decisions by space.
Map ids stay out of Prometheus labels: /stats/maps (in-cluster only)
serves per-map request and error counts merged across workers, and each
failure writes one JSON log line.

The catch-all no longer turns every download failure into a 404: an
object-storage or cache-volume failure is now a 502 and counted as
s3_error / cache_error; a missing key is still a 404.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@mattiashem
mattiashem merged commit 43330e0 into main Nov 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants