-
Notifications
You must be signed in to change notification settings - Fork 454
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: ChrisChinchilla <[email protected]>
- Loading branch information
ChrisChinchilla
committed
Sep 17, 2020
1 parent
844b0d9
commit d347154
Showing
4 changed files
with
34 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#!/bin/bash | ||
curl -X POST http://localhost:7201/api/v1/json/write -d '{ | ||
"tags": | ||
{ | ||
"__name__": "third_avenue", | ||
"city": "new_york", | ||
"checkout": "1" | ||
}, | ||
"timestamp": '\"$(date "+%s")\"', | ||
"value": 3347.26 | ||
}' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#!/bin/bash | ||
curl -X POST http://localhost:7201/api/v1/json/write -d '{ | ||
"tags": | ||
{ | ||
"__name__": "third_avenue", | ||
"city": "new_york", | ||
"checkout": "1" | ||
}, | ||
"timestamp": '\"$(date "+%s")\"', | ||
"value": 5347.26 | ||
}' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#!/bin/bash | ||
curl -X POST http://localhost:7201/api/v1/json/write -d '{ | ||
"tags": | ||
{ | ||
"__name__": "third_avenue", | ||
"city": "new_york", | ||
"checkout": "1" | ||
}, | ||
"timestamp": '\"$(date "+%s")\"', | ||
"value": 7347.26 | ||
}' |