Merge pull request #5618 from influxdata/5610-the-ping-endpoint-in-dedicated-only-shows-querier-status
fix(api): Fix Cloud Dedicated /ping descriptionspull/5594/head
commit
329e619a78
|
@ -240,6 +240,83 @@ paths:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: '#/components/schemas/Error'
|
$ref: '#/components/schemas/Error'
|
||||||
|
/ping:
|
||||||
|
get:
|
||||||
|
description: |
|
||||||
|
Reports the InfluxQL bridge querier health and the InfluxDB version of the instance.
|
||||||
|
|
||||||
|
The response is a HTTP `204` status code to inform you the querier is available.
|
||||||
|
|
||||||
|
For InfluxDB Cloud Dedicated, this endpoint only checks the status of queriers; doesn't check the status of ingesters.
|
||||||
|
|
||||||
|
To check the health of ingesters before writing data, send a request to one of the [write endpoints](/influxdb/cloud-dedicated/api/v2/#tag/Write).
|
||||||
|
|
||||||
|
This endpoint doesn't require authentication.
|
||||||
|
operationId: GetPing
|
||||||
|
responses:
|
||||||
|
'204':
|
||||||
|
description: |
|
||||||
|
Success--the querier is available.
|
||||||
|
Headers contain InfluxDB version information.
|
||||||
|
headers:
|
||||||
|
X-Influxdb-Build:
|
||||||
|
description: |
|
||||||
|
The type of InfluxDB build.
|
||||||
|
schema:
|
||||||
|
type: string
|
||||||
|
X-Influxdb-Version:
|
||||||
|
description: |
|
||||||
|
The version of InfluxDB.
|
||||||
|
schema:
|
||||||
|
type: integer
|
||||||
|
4xx:
|
||||||
|
description: |
|
||||||
|
#### InfluxDB Cloud
|
||||||
|
- Doesn't return this error.
|
||||||
|
security:
|
||||||
|
- {}
|
||||||
|
servers: []
|
||||||
|
summary: Get the status of the instance
|
||||||
|
tags:
|
||||||
|
- Ping
|
||||||
|
head:
|
||||||
|
description: |
|
||||||
|
Reports the InfluxQL bridge querier health and the InfluxDB version of the instance.
|
||||||
|
|
||||||
|
The response is a HTTP `204` status code to inform you the querier is available.
|
||||||
|
|
||||||
|
For InfluxDB Cloud Dedicated, this endpoint only checks the status of queriers; doesn't check the status of ingesters.
|
||||||
|
|
||||||
|
To check the health of ingesters before writing data, send a request to one of the [write endpoints](/influxdb/cloud-dedicated/api/v2/#tag/Write).
|
||||||
|
|
||||||
|
This endpoint doesn't require authentication.
|
||||||
|
|
||||||
|
operationId: HeadPing
|
||||||
|
responses:
|
||||||
|
'204':
|
||||||
|
description: |
|
||||||
|
Success--the querier is available.
|
||||||
|
Headers contain InfluxDB version information.
|
||||||
|
headers:
|
||||||
|
X-Influxdb-Build:
|
||||||
|
description: The type of InfluxDB build.
|
||||||
|
schema:
|
||||||
|
type: string
|
||||||
|
X-Influxdb-Version:
|
||||||
|
description: |
|
||||||
|
The version of InfluxDB.
|
||||||
|
schema:
|
||||||
|
type: integer
|
||||||
|
4xx:
|
||||||
|
description: |
|
||||||
|
#### InfluxDB Cloud
|
||||||
|
- Doesn't return this error.
|
||||||
|
security:
|
||||||
|
- {}
|
||||||
|
servers: []
|
||||||
|
summary: Get the status of the instance
|
||||||
|
tags:
|
||||||
|
- Ping
|
||||||
components:
|
components:
|
||||||
parameters:
|
parameters:
|
||||||
TraceSpan:
|
TraceSpan:
|
||||||
|
|
|
@ -149,17 +149,20 @@ paths:
|
||||||
/ping:
|
/ping:
|
||||||
get:
|
get:
|
||||||
description: |
|
description: |
|
||||||
Retrieves the status and InfluxDB version of the instance.
|
Reports the InfluxQL bridge querier health and the InfluxDB version of the instance.
|
||||||
|
|
||||||
|
The response is a HTTP `204` status code to inform you the querier is available.
|
||||||
|
|
||||||
Use this endpoint to monitor uptime for the InfluxDB instance. The response
|
For InfluxDB Cloud Dedicated, this endpoint only checks the status of queriers; doesn't check the status of ingesters.
|
||||||
returns a HTTP `204` status code to inform you the instance is available.
|
|
||||||
|
To check the health of ingesters before writing data, send a request to one of the [write endpoints](/influxdb/cloud-dedicated/api/v2/#tag/Write).
|
||||||
|
|
||||||
This endpoint doesn't require authentication.
|
This endpoint doesn't require authentication.
|
||||||
operationId: GetPing
|
operationId: GetPing
|
||||||
responses:
|
responses:
|
||||||
'204':
|
'204':
|
||||||
description: |
|
description: |
|
||||||
Success.
|
Success--the querier is available.
|
||||||
Headers contain InfluxDB version information.
|
Headers contain InfluxDB version information.
|
||||||
headers:
|
headers:
|
||||||
X-Influxdb-Build:
|
X-Influxdb-Build:
|
||||||
|
@ -184,17 +187,20 @@ paths:
|
||||||
- Ping
|
- Ping
|
||||||
head:
|
head:
|
||||||
description: |
|
description: |
|
||||||
Returns the status and InfluxDB version of the instance.
|
Reports the InfluxQL bridge querier health and the InfluxDB version of the instance.
|
||||||
|
|
||||||
|
The response is a HTTP `204` status code to inform you the querier is available.
|
||||||
|
|
||||||
Use this endpoint to monitor uptime for the InfluxDB instance. The response
|
For InfluxDB Cloud Dedicated, this endpoint only checks the status of queriers; doesn't check the status of ingesters.
|
||||||
returns a HTTP `204` status code to inform you the instance is available.
|
|
||||||
|
To check the health of ingesters before writing data, send a request to one of the [write endpoints](/influxdb/cloud-dedicated/api/v2/#tag/Write).
|
||||||
|
|
||||||
This endpoint doesn't require authentication.
|
This endpoint doesn't require authentication.
|
||||||
operationId: HeadPing
|
operationId: HeadPing
|
||||||
responses:
|
responses:
|
||||||
'204':
|
'204':
|
||||||
description: |
|
description: |
|
||||||
Success.
|
Success--the querier is available.
|
||||||
Headers contain InfluxDB version information.
|
Headers contain InfluxDB version information.
|
||||||
headers:
|
headers:
|
||||||
X-Influxdb-Build:
|
X-Influxdb-Build:
|
||||||
|
|
Loading…
Reference in New Issue