MonitoringClient

algoliasearch.api.MonitoringClient
See theMonitoringClient companion object
class MonitoringClient(appId: String, apiKey: String, clientOptions: ClientOptions) extends ApiClient

Attributes

Companion
object
Graph
Supertypes
class ApiClient
trait AutoCloseable
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def customDelete[T : Manifest](path: String, parameters: Option[Map[String, Any]], requestOptions: Option[RequestOptions])(implicit evidence$1: Manifest[T], ec: ExecutionContext): Future[T]

This method allow you to send requests to the Algolia REST API.

This method allow you to send requests to the Algolia REST API.

Value parameters

parameters

Query parameters to apply to the current query.

path

Path of the endpoint, anything after "/1" must be specified.

Attributes

def customGet[T : Manifest](path: String, parameters: Option[Map[String, Any]], requestOptions: Option[RequestOptions])(implicit evidence$2: Manifest[T], ec: ExecutionContext): Future[T]

This method allow you to send requests to the Algolia REST API.

This method allow you to send requests to the Algolia REST API.

Value parameters

parameters

Query parameters to apply to the current query.

path

Path of the endpoint, anything after "/1" must be specified.

Attributes

def customPost[T : Manifest](path: String, parameters: Option[Map[String, Any]], body: Option[Any], requestOptions: Option[RequestOptions])(implicit evidence$3: Manifest[T], ec: ExecutionContext): Future[T]

This method allow you to send requests to the Algolia REST API.

This method allow you to send requests to the Algolia REST API.

Value parameters

body

Parameters to send with the custom request.

parameters

Query parameters to apply to the current query.

path

Path of the endpoint, anything after "/1" must be specified.

Attributes

def customPut[T : Manifest](path: String, parameters: Option[Map[String, Any]], body: Option[Any], requestOptions: Option[RequestOptions])(implicit evidence$4: Manifest[T], ec: ExecutionContext): Future[T]

This method allow you to send requests to the Algolia REST API.

This method allow you to send requests to the Algolia REST API.

Value parameters

body

Parameters to send with the custom request.

parameters

Query parameters to apply to the current query.

path

Path of the endpoint, anything after "/1" must be specified.

Attributes

def getClusterIncidents(clusters: String, requestOptions: Option[RequestOptions])(implicit ec: ExecutionContext): Future[IncidentsResponse]

Retrieves known incidents for the selected clusters.

Retrieves known incidents for the selected clusters.

Value parameters

clusters

Subset of clusters, separated by comma.

Attributes

def getClusterStatus(clusters: String, requestOptions: Option[RequestOptions])(implicit ec: ExecutionContext): Future[StatusResponse]

Retrieves the status of selected clusters.

Retrieves the status of selected clusters.

Value parameters

clusters

Subset of clusters, separated by comma.

Attributes

def getIncidents(requestOptions: Option[RequestOptions])(implicit ec: ExecutionContext): Future[IncidentsResponse]

Retrieves known incidents for all clusters.

Retrieves known incidents for all clusters.

Attributes

def getIndexingTime(clusters: String, requestOptions: Option[RequestOptions])(implicit ec: ExecutionContext): Future[IndexingTimeResponse]

Retrieves average times for indexing operations for selected clusters.

Retrieves average times for indexing operations for selected clusters.

Value parameters

clusters

Subset of clusters, separated by comma.

Attributes

def getLatency(clusters: String, requestOptions: Option[RequestOptions])(implicit ec: ExecutionContext): Future[LatencyResponse]

Retrieves the average latency for search requests for selected clusters.

Retrieves the average latency for search requests for selected clusters.

Value parameters

clusters

Subset of clusters, separated by comma.

Attributes

def getMetrics(metric: Metric, period: Period, requestOptions: Option[RequestOptions])(implicit ec: ExecutionContext): Future[InfrastructureResponse]

Retrieves metrics related to your Algolia infrastructure, aggregated over a selected time window. Access to this API is available as part of the Premium or Elevate plans. You must authenticate requests with the x-algolia-application-id and x-algolia-api-key headers (using the Monitoring API key).

Retrieves metrics related to your Algolia infrastructure, aggregated over a selected time window. Access to this API is available as part of the Premium or Elevate plans. You must authenticate requests with the x-algolia-application-id and x-algolia-api-key headers (using the Monitoring API key).

Value parameters

metric

Metric to report. For more information about the individual metrics, see the description of the API response. To include all metrics, use *.

period

Period over which to aggregate the metrics: - minute. Aggregate the last minute. 1 data point per 10 seconds. - hour. Aggregate the last hour. 1 data point per minute. - day. Aggregate the last day. 1 data point per 10 minutes. - week. Aggregate the last week. 1 data point per hour. - month. Aggregate the last month. 1 data point per day.

Attributes

def getReachability(clusters: String, requestOptions: Option[RequestOptions])(implicit ec: ExecutionContext): Future[Map[String, Map[String, Boolean]]]

Test whether clusters are reachable or not.

Test whether clusters are reachable or not.

Value parameters

clusters

Subset of clusters, separated by comma.

Attributes

def getServers(requestOptions: Option[RequestOptions])(implicit ec: ExecutionContext): Future[InventoryResponse]

Retrieves the servers that belong to clusters. The response depends on whether you authenticate your API request: - With authentication, the response lists the servers assigned to your Algolia application's cluster. - Without authentication, the response lists the servers for all Algolia clusters.

Retrieves the servers that belong to clusters. The response depends on whether you authenticate your API request: - With authentication, the response lists the servers assigned to your Algolia application's cluster. - Without authentication, the response lists the servers for all Algolia clusters.

Attributes

def getStatus(requestOptions: Option[RequestOptions])(implicit ec: ExecutionContext): Future[StatusResponse]

Retrieves the status of all Algolia clusters and instances.

Retrieves the status of all Algolia clusters and instances.

Attributes

Inherited methods

override def close(): Unit

Attributes

Definition Classes
ApiClient -> AutoCloseable
Inherited from:
ApiClient