consbio / mbtileserver

Basic Go server for mbtiles
ISC License
657 stars 104 forks source link

Consider adding a /metrics endpoint #171

Closed dBitech closed 1 year ago

dBitech commented 1 year ago

to enable profiling

brendan-ward commented 1 year ago

Thanks for the suggestion @dBitech

I think capturing and persisting metrics internally is outside of the intended scope of the project / contributor capacity for the time being, so I'm going to close this issue. I agree it may be useful, but it is nontrivial.

You can probably use other tools in the Go ecosystem to profile the internals of mbtileserver, and there are other tools that can be used to capture server-side metrics under load such as response time, memory usage, CPU usage, etc. - which are likely the more valuable metrics anyway.