Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
boynet committed Jun 8, 2016
1 parent 0b6c4f3 commit 7987b3d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ this libary just taking simple data and transform it to [influxdb line protocol]

1. this library transform plain objects into valid line protocol
2. give you easy way to send points in batch
3. easy way of losing at less points as possible by using navigator.sendBeacon when the user leave the page and there is some unsend data
3. easy way of losing at less points as possible by using navigator.sendBeacon when the user leave the page and there is some unsend data(OFF by default)

#how to use?
include influxdb.min.js in your page:
Expand Down Expand Up @@ -55,6 +55,6 @@ you can also use the short verse like:

each point must have at least key and one fields look here for more info: [influxdb line protocol](https://docs.influxdata.com/influxdb/v0.13/write_protocols/line/)

key - string the measurement name
fields -object { alert=true,reason="value above maximum threshold"2}
tags - null|object { url : "/index", user_id : 1234 }
- key - string the measurement name
- fields -object { alert=true,reason="value above maximum threshold"2}
- tags - null|object { url : "/index", user_id : 1234 }

0 comments on commit 7987b3d

Please sign in to comment.