Files
Scanning the repository...
Last update 2 years 6 months
by Kihun Song
| FilesESP8266-BME680-InfluxDBlibInfluxDB-Client-for-Arduino-mastertestserver | |
|---|---|
| .. | |
| Readme.md | |
| package.json | |
| server.js |
Readme.mdInfluxDB 2 mock server
Mock server which simulates InfluxDB 1 and 2 write and query API.
First time, run:
npm installto download dependencies.Run server:
node server.js:In query, it returns all written points, unless deleted. The results set had simple cvs form: measurement,tags, fields.
1st point in a batch if it has tag with name
directioncontrols advanced behavior with value: -429-1- reply with 429 status code and add Reply-After header with value 30 -429-2- reply with 429 status -503-1- reply with 503 status code and add Reply-After header with value 10 -503-2- reply with 503 status -delete-all- deletes all written points