Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add request statistics #10

Open
rurseekatze opened this issue Aug 8, 2014 · 2 comments
Open

Add request statistics #10

rurseekatze opened this issue Aug 8, 2014 · 2 comments
Assignees

Comments

@rurseekatze
Copy link
Owner

rurseekatze commented Aug 8, 2014

Add an internal logging and statistics to count the number of tiles which was requested in the last minute, hour, day, etc. Also analyse e.g. referers to detect abuse (robots, mass downloads, ...).

It should be possible to access these stats with an API call which returns this data in JSON format.

@rurseekatze rurseekatze self-assigned this Aug 8, 2014
@rurseekatze
Copy link
Owner Author

By running node-tileserver behind Apache as proxy, we can use Apache for logging: OpenRailwayMap/OpenRailwayMap#524.

Now there is a demand for a tool that analyzes the logs produced by Apache. The question is if such a tool should be part of this repository or instead put into a separate repository. I think it might be useful to use another repository because such a tile request log analyzer might be also interesting for users of other renderers.

I will close this issue after a separate repository was created.

@DerDakon
Copy link
Contributor

Yes, this would be usable by every tileserver that produces apache-like logfiles.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants