diff --git a/docs/content/quickstart/_index.md b/docs/content/quickstart/_index.md index 2cb11bd9e5..334b685893 100644 --- a/docs/content/quickstart/_index.md +++ b/docs/content/quickstart/_index.md @@ -74,7 +74,7 @@ You can find more information on configuring M3DB in the [operational guides sec A time series database (TSDBs) typically consist of one node (or instance) to store metrics data. This setup is simple to use, but has issues with scalability over time as the quantity of metrics data written and read increases. -As a distributed TSDB M3DB helps solves this problem by spreading metrics data, and demand for that data, across multiple nodes in a cluster. M3DB does this by splitting data into segments that match certain criteria (such as above a certain value) across nodes into {{< glossary_tooltip text="shards" term_id="shards" >}}. +As a distributed TSDB M3DB helps solves this problem by spreading metrics data, and demand for that data, across multiple nodes in a cluster. M3DB does this by splitting data into segments that match certain criteria (such as above a certain value) across nodes into {{< glossary_tooltip text="shards" term_id="shard" >}}. diff --git a/docs/static/quickstart/write-metrics-1.sh b/docs/static/quickstart/write-metrics-1.sh new file mode 100755 index 0000000000..b671001395 --- /dev/null +++ b/docs/static/quickstart/write-metrics-1.sh @@ -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 +}' \ No newline at end of file diff --git a/docs/static/quickstart/write-metrics-2.sh b/docs/static/quickstart/write-metrics-2.sh new file mode 100755 index 0000000000..9ebd27ee9c --- /dev/null +++ b/docs/static/quickstart/write-metrics-2.sh @@ -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 +}' \ No newline at end of file diff --git a/docs/static/quickstart/write-metrics-3.sh b/docs/static/quickstart/write-metrics-3.sh new file mode 100755 index 0000000000..6bc2c45ab7 --- /dev/null +++ b/docs/static/quickstart/write-metrics-3.sh @@ -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 +}' \ No newline at end of file