changes to address PR feedback

pull/963/head
Scott Anderson 2020-04-22 11:23:49 -06:00
parent a8250c06a5
commit 3ddc1445a5
3 changed files with 27 additions and 11 deletions

View File

@ -549,12 +549,29 @@ For more information about generating InfluxDB API documentation, see the
[API Documentation README](https://github.com/influxdata/docs-v2/tree/master/api-docs#readme).
## InfluxDB URLs
InfluxDB and InfluxDB cloud are accessed at different and varying URLs.
The InfluxDB documentation customizes InfluxDB URLs inside of code blocks using
the product / region selected by the user.
When a user selects an InfluxDB product and region, example URLs in code blocks
throughout the documentation are updated to match their product and region.
InfluxDB URLs are configured in `/data/influxdb_urls.yml`.
The default URL that is replaced inside of code blocks is `http://localhost:9999`.
By default, the InfluxDB URL replaced inside of code blocks is `http://localhost:9999`.
Use this URL in all code examples that should be updated with a selected provider and region.
For example:
~~~
```sh
# This URL will get updated
http://localhost:9999
# This URL will NOT get updated
http://example.com
```
~~~
If the user selects the **US West (Oregon)** region, all occurrences of `http://localhost:9999`
in code blocks will get updated to `https://us-west-2-1.aws.cloud2.influxdata.com`.
### Exempt URLs from getting updated
To exempt a code block from being updated, include the `{{< keep-url >}}` shortcode
just before the code block.

View File

@ -5,7 +5,7 @@ menu:
v2_0:
name: Example post
weight: 1
#draft: true
draft: true
"v2.0/tags": [influxdb, functions]
related:
- /v2.0/write-data/

View File

@ -479,25 +479,24 @@ The primary differences between InfluxDB OSS 2.0 and InfluxDB Cloud 2.0 are:
- [InfluxDB scrapers](/v2.0/write-data/scrape-data/) that collect data from specified
targets are not available in {{< cloud-name "short" >}}.
- {{< cloud-name "short" >}} instances are currently limited to a single organization with a single user.
- Retrieving data from a file based CSV source using the `file` parameter of the
[`csv.from()`](/v2.0/reference/flux/functions/csv/from) function is not supported;
- **InfluxDB Cloud** does not support retrieving data from a file based CSV source
using the `file` parameter of the [`csv.from()`](/v2.0/reference/flux/functions/csv/from);
however you can use raw CSV data with the `csv` parameter.
#### New features in InfluxDB Cloud 2.0
- **Free Plan (rate-limited)**: Skip downloading and installing InfluxDB 2.0 and
jump right in to exploring InfluxDB 2.0 technology.
jump into exploring InfluxDB 2.0 technology.
The Free Plan is designed for getting started with InfluxDB and for small hobby projects.
- **Flux support**: [Flux](/v2.0/query-data/get-started/) is a standalone data
scripting and query language that increases productivity and code reuse.
It is the primary language for working with data within InfluxDB 2.0.
Flux can be used with other data sources as well.
This allows users to work with data where it resides.
Flux can be used with other data sources as well, letting you work with data where it resides.
- **Unified API**: Everything in InfluxDB (ingest, query, storage, and visualization)
is now accessible using a unified [InfluxDB v2 API](/v2.0/reference/api/) that
enables seamless movement between open source and cloud.
- **Integrated visualization and dashboards**: Based on the pioneering Chronograf project,
the new user interface (InfluxDB UI) offers quick and effortless onboarding,
richer user experiences, and significantly quicker results.
- **Usage-based pricing**: The [The Usage-based Plan](/v2.0/cloud/pricing-plans/#usage-based-plan)
- **Usage-based pricing**: The [Usage-based Plan](/v2.0/cloud/pricing-plans/#usage-based-plan)
offers more flexibility and ensures that you only pay for what you use.