From d3471543de9ec4c30c509bb2658642f636360629 Mon Sep 17 00:00:00 2001 From: ChrisChinchilla Date: Thu, 17 Sep 2020 13:00:17 +0200 Subject: [PATCH] Add back missing files Signed-off-by: ChrisChinchilla --- docs/content/quickstart/_index.md | 2 +- docs/static/quickstart/write-metrics-1.sh | 11 +++++++++++ docs/static/quickstart/write-metrics-2.sh | 11 +++++++++++ docs/static/quickstart/write-metrics-3.sh | 11 +++++++++++ 4 files changed, 34 insertions(+), 1 deletion(-) create mode 100755 docs/static/quickstart/write-metrics-1.sh create mode 100755 docs/static/quickstart/write-metrics-2.sh create mode 100755 docs/static/quickstart/write-metrics-3.sh 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