gometric / statsd-http-proxy Goto Github PK
View Code? Open in Web Editor NEWThis project forked from sokil/statsd-http-proxy
StatsD HTTP proxy server with REST interface for using in browsers
License: MIT License
This project forked from sokil/statsd-http-proxy
StatsD HTTP proxy server with REST interface for using in browsers
License: MIT License
CORS OPTIONS handler listens any unknown route and faiuld with 405. Must be 404.
Check https://github.com/gorilla/handlers Handlers.CORS()
Allow specigy timeouts from cli params
Enable by cli flag --stat
Get from /stat resource
Example middlewares:
https://github.com/thoas/stats
Profile request rate with and without stat collect.
allow configure all options in file and pass it through --config|-c
option
Add CLI parameters --buffer-ttl
in seconds and --buffer-length
. If set, add metrics to buffer instead of direct send to StatsD and flush every --buffer-ttl
or when buffer length --buffer-length
reached.
May be usefull to decrease network operations, if StatsD also has buffer of messages
Replace with native implementation or third pary like:
https://github.com/julienschmidt/httprouter
https://github.com/go-chi/chi
Benchmarks: https://github.com/julienschmidt/go-http-routing-benchmark
How much cost JWT token useage for time of track and rps.
Create profiler, and commit stat.
Frontend may buffer metrics on its size and send it to proxy. REST interface requires to much retwork operations. Add batch endpoint.
Add configuration of domains allowed to do requets to proxy.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.