From 4fe166e56d772fbc4c55e153ed742bff13ccf08e Mon Sep 17 00:00:00 2001 From: stevebang Date: Tue, 5 Feb 2019 12:43:25 -0800 Subject: [PATCH] update pages --- content/v2.0/collect-data/_index.md | 4 +-- .../v2.0/collect-data/advanced-telegraf.md | 4 +-- .../v2.0/collect-data/scraper-quickstart.md | 6 ++-- content/v2.0/collect-data/scraper-scraping.md | 35 +++++++++++++++++++ 4 files changed, 42 insertions(+), 7 deletions(-) create mode 100644 content/v2.0/collect-data/scraper-scraping.md diff --git a/content/v2.0/collect-data/_index.md b/content/v2.0/collect-data/_index.md index 65aade591..1edb765a9 100644 --- a/content/v2.0/collect-data/_index.md +++ b/content/v2.0/collect-data/_index.md @@ -1,5 +1,5 @@ --- -title: Collect data with InfluxDB +title: Collect data with InfluxDB 2.0 description: > InfluxDB provides multiple ways to collect time series data including using Telegraf, using InfluxDB's built-in data scraper, and using line protocol. @@ -9,8 +9,6 @@ menu: weight: 2 --- -**Note: More guides appearing shortly!** - The following guides will give you a taste of how you can use the InfluxDB user interface (UI) to collect data into InfluxDB 2.0 buckets and display the data in dashboards. diff --git a/content/v2.0/collect-data/advanced-telegraf.md b/content/v2.0/collect-data/advanced-telegraf.md index e7263461e..c214293cb 100644 --- a/content/v2.0/collect-data/advanced-telegraf.md +++ b/content/v2.0/collect-data/advanced-telegraf.md @@ -1,11 +1,11 @@ --- -title: Create a Telegraf configuration to collect system metrics +title: Collect metrics using Telegraf seotitle: Create a Telegraf configuration to collect system metrics description: > Create a Telegraf configuration to collect system metrics menu: v2_0: - name : Create a Telegraf configuration to collect system metrics + name : Collect metrics using Telegraf parent: Collect data weight: 2 --- diff --git a/content/v2.0/collect-data/scraper-quickstart.md b/content/v2.0/collect-data/scraper-quickstart.md index 00c011da5..c3c09404d 100644 --- a/content/v2.0/collect-data/scraper-quickstart.md +++ b/content/v2.0/collect-data/scraper-quickstart.md @@ -26,8 +26,10 @@ Follow the steps here to capture Prometheus format data into an InfluxDB 2.0 buc 5. Click **Create Scraper**. The **Data Loading** page appears with **Add Scraper Target** options to define a scraper. 6. From the **Bucket** listing, select the bucket that you wan to be use to collect data. 7. Enter the **Target URL** to use for the Prometheus `/metrics` HTTP endpoint. The default URL value is `http://localhost:9100/metrics`. -8. Click **Finish**. The new scraper for Node Explorer appears as a new row in the listing of scrapers and displays the values for the **URL** and the **BUCKET**. +8. Click **Finish**. Your new scraper appears in the scraper listing, displaying the values you specified for the **URL** and the **BUCKET**. -The new scraper for the Prometheus Node Exporter is now collecting data into the InfluxDB bucket you specified. +The new scraper for is now collecting data into the InfluxDB bucket you specified. For information on creating InfluxDB 2.0 dashboards that use the Node Exporter data, see [Visualize data with InfluxDB](http://v2.dpcs.influxdata.com/v2.0/visualize-data/). + +To learn more about diff --git a/content/v2.0/collect-data/scraper-scraping.md b/content/v2.0/collect-data/scraper-scraping.md new file mode 100644 index 000000000..c8d80ec93 --- /dev/null +++ b/content/v2.0/collect-data/scraper-scraping.md @@ -0,0 +1,35 @@ +--- +title: Scrape data using the /metrics endpoint +seotitle: Scrape data using the /metrics endpoint +description: > + Scrape data into an InfluxDB bucket. +menu: + v2_0: + name: Scrape data using the /metrics endpoint + parent: Collect data + weight: 1 +--- + +You can use the InfluxDB 2.0 user interface (UI) to quickly define a scraper that can capture hardware and OS metrics from third-party systems and translate the data into the popular Prometheus format, which is supported by InfluxDB. + +Follow the steps below to configure an InfluxDB 2.0 scraper to collect metrics generated by InfluxDB 2.0 into a bucket. + +## Configure an InfluxDB scraper to collect InfluxDB 2.0 metrics + +Follow the steps here to capture Prometheus format data into an InfluxDB 2.0 bucket. + +1. Open a web browser to your InfluxDB 2.0 instance + [localhost:9999](http://localhost:9999). The login screen for the UI (user interface) appears. +2. Log in using your username and password. The **Getting started with InfluxDB 2.0** screen appears. +3. In the navigation bar on the left, click **Organizations** and then click the name of your organization. The **Organization** page appears for the selected organization. +4. Click the **Scrapers** tab. A listing of any existing scrapers appears, listing the **URL** and the **BUCKET** name. +5. Click **Create Scraper**. The **Data Loading** page appears with **Add Scraper Target** options to define a scraper. +6. From the **Bucket** listing, select the bucket that you wan to be use to collect data. +7. Enter the **Target URL** to use for the Prometheus `/metrics` HTTP endpoint. The default URL value is `http://localhost:9100/metrics`. +8. Click **Finish**. Your new scraper appears in the scraper listing, displaying the values you specified for the **URL** and the **BUCKET**. + +The new scraper for is now collecting data into the InfluxDB bucket you specified. + +For information on creating InfluxDB 2.0 dashboards that use the Node Exporter data, see [Visualize data with InfluxDB](http://v2.dpcs.influxdata.com/v2.0/visualize-data/). + +To learn more about