Update the placeholder URL for dedicated (#5527)
* update the placeholder URL for dedicated * added dedicated URL migrationpull/5528/head
parent
e851b0089e
commit
5c7d3407ad
|
@ -3,6 +3,6 @@
|
||||||
variables:
|
variables:
|
||||||
baseurl:
|
baseurl:
|
||||||
enum:
|
enum:
|
||||||
- 'cluster-id.influxdb.io'
|
- 'cluster-id.a.influxdb.io'
|
||||||
default: 'cluster-id.influxdb.io'
|
default: 'cluster-id.a.influxdb.io'
|
||||||
description: InfluxDB Cloud Dedicated URL
|
description: InfluxDB Cloud Dedicated URL
|
||||||
|
|
|
@ -17,8 +17,8 @@ servers:
|
||||||
variables:
|
variables:
|
||||||
baseurl:
|
baseurl:
|
||||||
enum:
|
enum:
|
||||||
- cluster-id.influxdb.io
|
- cluster-id.a.influxdb.io
|
||||||
default: cluster-id.influxdb.io
|
default: cluster-id.a.influxdb.io
|
||||||
description: InfluxDB Cloud Dedicated URL
|
description: InfluxDB Cloud Dedicated URL
|
||||||
security:
|
security:
|
||||||
- BearerAuthentication: []
|
- BearerAuthentication: []
|
||||||
|
@ -1996,7 +1996,7 @@ components:
|
||||||
# Use the --user option with `--user username:DATABASE_TOKEN` syntax
|
# Use the --user option with `--user username:DATABASE_TOKEN` syntax
|
||||||
#######################################
|
#######################################
|
||||||
|
|
||||||
curl --get "http://cluster-id.influxdb.io/query" \
|
curl --get "http://cluster-id.a.influxdb.io/query" \
|
||||||
--user "":"DATABASE_TOKEN" \
|
--user "":"DATABASE_TOKEN" \
|
||||||
--data-urlencode "db=DATABASE_NAME" \
|
--data-urlencode "db=DATABASE_NAME" \
|
||||||
--data-urlencode "q=SELECT * FROM MEASUREMENT"
|
--data-urlencode "q=SELECT * FROM MEASUREMENT"
|
||||||
|
@ -2024,8 +2024,8 @@ components:
|
||||||
### Syntax
|
### Syntax
|
||||||
|
|
||||||
```http
|
```http
|
||||||
https://cluster-id.influxdb.io/query/?[u=any]&p=DATABASE_TOKEN
|
https://cluster-id.a.influxdb.io/query/?[u=any]&p=DATABASE_TOKEN
|
||||||
https://cluster-id.influxdb.io/write/?[u=any]&p=DATABASE_TOKEN
|
https://cluster-id.a.influxdb.io/write/?[u=any]&p=DATABASE_TOKEN
|
||||||
```
|
```
|
||||||
|
|
||||||
### Example
|
### Example
|
||||||
|
@ -2041,7 +2041,7 @@ components:
|
||||||
# ?p=DATABASE_TOKEN
|
# ?p=DATABASE_TOKEN
|
||||||
#######################################
|
#######################################
|
||||||
|
|
||||||
curl --get "https://cluster-id.influxdb.io/query" \
|
curl --get "https://cluster-id.a.influxdb.io/query" \
|
||||||
--data-urlencode "p=DATABASE_TOKEN" \
|
--data-urlencode "p=DATABASE_TOKEN" \
|
||||||
--data-urlencode "db=DATABASE_NAME" \
|
--data-urlencode "db=DATABASE_NAME" \
|
||||||
--data-urlencode "q=SELECT * FROM MEASUREMENT"
|
--data-urlencode "q=SELECT * FROM MEASUREMENT"
|
||||||
|
@ -2078,7 +2078,7 @@ components:
|
||||||
# to write data.
|
# to write data.
|
||||||
########################################################
|
########################################################
|
||||||
|
|
||||||
curl --request post "https://cluster-id.influxdb.io/api/v2/write?bucket=DATABASE_NAME&precision=s" \
|
curl --request post "https://cluster-id.a.influxdb.io/api/v2/write?bucket=DATABASE_NAME&precision=s" \
|
||||||
--header "Authorization: Bearer DATABASE_TOKEN" \
|
--header "Authorization: Bearer DATABASE_TOKEN" \
|
||||||
--data-binary 'home,room=kitchen temp=72 1463683075'
|
--data-binary 'home,room=kitchen temp=72 1463683075'
|
||||||
```
|
```
|
||||||
|
@ -2109,7 +2109,7 @@ components:
|
||||||
# to write data.
|
# to write data.
|
||||||
########################################################
|
########################################################
|
||||||
|
|
||||||
curl --request post "https://cluster-id.influxdb.io/api/v2/write?bucket=DATABASE_NAME&precision=s" \
|
curl --request post "https://cluster-id.a.influxdb.io/api/v2/write?bucket=DATABASE_NAME&precision=s" \
|
||||||
--header "Authorization: Token DATABASE_TOKEN" \
|
--header "Authorization: Token DATABASE_TOKEN" \
|
||||||
--data-binary 'home,room=kitchen temp=72 1463683075'
|
--data-binary 'home,room=kitchen temp=72 1463683075'
|
||||||
```
|
```
|
||||||
|
|
|
@ -1980,7 +1980,7 @@ components:
|
||||||
# Use the --user option with `--user username:DATABASE_TOKEN` syntax
|
# Use the --user option with `--user username:DATABASE_TOKEN` syntax
|
||||||
#######################################
|
#######################################
|
||||||
|
|
||||||
curl --get "http://cluster-id.influxdb.io/query" \
|
curl --get "http://cluster-id.a.influxdb.io/query" \
|
||||||
--user "":"DATABASE_TOKEN" \
|
--user "":"DATABASE_TOKEN" \
|
||||||
--data-urlencode "db=DATABASE_NAME" \
|
--data-urlencode "db=DATABASE_NAME" \
|
||||||
--data-urlencode "q=SELECT * FROM MEASUREMENT"
|
--data-urlencode "q=SELECT * FROM MEASUREMENT"
|
||||||
|
@ -2008,8 +2008,8 @@ components:
|
||||||
### Syntax
|
### Syntax
|
||||||
|
|
||||||
```http
|
```http
|
||||||
https://cluster-id.influxdb.io/query/?[u=any]&p=DATABASE_TOKEN
|
https://cluster-id.a.influxdb.io/query/?[u=any]&p=DATABASE_TOKEN
|
||||||
https://cluster-id.influxdb.io/write/?[u=any]&p=DATABASE_TOKEN
|
https://cluster-id.a.influxdb.io/write/?[u=any]&p=DATABASE_TOKEN
|
||||||
```
|
```
|
||||||
|
|
||||||
### Example
|
### Example
|
||||||
|
@ -2025,7 +2025,7 @@ components:
|
||||||
# ?p=DATABASE_TOKEN
|
# ?p=DATABASE_TOKEN
|
||||||
#######################################
|
#######################################
|
||||||
|
|
||||||
curl --get "https://cluster-id.influxdb.io/query" \
|
curl --get "https://cluster-id.a.influxdb.io/query" \
|
||||||
--data-urlencode "p=DATABASE_TOKEN" \
|
--data-urlencode "p=DATABASE_TOKEN" \
|
||||||
--data-urlencode "db=DATABASE_NAME" \
|
--data-urlencode "db=DATABASE_NAME" \
|
||||||
--data-urlencode "q=SELECT * FROM MEASUREMENT"
|
--data-urlencode "q=SELECT * FROM MEASUREMENT"
|
||||||
|
@ -2062,7 +2062,7 @@ components:
|
||||||
# to write data.
|
# to write data.
|
||||||
########################################################
|
########################################################
|
||||||
|
|
||||||
curl --request post "https://cluster-id.influxdb.io/api/v2/write?bucket=DATABASE_NAME&precision=s" \
|
curl --request post "https://cluster-id.a.influxdb.io/api/v2/write?bucket=DATABASE_NAME&precision=s" \
|
||||||
--header "Authorization: Bearer DATABASE_TOKEN" \
|
--header "Authorization: Bearer DATABASE_TOKEN" \
|
||||||
--data-binary 'home,room=kitchen temp=72 1463683075'
|
--data-binary 'home,room=kitchen temp=72 1463683075'
|
||||||
```
|
```
|
||||||
|
@ -2093,7 +2093,7 @@ components:
|
||||||
# to write data.
|
# to write data.
|
||||||
########################################################
|
########################################################
|
||||||
|
|
||||||
curl --request post "https://cluster-id.influxdb.io/api/v2/write?bucket=DATABASE_NAME&precision=s" \
|
curl --request post "https://cluster-id.a.influxdb.io/api/v2/write?bucket=DATABASE_NAME&precision=s" \
|
||||||
--header "Authorization: Token DATABASE_TOKEN" \
|
--header "Authorization: Token DATABASE_TOKEN" \
|
||||||
--data-binary 'home,room=kitchen temp=72 1463683075'
|
--data-binary 'home,room=kitchen temp=72 1463683075'
|
||||||
```
|
```
|
||||||
|
|
|
@ -93,7 +93,7 @@ var defaultUrls = {
|
||||||
oss: 'http://localhost:8086',
|
oss: 'http://localhost:8086',
|
||||||
cloud: 'https://us-west-2-1.aws.cloud2.influxdata.com',
|
cloud: 'https://us-west-2-1.aws.cloud2.influxdata.com',
|
||||||
serverless: 'https://us-east-1-1.aws.cloud2.influxdata.com',
|
serverless: 'https://us-east-1-1.aws.cloud2.influxdata.com',
|
||||||
dedicated: 'cluster-id.influxdb.io',
|
dedicated: 'cluster-id.a.influxdb.io',
|
||||||
clustered: 'cluster-host.com',
|
clustered: 'cluster-host.com',
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@ var placeholderUrls = {
|
||||||
oss: 'http://localhost:8086',
|
oss: 'http://localhost:8086',
|
||||||
cloud: 'https://cloud2.influxdata.com',
|
cloud: 'https://cloud2.influxdata.com',
|
||||||
serverless: 'https://cloud2.influxdata.com',
|
serverless: 'https://cloud2.influxdata.com',
|
||||||
dedicated: 'cluster-id.influxdb.io',
|
dedicated: 'cluster-id.a.influxdb.io',
|
||||||
clustered: 'cluster-host.com',
|
clustered: 'cluster-host.com',
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -290,15 +290,15 @@ function appendUrlSelector () {
|
||||||
getBtnText = (context) => {
|
getBtnText = (context) => {
|
||||||
contextText = {
|
contextText = {
|
||||||
'oss/enterprise': 'Change InfluxDB URL',
|
'oss/enterprise': 'Change InfluxDB URL',
|
||||||
'cloud': 'InfluxDB Cloud Region',
|
cloud: 'InfluxDB Cloud Region',
|
||||||
'serverless': 'InfluxDB Cloud Region',
|
serverless: 'InfluxDB Cloud Region',
|
||||||
'dedicated': 'Set Dedicated cluster URL',
|
dedicated: 'Set Dedicated cluster URL',
|
||||||
'clustered': 'Set InfluxDB cluster URL',
|
clustered: 'Set InfluxDB cluster URL',
|
||||||
'other': 'InfluxDB Cloud or OSS?'
|
other: 'InfluxDB Cloud or OSS?',
|
||||||
}
|
};
|
||||||
|
|
||||||
return contextText[context]
|
return contextText[context];
|
||||||
}
|
};
|
||||||
|
|
||||||
appendToUrls.forEach(function (url) {
|
appendToUrls.forEach(function (url) {
|
||||||
$(elementSelector).each(function () {
|
$(elementSelector).each(function () {
|
||||||
|
@ -658,3 +658,13 @@ if (cloudUrls.includes(referrerHost)) {
|
||||||
setURLPreference('cloud');
|
setURLPreference('cloud');
|
||||||
showPreference();
|
showPreference();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
//////////////////////////// Dedicated URL Migration ///////////////////////////
|
||||||
|
///////////////////////// REMOVE AFTER AUGUST 22, 2024 /////////////////////////
|
||||||
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
|
if (getUrls().dedicated == 'cluster-id.influxdb.io') {
|
||||||
|
storeUrl('dedicated', 'cluster-id.a.influxdb.io', getUrls().dedicated);
|
||||||
|
updateUrls(getPrevUrls(), getUrls());
|
||||||
|
}
|
||||||
|
|
|
@ -41,8 +41,6 @@ function showNotifications () {
|
||||||
var pageExcluded = excludePage(window.location.pathname, exclude);
|
var pageExcluded = excludePage(window.location.pathname, exclude);
|
||||||
var notificationRead = notificationIsRead(notificationID(this), 'message');
|
var notificationRead = notificationIsRead(notificationID(this), 'message');
|
||||||
|
|
||||||
console.log(pageExcluded)
|
|
||||||
|
|
||||||
if (pageInScope && !pageExcluded && !notificationRead) {
|
if (pageInScope && !pageExcluded && !notificationRead) {
|
||||||
$(this).show().animate({ right: 0, opacity: 1 }, 200, 'swing');
|
$(this).show().animate({ right: 0, opacity: 1 }, 200, 'swing');
|
||||||
}
|
}
|
||||||
|
|
|
@ -26,7 +26,7 @@ list_code_example: |
|
||||||
|
|
||||||
func Query() error {
|
func Query() error {
|
||||||
client, err := influxdb3.New(influxdb3.ClientConfig{
|
client, err := influxdb3.New(influxdb3.ClientConfig{
|
||||||
Host: "https://cluster-id.influxdb.io",
|
Host: "https://cluster-id.a.influxdb.io",
|
||||||
Token: "DATABASE_TOKEN",
|
Token: "DATABASE_TOKEN",
|
||||||
Database: "DATABASE_NAME",
|
Database: "DATABASE_NAME",
|
||||||
})
|
})
|
||||||
|
|
|
@ -486,7 +486,7 @@ Follow these steps to build and run the application using Docker:
|
||||||
```sh
|
```sh
|
||||||
docker build \
|
docker build \
|
||||||
--build-arg DATABASE_NAME=INFLUX_DATABASE \
|
--build-arg DATABASE_NAME=INFLUX_DATABASE \
|
||||||
--build-arg HOST=cluster-id.influxdb.io \
|
--build-arg HOST={{% influxdb/host %}}\
|
||||||
--build-arg TOKEN=INFLUX_TOKEN \
|
--build-arg TOKEN=INFLUX_TOKEN \
|
||||||
-t javaflight .
|
-t javaflight .
|
||||||
```
|
```
|
||||||
|
|
|
@ -26,7 +26,7 @@ list_code_example: |
|
||||||
|
|
||||||
func Query() error {
|
func Query() error {
|
||||||
client, err := influxdb3.New(influxdb3.ClientConfig{
|
client, err := influxdb3.New(influxdb3.ClientConfig{
|
||||||
Host: "https://cluster-id.influxdb.io",
|
Host: "https://cluster-host.com",
|
||||||
Token: "DATABASE_TOKEN",
|
Token: "DATABASE_TOKEN",
|
||||||
Database: "DATABASE_NAME",
|
Database: "DATABASE_NAME",
|
||||||
})
|
})
|
||||||
|
|
|
@ -487,7 +487,7 @@ Follow these steps to build and run the application using Docker:
|
||||||
```sh
|
```sh
|
||||||
docker build \
|
docker build \
|
||||||
--build-arg DATABASE_NAME=INFLUX_DATABASE \
|
--build-arg DATABASE_NAME=INFLUX_DATABASE \
|
||||||
--build-arg HOST=cluster-id.influxdb.io \
|
--build-arg HOST={{% influxdb/host %}} \
|
||||||
--build-arg TOKEN=INFLUX_TOKEN \
|
--build-arg TOKEN=INFLUX_TOKEN \
|
||||||
-t javaflight .
|
-t javaflight .
|
||||||
```
|
```
|
||||||
|
|
|
@ -56,7 +56,7 @@ influxdb_cloud_dedicated:
|
||||||
latest: cloud-dedicated
|
latest: cloud-dedicated
|
||||||
link: "https://www.influxdata.com/contact-sales-form/"
|
link: "https://www.influxdata.com/contact-sales-form/"
|
||||||
latest_cli: 2.9.3
|
latest_cli: 2.9.3
|
||||||
placeholder_host: cluster-id.influxdb.io
|
placeholder_host: cluster-id.a.influxdb.io
|
||||||
|
|
||||||
influxdb_clustered:
|
influxdb_clustered:
|
||||||
name: InfluxDB Clustered
|
name: InfluxDB Clustered
|
||||||
|
|
|
@ -34,9 +34,6 @@
|
||||||
]
|
]
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<!-- Load footer.js -->
|
|
||||||
<script type="text/javascript" src="{{ $footerjs.RelPermalink }}"></script>
|
|
||||||
|
|
||||||
{{ if .Page.HasShortcode "diagram" }}
|
{{ if .Page.HasShortcode "diagram" }}
|
||||||
<!-- Load mermaid.js for diagrams -->
|
<!-- Load mermaid.js for diagrams -->
|
||||||
<script src="https://cdn.jsdelivr.net/npm/mermaid/dist/mermaid.min.js"></script>
|
<script src="https://cdn.jsdelivr.net/npm/mermaid/dist/mermaid.min.js"></script>
|
||||||
|
@ -78,3 +75,6 @@
|
||||||
{{ if .Page.HasShortcode "code-placeholders" }}
|
{{ if .Page.HasShortcode "code-placeholders" }}
|
||||||
<script type="text/javascript" src="{{ $codePlaceholdersjs.RelPermalink }}"></script>
|
<script type="text/javascript" src="{{ $codePlaceholdersjs.RelPermalink }}"></script>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
|
<!-- Load footer.js -->
|
||||||
|
<script type="text/javascript" src="{{ $footerjs.RelPermalink }}"></script>
|
|
@ -150,7 +150,7 @@
|
||||||
{{ else if $isServerless }}
|
{{ else if $isServerless }}
|
||||||
{{ template "productSection" dict "product" .Site.Data.influxdb_urls.cloud "formID" "serverless" "filterServerless" true }}
|
{{ template "productSection" dict "product" .Site.Data.influxdb_urls.cloud "formID" "serverless" "filterServerless" true }}
|
||||||
{{ else if $isDedicated }}
|
{{ else if $isDedicated }}
|
||||||
{{ template "productSpecificForm" dict "product" nil "formID" "dedicated" "placeholder" "cluster-id.influxdb.io" }}
|
{{ template "productSpecificForm" dict "product" nil "formID" "dedicated" "placeholder" "cluster-id.a.influxdb.io" }}
|
||||||
{{ else if $isClustered }}
|
{{ else if $isClustered }}
|
||||||
{{ template "productSpecificForm" dict "product" nil "formID" "clustered" "placeholder" "cluster-host.com" }}
|
{{ template "productSpecificForm" dict "product" nil "formID" "clustered" "placeholder" "cluster-host.com" }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
#######################################
|
#######################################
|
||||||
|
|
||||||
|
|
||||||
curl --get "https://cluster-id.influxdb.io/query" \
|
curl --get "https://cluster-id.a.influxdb.io/query" \
|
||||||
--user "":"DATABASE_TOKEN" \
|
--user "":"DATABASE_TOKEN" \
|
||||||
--data-urlencode "db=DATABASE_NAME" \
|
--data-urlencode "db=DATABASE_NAME" \
|
||||||
--data-urlencode "q=SELECT * FROM MEASUREMENT"
|
--data-urlencode "q=SELECT * FROM MEASUREMENT"
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
# to query the InfluxDB v1 API
|
# to query the InfluxDB v1 API
|
||||||
########################################################
|
########################################################
|
||||||
|
|
||||||
curl --get "https://cluster-id.influxdb.io/query" \
|
curl --get "https://cluster-id.a.influxdb.io/query" \
|
||||||
--header "Authorization: Bearer DATABASE_TOKEN" \
|
--header "Authorization: Bearer DATABASE_TOKEN" \
|
||||||
--header 'Content-type: application/json' \
|
--header 'Content-type: application/json' \
|
||||||
--data-urlencode "db=DATABASE_NAME" \
|
--data-urlencode "db=DATABASE_NAME" \
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
# to write data.
|
# to write data.
|
||||||
########################################################
|
########################################################
|
||||||
|
|
||||||
curl -i "https://cluster-id.influxdb.io/write?db=DATABASE_NAME&precision=ms" \
|
curl -i "https://cluster-id.a.influxdb.io/write?db=DATABASE_NAME&precision=ms" \
|
||||||
--header "Authorization: Bearer DATABASE_TOKEN" \
|
--header "Authorization: Bearer DATABASE_TOKEN" \
|
||||||
--header "Content-type: text/plain; charset=utf-8" \
|
--header "Content-type: text/plain; charset=utf-8" \
|
||||||
--data-binary 'home,room=kitchen temp=72 1682358973500'
|
--data-binary 'home,room=kitchen temp=72 1682358973500'
|
|
@ -3,6 +3,6 @@
|
||||||
# to write data.
|
# to write data.
|
||||||
########################################################
|
########################################################
|
||||||
|
|
||||||
curl --request post 'https://cluster-id.influxdb.io/api/v2/write?bucket=DATABASE_NAME&precision=s' \
|
curl --request post 'https://cluster-id.a.influxdb.io/api/v2/write?bucket=DATABASE_NAME&precision=s' \
|
||||||
--header 'Authorization: Bearer DATABASE_TOKEN' \
|
--header 'Authorization: Bearer DATABASE_TOKEN' \
|
||||||
--data-binary 'home,room=kitchen temp=72 1463683075'
|
--data-binary 'home,room=kitchen temp=72 1463683075'
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
# ?p=DATABASE_TOKEN
|
# ?p=DATABASE_TOKEN
|
||||||
#######################################
|
#######################################
|
||||||
|
|
||||||
curl --get "https://cluster-id.influxdb.io/query" \
|
curl --get "https://cluster-id.a.influxdb.io/query" \
|
||||||
--data-urlencode "p=DATABASE_TOKEN" \
|
--data-urlencode "p=DATABASE_TOKEN" \
|
||||||
--data-urlencode "db=DATABASE_NAME" \
|
--data-urlencode "db=DATABASE_NAME" \
|
||||||
--data-urlencode "q=SELECT * FROM MEASUREMENT"
|
--data-urlencode "q=SELECT * FROM MEASUREMENT"
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
# to query the InfluxDB v1 API
|
# to query the InfluxDB v1 API
|
||||||
########################################################
|
########################################################
|
||||||
|
|
||||||
curl --get "https://cluster-id.influxdb.io/query" \
|
curl --get "https://cluster-id.a.influxdb.io/query" \
|
||||||
--header "Authorization: Token DATABASE_TOKEN" \
|
--header "Authorization: Token DATABASE_TOKEN" \
|
||||||
--header 'Content-type: application/json' \
|
--header 'Content-type: application/json' \
|
||||||
--data-urlencode "db=DATABASE_NAME" \
|
--data-urlencode "db=DATABASE_NAME" \
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
# to write data.
|
# to write data.
|
||||||
########################################################
|
########################################################
|
||||||
|
|
||||||
curl -i "https://cluster-id.influxdb.io/write?db=DATABASE_NAME&precision=ms" \
|
curl -i "https://cluster-id.a.influxdb.io/write?db=DATABASE_NAME&precision=ms" \
|
||||||
--header "Authorization: Token DATABASE_TOKEN" \
|
--header "Authorization: Token DATABASE_TOKEN" \
|
||||||
--header "Content-type: text/plain; charset=utf-8" \
|
--header "Content-type: text/plain; charset=utf-8" \
|
||||||
--data-binary 'home,room=kitchen temp=72 1682358973500'
|
--data-binary 'home,room=kitchen temp=72 1682358973500'
|
|
@ -3,6 +3,6 @@
|
||||||
# to write data.
|
# to write data.
|
||||||
########################################################
|
########################################################
|
||||||
|
|
||||||
curl --request post "https://cluster-id.influxdb.io/api/v2/write?bucket=DATABASE_NAME&precision=s" \
|
curl --request post "https://cluster-id.a.influxdb.io/api/v2/write?bucket=DATABASE_NAME&precision=s" \
|
||||||
--header "Authorization: Token DATABASE_TOKEN" \
|
--header "Authorization: Token DATABASE_TOKEN" \
|
||||||
--data-binary 'home,room=kitchen temp=72 1463683075'
|
--data-binary 'home,room=kitchen temp=72 1463683075'
|
||||||
|
|
Loading…
Reference in New Issue