View Source ExTypesense.Cluster (ExTypesense v0.3.5)

Cluster specific operations.

Link to this section Summary

Functions

Get stats about API endpoints.

Get current RAM, CPU, Disk & Network usage metrics.

Get health information about a Typesense node.

Link to this section Types

@type response() :: any() | {:ok, any()} | {:error, map()}

Link to this section Functions

@spec api_stats() :: response()

Get stats about API endpoints.

This endpoint returns average requests per second and latencies for all requests in the last 10 seconds.

@spec cluster_metrics() :: response()

Get current RAM, CPU, Disk & Network usage metrics.

@spec health() :: response()

Get health information about a Typesense node.