Edit quick start page

pull/35/head
stevebang 2019-02-05 23:50:55 -08:00
parent 309e2a9789
commit 48a9f3a706
1 changed files with 14 additions and 11 deletions

View File

@ -10,31 +10,34 @@ menu:
weight: 1 weight: 1
--- ---
>**Note:** The steps below only apply during your initial configuration and usage of your InfluxDB 2.0 instance. The page described below is not available after clicking one of the three options. For steps on configuring a scraper yourself, see [Scrape data using the /metrics endpoint](influxdb/v2.0/scraper-endpoint/). >**Note:** The steps below are available on a page that appears after you complete the initial configuration described in [Set up InfluxDB](/v2.0/get-started/#setup-influxdb). After clicking one of the three options, the page is no longer available.
>
>If you missed the change to select Quick Start or you want to learn how to configure a scraper yourself, see [Scrape data using the /metrics endpoint](influxdb/v2.0/collect-data/scraper-endpoint/).
## Use **Quick Start** to collect InfluxDB metrics ## Use **Quick Start** to collect InfluxDB metrics
When you start InfluxDB 2.0 for the first time, you are guided to configure a user, organization, and a bucket. When you start InfluxDB 2.0 for the first time, you are guided to configure a user, an organization, and a bucket (see [Set up InfluxDB](/v2.0/get-started/#setup-influxdb)). After completing the setup, the next page displays "Let's start collecting data!" and three options.
After you complete this initial configuration, the next page includes "Let's start collecting data!" and three options.
This page guides you on using the **Quick Start** option.
On the page that includes "Let's start collecting data!" and three options, click **Quick Start**. The following message appears in a popup alert: On this page, click **Quick Start**.
The following message appears in a popup alert:
`The InfluxDB Scraper has been configured for http://localhost:9999/metrics.` `The InfluxDB Scraper has been configured for http://localhost:9999/metrics.`
Behind the scenes, here's what happened: Behind the scenes, here's what happened:
* InfluxDB 2.0 configured a scraper named "InfluxDB Scraper" 1. InfluxDB 2.0 configured a scraper named "InfluxDB Scraper."
- The target URL points to the `/metrics` HTTP endpoint of your
* The target URL points to the `/metrics` HTTP endpoint of your
local InfluxDB instance: http://localhost:9999/metrics. The `/metrics` HTTP endpoint monitors your InfluxDB instance, collects metrics from it, and provides the data in the [Prometheus data format](https://prometheus.io/docs/instrumenting/exposition_formats/). local InfluxDB instance: http://localhost:9999/metrics. The `/metrics` HTTP endpoint monitors your InfluxDB instance, collects metrics from it, and provides the data in the [Prometheus data format](https://prometheus.io/docs/instrumenting/exposition_formats/).
- The bucket configured to collect the scraped data is the initial * The bucket configured to collect the scraped data is the initial
bucket you named on the previous page. bucket that you named previously in [Set up InfluxDB](/v2.0/get-started/#setup-influxdb).
* The InfluxDB Scraper immediately started collecting InfluxDB data and
2. The InfluxDB Scraper immediately started collecting InfluxDB data and
writing it into your bucket. writing it into your bucket.
To see a sample of the data being collected in Prometheus format, you can use one of the following methods to display a sample of the exposed InfluxDB metrics in the Prometheus text-based format: To see a sample of the data being collected in Prometheus format, you can use one of the following methods to display a sample of the exposed InfluxDB metrics in the Prometheus text-based format:
* Open the InfluxDB Scraper URL (http://localhost:9999/metrics) in a web browser. A sample of the data appears in a text file, with the data in the Prometheus format. * In a web browser, open the InfluxDB Scraper URL (http://localhost:9999/metrics).
* In a terminal window, run the following cURL command: `curl http://localhost:9999/metrics`. * In a terminal window, run the following cURL command: `curl http://localhost:9999/metrics`.