Feature add coordinator servers endpoint documentation (#5392)

* Add new servers section to the coordinator endpoints documentation

* Remove trailing whitespace
This commit is contained in:
Javier Collado 2018-02-15 23:37:58 +01:00 committed by Slim
parent 472ba14dfe
commit c45fe37611
1 changed files with 20 additions and 2 deletions

View File

@ -292,6 +292,24 @@ Returns all compaction configs.
Returns a compaction config of a dataSource.
#### Servers
* `/druid/coordinator/v1/servers`
Returns a list of servers URLs using the format `{hostname}:{port}`. Note that
nodes that run with different types will appear multiple times with different
ports.
* `/druid/coordinator/v1/servers?simple`
Returns a list of server data objects in which each object has the following keys:
- `host`: host URL include (`{hostname}:{port}`)
- `type`: node type (`indexer-executor`, `historical`)
- `currSize`: storage size currently used
- `maxSize`: maximum storage size
- `priority`
- `tier`
### POST
#### Datasources