simple proxy tool for Mashape Analytics
- currently only operates on plain HTTP calls (no SSL)
- no error handling of disconnected sockets, net issues. just restart it
- relies on
analytics-agent-node
PORT=8080 TOKEN=xxx npm start
| name | description | required | default |
|---|---|---|---|
PORT |
proxy port | yes | - |
TOKEN |
Mashape Analytics Token | yes | - |
ENVIRONMENT |
Mashape Analytics Environment | no | - |
BATCH |
ALF count per request | no | 1 |
ENTRIES |
Entries count per HAR | no | 1 |
NODE_DEBUG |
enable console logging by setting the value to analytics-proxy |
no | - |
set NODE_DEBUG to analytics-proxy,mashape-analytics to see logs from both the proxy and the agent.