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]

List known incidents for selected clusters.

List known incidents for selected clusters.

Value parameters

clusters

Subset of clusters, separated by comma.

Attributes

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

Report whether a cluster is operational.

Report whether a cluster is operational.

Value parameters

clusters

Subset of clusters, separated by comma.

Attributes

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

List known incidents for all clusters.

List known incidents for all clusters.

Attributes

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

List the average times for indexing operations for selected clusters.

List the average times for indexing operations for selected clusters.

Value parameters

clusters

Subset of clusters, separated by comma.

Attributes

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

List the servers belonging 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.

List the servers belonging 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 getLatency(clusters: String, requestOptions: Option[RequestOptions])(implicit ec: ExecutionContext): Future[LatencyResponse]

List the average latency for search requests for selected clusters.

List 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]

Report the aggregate value of a metric for a selected period of time.

Report the aggregate value of a metric for a selected period of time.

Value parameters

metric

Metric to report. For more information about the individual metrics, see the response. To include all metrics, use * as the parameter.

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 getStatus(requestOptions: Option[RequestOptions])(implicit ec: ExecutionContext): Future[StatusResponse]

Report whether clusters are operational. The response depends on whether you authenticate your API request. - With authentication, the response includes the status of the cluster assigned to your Algolia application. - Without authentication, the response lists the statuses of all public Algolia clusters.

Report whether clusters are operational. The response depends on whether you authenticate your API request. - With authentication, the response includes the status of the cluster assigned to your Algolia application. - Without authentication, the response lists the statuses of all public Algolia clusters.

Attributes

Inherited methods

override def close(): Unit

Attributes

Definition Classes
ApiClient -> AutoCloseable
Inherited from:
ApiClient