https://github.com/jvrplmlmn/nginx-requests-stats
The nginx-requests-stats application reads a Nginx log, and counts the number of requests in the last 24 hours.
https://github.com/jvrplmlmn/nginx-requests-stats
go golang nginx
Last synced: about 1 month ago
JSON representation
The nginx-requests-stats application reads a Nginx log, and counts the number of requests in the last 24 hours.
- Host: GitHub
- URL: https://github.com/jvrplmlmn/nginx-requests-stats
- Owner: jvrplmlmn
- License: mit
- Created: 2017-01-31T20:03:57.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-02-02T15:02:52.000Z (over 9 years ago)
- Last Synced: 2025-03-30T06:26:25.196Z (about 1 year ago)
- Topics: go, golang, nginx
- Language: Go
- Homepage: https://github.com/jvrplmlmn/nginx-requests-stats
- Size: 23.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# nginx-requests-stats
[](https://travis-ci.org/jvrplmlmn/nginx-requests-stats)
The `nginx-requests-stats` application reads a Nginx log, and counts the number of requests in the last 24 hours.
The application binds to `localhost:8080` and exposes the following HTTP endpoints:
```
GET /version
{
"version": "0.1.0"
}
```
```
GET /count
{
"requests": 15
}
```