Skip to content

Commit

Permalink
fix: update doc links to point at new site (#20754)
Browse files Browse the repository at this point in the history
  • Loading branch information
danxmoran authored Feb 16, 2021
1 parent afbe31d commit 6515a79
Show file tree
Hide file tree
Showing 24 changed files with 334 additions and 327 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
1. [20705](https://github.com/influxdata/influxdb/pull/20705): Repair swagger to match implementation of DBRPs type.
1. [19936](https://github.com/influxdata/influxdb/pull/19936): Fix use-after-free bug in series ID iterator. Thanks @foobar!
1. [20585](https://github.com/influxdata/influxdb/pull/20585): Fix TSM WAL segement size check. Thanks @foobar!
1. [20754](https://github.com/influxdata/influxdb/pull/20754): Update references to docs site to use current URLs.

## v2.0.4 [2021-02-08]

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

InfluxDB is an open source time series platform. This includes APIs for storing and querying data, processing it in the background for ETL or monitoring and alerting purposes, user dashboards, and visualizing and exploring the data and more. The master branch on this repo now represents the latest InfluxDB, which now includes functionality for Kapacitor (background processing) and Chronograf (the UI) all in a single binary.

The list of InfluxDB Client Libraries that are compatible with the latest version can be found in [our documentation](https://v2.docs.influxdata.com/v2.0/reference/api/client-libraries/).
The list of InfluxDB Client Libraries that are compatible with the latest version can be found in [our documentation](https://docs.influxdata.com/influxdb/latest/tools/client-libraries/).

If you are looking for the 1.x line of releases, there are branches for each minor version as well as a `master-1.x` branch that will contain the code for the next 1.x release. The master-1.x [working branch is here](https://github.com/influxdata/influxdb/tree/master-1.x). The [InfluxDB 1.x Go Client can be found here](https://github.com/influxdata/influxdb1-client).

Expand All @@ -15,7 +15,7 @@ If you are interested in building from source, see the [building from source](CO

## Getting Started

For a complete getting started guide, please see our full [online documentation site](https://docs.influxdata.com/influxdb/v2.0/).
For a complete getting started guide, please see our full [online documentation site](https://docs.influxdata.com/influxdb/latest/).

To write and query data or use the API in any way, you'll need to first create a user, credentials, organization and bucket.
Everything in InfluxDB is organized under a concept of an organization. The API is designed to be multi-tenant.
Expand Down
18 changes: 9 additions & 9 deletions cmd/influx/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ func (b *cmdConfigBuilder) cmd() *cobra.Command {
to manually enter a token to log into InfluxDB.
For information about the config command, see
https://v2.docs.influxdata.com/v2.0/reference/cli/influx/config
https://docs.influxdata.com/influxdb/latest/reference/cli/influx/config/
`

b.registerFilepath(cmd)
Expand Down Expand Up @@ -124,9 +124,9 @@ func (b *cmdConfigBuilder) cmdCreate() *cobra.Command {
influx config create -n $CFG_NAME -u $HOST_URL -t $TOKEN -o $ORG_NAME
For information about the config command, see
https://v2.docs.influxdata.com/v2.0/reference/cli/influx/config
https://docs.influxdata.com/influxdb/latest/reference/cli/influx/config/
and
https://v2.docs.influxdata.com/v2.0/reference/cli/influx/config/create`
https://docs.influxdata.com/influxdb/latest/reference/cli/influx/config/create/`

b.registerFilepath(cmd)
b.registerPrintFlags(cmd)
Expand Down Expand Up @@ -177,9 +177,9 @@ func (b *cmdConfigBuilder) cmdDelete() *cobra.Command {
influx config rm $CFG_NAME_1 $CFG_NAME_2
For information about the config command, see
https://v2.docs.influxdata.com/v2.0/reference/cli/influx/config
https://docs.influxdata.com/influxdb/latest/reference/cli/influx/config/
and
https://v2.docs.influxdata.com/v2.0/reference/cli/influx/config/remove`
https://docs.influxdata.com/influxdb/latest/reference/cli/influx/config/rm/`

b.registerPrintFlags(cmd)
cmd.Flags().StringVarP(&b.name, "name", "n", "", "The config name (required)")
Expand Down Expand Up @@ -229,9 +229,9 @@ func (b *cmdConfigBuilder) cmdUpdate() *cobra.Command {
influx config set -n $CFG_NAME -u $HOST_URL -t $TOKEN -o $ORG_NAME
For information about the config command, see
https://v2.docs.influxdata.com/v2.0/reference/cli/influx/config
https://docs.influxdata.com/influxdb/latest/reference/cli/influx/config/
and
https://v2.docs.influxdata.com/v2.0/reference/cli/influx/config/set`
https://docs.influxdata.com/influxdb/latest/reference/cli/influx/config/set/`

b.registerPrintFlags(cmd)
b.registerConfigSettingFlags(cmd)
Expand Down Expand Up @@ -282,9 +282,9 @@ func (b *cmdConfigBuilder) cmdList() *cobra.Command {
influx config list
For information about the config command, see
https://v2.docs.influxdata.com/v2.0/reference/cli/influx/config
https://docs.influxdata.com/influxdb/latest/reference/cli/influx/config/
and
https://v2.docs.influxdata.com/v2.0/reference/cli/influx/config/list`
https://docs.influxdata.com/influxdb/latest/reference/cli/influx/config/list/`
b.registerPrintFlags(cmd)
return cmd
}
Expand Down
22 changes: 11 additions & 11 deletions cmd/influx/template.go
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ func (b *cmdTemplateBuilder) cmdApply() *cobra.Command {
--filter resource=Dashboard:$DASHBOARD_TMPL_NAME
For information about finding and using InfluxDB templates, see
https://v2.docs.influxdata.com/v2.0/reference/cli/influx/apply/.
https://docs.influxdata.com/influxdb/latest/reference/cli/influx/apply/.
For more templates created by the community, see
https://github.com/influxdata/community-templates.
Expand Down Expand Up @@ -343,7 +343,7 @@ func (b *cmdTemplateBuilder) cmdExport() *cobra.Command {
resource flag and then provide the IDs.
For information about exporting InfluxDB templates, see
https://v2.docs.influxdata.com/v2.0/reference/cli/influx/export/
https://docs.influxdata.com/influxdb/latest/reference/cli/influx/export/
`
cmd.AddCommand(
b.cmdExportAll(),
Expand Down Expand Up @@ -472,9 +472,9 @@ func (b *cmdTemplateBuilder) cmdExportAll() *cobra.Command {
--filter=labelName=Foo
For information about exporting InfluxDB templates, see
https://v2.docs.influxdata.com/v2.0/reference/cli/influx/export
https://docs.influxdata.com/influxdb/latest/reference/cli/influx/export/
and
https://v2.docs.influxdata.com/v2.0/reference/cli/influx/export/all
https://docs.influxdata.com/influxdb/latest/reference/cli/influx/export/all/
`

cmd.Flags().StringVarP(&b.file, "file", "f", "", "output file for created template; defaults to std out if no file provided; the extension of provided file (.yml/.json) will dictate encoding")
Expand Down Expand Up @@ -540,9 +540,9 @@ func (b *cmdTemplateBuilder) cmdExportStack() *cobra.Command {
influx export stack $STACK_ID
For information about exporting InfluxDB templates, see
https://v2.docs.influxdata.com/v2.0/reference/cli/influx/export
https://docs.influxdata.com/influxdb/latest/reference/cli/influx/export/
and
https://v2.docs.influxdata.com/v2.0/reference/cli/influx/export/stack/
https://docs.influxdata.com/influxdb/latest/reference/cli/influx/export/stack/
`
cmd.Args = cobra.ExactValidArgs(1)

Expand Down Expand Up @@ -638,7 +638,7 @@ func (b *cmdTemplateBuilder) cmdStacks() *cobra.Command {
influx stacks --stack-id=$STACK_ID --stack-name=$STACK_NAME
For information about Stacks and how they integrate with InfluxDB templates, see
https://v2.docs.influxdata.com/v2.0/reference/cli/influx/stacks
https://docs.influxdata.com/influxdb/latest/reference/cli/influx/stacks/
`

cmd.AddCommand(
Expand Down Expand Up @@ -667,9 +667,9 @@ func (b *cmdTemplateBuilder) cmdStackInit() *cobra.Command {
influx stacks init -n $STACK_NAME -u $PATH_TO_TEMPLATE
For information about how stacks work with InfluxDB templates, see
https://v2.docs.influxdata.com/v2.0/reference/cli/influx/stacks/
https://docs.influxdata.com/influxdb/latest/reference/cli/influx/stacks/
and
https://v2.docs.influxdata.com/v2.0/reference/cli/influx/stacks/init/
https://docs.influxdata.com/influxdb/latest/reference/cli/influx/stacks/init/
`

cmd.Flags().StringVarP(&b.name, "stack-name", "n", "", "Name given to created stack")
Expand Down Expand Up @@ -860,9 +860,9 @@ func (b *cmdTemplateBuilder) cmdStackUpdate() *cobra.Command {
--export-file /path/to/file.yml
For information about how stacks work with InfluxDB templates, see
https://v2.docs.influxdata.com/v2.0/reference/cli/influx/stacks
https://docs.influxdata.com/influxdb/latest/reference/cli/influx/stacks/
and
https://v2.docs.influxdata.com/v2.0/reference/cli/influx/stacks/update/
https://docs.influxdata.com/influxdb/latest/reference/cli/influx/stacks/update/
`

cmd.Flags().StringVarP(&b.stackID, "stack-id", "i", "", "ID of stack")
Expand Down
4 changes: 2 additions & 2 deletions pkg/csv2lp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,10 +125,10 @@ test available=false 4
test available=true 5
```
## CSV Data On Input
This library supports all the concepts of [flux result annotated CSV](https://v2.docs.influxdata.com/v2.0/reference/syntax/annotated-csv/#tables) and provides a few extensions that allow to process existing/custom CSV files. The conversion to line protocol is driven by contents of annotation rows and layout of the header row.
This library supports all the concepts of [flux result annotated CSV](https://docs.influxdata.com/influxdb/latest/reference/syntax/annotated-csv/#tables) and provides a few extensions that allow to process existing/custom CSV files. The conversion to line protocol is driven by contents of annotation rows and layout of the header row.

#### New data types
Existing [data types](https://v2.docs.influxdata.com/v2.0/reference/syntax/annotated-csv/#data-types) are supported. The CSV input can also contain the following data types that are used to associate a column value to a part of a protocol line
Existing [data types](https://docs.influxdata.com/influxdb/latest/reference/syntax/annotated-csv/#data-types) are supported. The CSV input can also contain the following data types that are used to associate a column value to a part of a protocol line
- `measurement` data type identifies a column that carries the measurement name
- `tag` data type identifies a column with a tag value, column label (from the header row) is the tag name
- `time` is an alias for existing `dateTime` type , there is at most one such column in a CSV row
Expand Down
2 changes: 1 addition & 1 deletion pkg/csv2lp/data_conversion.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
"golang.org/x/text/encoding/ianaindex"
)

// see https://v2.docs.influxdata.com/v2.0/reference/syntax/annotated-csv/#valid-data-types
// see https://docs.influxdata.com/influxdb/latest/reference/syntax/annotated-csv/#data-types
const (
stringDatatype = "string"
doubleDatatype = "double"
Expand Down
4 changes: 2 additions & 2 deletions scripts/post-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,10 @@ upgrade, execute the following:
sudo /usr/share/influxdb/influxdb2-upgrade.sh
Visit our website for complete details on the v1 to v2 upgrade process:
https://docs.influxdata.com/influxdb/v2.0/upgrade/v1-to-v2/
https://docs.influxdata.com/influxdb/latest/upgrade/v1-to-v2/
For new or upgrade installations, please review the getting started guide:
https://docs.influxdata.com/influxdb/v2.0/get-started/
https://docs.influxdata.com/influxdb/latest/get-started/
EOF
}
Expand Down
2 changes: 1 addition & 1 deletion ui/src/alerting/components/builder/HelpButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {Button} from '@influxdata/clockface'
const HelpButton: FunctionComponent = () => {
const handleClick = () => {
const newTab = window.open(
'https://v2.docs.influxdata.com/v2.0/monitor-alert/checks/create/#configure-the-check'
'https://docs.influxdata.com/influxdb/latest/monitor-alert/checks/create/#configure-the-check'
)
newTab.focus()
}
Expand Down
2 changes: 1 addition & 1 deletion ui/src/buckets/components/BucketExplainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const BucketExplainer: FunctionComponent = () => (
<br />
Here's{' '}
<a
href="https://v2.docs.influxdata.com/v2.0/write-data/"
href="https://docs.influxdata.com/influxdb/latest/write-data/"
target="_blank"
>
how to write data
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const LineProtocolHelperText: FC<{}> = () => {
<p>
Need help writing InfluxDB Line Protocol?{' '}
<a
href="https://v2.docs.influxdata.com/v2.0/reference/syntax/line-protocol/"
href="https://docs.influxdata.com/influxdb/latest/reference/syntax/line-protocol/"
target="_blank"
>
See Documentation
Expand Down
2 changes: 1 addition & 1 deletion ui/src/checks/components/CheckMessageCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ const CheckMessageCard: FC<Props> = ({
<p>
Need help? Check out the Status Message Template{' '}
<a
href="https://v2.docs.influxdata.com/v2.0/monitor-alert/checks/create/#flux-only-interpolates-string-values"
href="https://docs.influxdata.com/influxdb/latest/monitor-alert/checks/create/#flux-only-interpolates-string-values"
target="_blank"
>
Documentation
Expand Down
2 changes: 1 addition & 1 deletion ui/src/checks/components/ChecksColumn.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ const ChecksColumn: FunctionComponent<Props> = ({
<br />
<br />
<a
href="https://v2.docs.influxdata.com/v2.0/monitor-alert/checks/create/"
href="https://docs.influxdata.com/influxdb/latest/monitor-alert/checks/create/"
target="_blank"
>
Read Documentation
Expand Down
4 changes: 2 additions & 2 deletions ui/src/cloud/components/RateLimitAlertContent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ const RateLimitAlertContent: FC<Props> = ({showUpgrade, className}) => {
<span>
You've reached the maximum{' '}
<a
href="https://v2.docs.influxdata.com/v2.0/reference/glossary/#series-cardinality"
href="https://docs.influxdata.com/influxdb/latest/reference/glossary/#series-cardinality"
target="_blank"
>
series cardinality
Expand All @@ -66,7 +66,7 @@ const RateLimitAlertContent: FC<Props> = ({showUpgrade, className}) => {
<span>
You've reached the maximum{' '}
<a
href="https://v2.docs.influxdata.com/v2.0/reference/glossary/#series-cardinality"
href="https://docs.influxdata.com/influxdb/latest/reference/glossary/#series-cardinality"
target="_blank"
>
series cardinality
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ class VariablesControlBar extends PureComponent<Props, State> {
<EmptyState.Text>
This dashboard doesn't have any cells with defined variables.{' '}
<a
href="https://v2.docs.influxdata.com/v2.0/visualize-data/variables/"
href="https://docs.influxdata.com/influxdb/latest/visualize-data/variables/"
target="_blank"
>
Learn How
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,14 +61,14 @@ export class SelectCollectorsStep extends PureComponent<Props> {
<h5 className="wizard-step--sub-title">
Looking for other things to monitor? Check out our 200+ other &nbsp;
<a
href="https://v2.docs.influxdata.com/v2.0/reference/telegraf-plugins/#input-plugins"
href="https://docs.influxdata.com/telegraf/latest/plugins/#input-plugins"
target="_blank"
>
Telegraf Plugins
</a>
&nbsp; and how to &nbsp;
<a
href="https://v2.docs.influxdata.com/v2.0/write-data/no-code/use-telegraf/manual-config/"
href="https://docs.influxdata.com/influxdb/latest/write-data/no-code/use-telegraf/manual-config/"
target="_blank"
>
Configure these Plugins
Expand Down
11 changes: 7 additions & 4 deletions ui/src/me/components/Docs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,22 @@ import {Panel} from '@influxdata/clockface'

const supportLinks = [
{
link: 'https://v2.docs.influxdata.com/v2.0/query-data/get-started/',
link: 'https://docs.influxdata.com/influxdb/latest/query-data/get-started/',
title: 'Get Started with Flux',
},
{
link: 'https://v2.docs.influxdata.com/v2.0/visualize-data/explore-metrics/',
link:
'https://docs.influxdata.com/influxdb/latest/query-data/execute-queries/data-explorer/',
title: 'Explore Metrics',
},
{
link: 'https://v2.docs.influxdata.com/v2.0/visualize-data/dashboards/',
link:
'https://docs.influxdata.com/influxdb/latest/visualize-data/dashboards/',
title: 'Build a Dashboard',
},
{
link: 'https://v2.docs.influxdata.com/v2.0/process-data/write-a-task/',
link:
'https://docs.influxdata.com/influxdb/latest/process-data/get-started/',
title: 'Write a Task',
},
]
Expand Down
5 changes: 4 additions & 1 deletion ui/src/me/components/Support.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@
import React, {PureComponent} from 'react'

const supportLinks = [
{link: 'https://v2.docs.influxdata.com/v2.0/', title: '📜 Documentation'},
{
link: 'https://docs.influxdata.com/influxdb/latest/',
title: '📜 Documentation',
},
{link: 'https://community.influxdata.com', title: '💭 Community Forum'},
{
link:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ const EndpointsColumn: FC<Props> = ({history, match, endpoints, tabIndex}) => {
<br />
<br />
<a
href="https://v2.docs.influxdata.com/v2.0/monitor-alert/notification-endpoints/create"
href="https://docs.influxdata.com/influxdb/latest/monitor-alert/notification-endpoints/create/"
target="_blank"
>
Read Documentation
Expand Down
2 changes: 1 addition & 1 deletion ui/src/notifications/rules/components/RulesColumn.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ const NotificationRulesColumn: FunctionComponent<Props> = ({
<br />
<br />
<a
href="https://v2.docs.influxdata.com/v2.0/monitor-alert/notification-rules/create"
href="https://docs.influxdata.com/influxdb/latest/monitor-alert/notification-rules/create/"
target="_blank"
>
Read Documentation
Expand Down
Loading

0 comments on commit 6515a79

Please sign in to comment.