View Source Qdrant.Api.Http.Service (Qdrant v0.0.8)
Fetch various telemetry data and all collections aliases.
Link to this section Summary
Functions
Get list of all existing collections aliases See more on qdrant
Get lock options
Collect Prometheus metrics data
Set lock options
Collect telemetry data
Link to this section Functions
Get list of all existing collections aliases See more on qdrant
example
Example
iex> Qdrant.list_collections_aliases()
%{:ok, %{time: 0, status: "ok", result: %{}, aliases: [%{alias_name: "string", collection_name: "string"}]}}
Get lock options
Get lock options. If write is locked, all write operations and collection creation are forbidden
Collect Prometheus metrics data
Collect metrics data including app info, collections info, cluster info and statistics
Set lock options
Set lock options. If write is locked, all write operations and collection creation are forbidden. Returns previous lock options
request-body-schema
Request body schema
error_message
- Error message to return on write operationswrite
- Write lock flag. If true, all write operations and collection creation are forbidden
example
Example
iex> Qdrant.set_lock_options(%{error_message: "string", write: true})
%{:ok, %{time: 0, status: "ok", result: %{error_message: "string", write: true}}}
Collect telemetry data
Collect telemetry data including app info, system info, collections info, cluster info, configs and statistics