Sep 20, 2024
Monitoring API client
This client is new in v7 of the C# API clients.
The Monitoring API client is part of the algoliasearch-client-swift
package.
To install this package, add the :
Copy
1
dotnet add package Algolia.Search
To use the Monitoring client, import these namespaces:
Copy
1
2
3
using Algolia.Search.Clients;
using Algolia.Search.Http;
using Algolia.Search.Models.Monitoring;
To create an instance of the client:
Copy
1
2
3
var client = new MonitoringClient(
new MonitoringConfig("ALGOLIA_APPLICATION_ID", "ALGOLIA_API_KEY")
);
List of methods
Each method makes one request to the Monitoring API.
Status
client.GetStatus | Retrieve status of all clusters |
client.GetClusterStatus | Retrieve cluster status |
Incidents
client.GetIncidents | Retrieve all incidents |
client.GetClusterIncidents | Retrieve cluster incidents |
Monitoring
client.GetServers | Retrieve servers |
client.GetLatency | Retrieve search latency times |
client.GetIndexingTime | Retrieve indexing times |
client.GetReachability | Test the reachability of clusters |
Infrastructure
client.GetMetrics | Retrieve metrics |
Did you find this page helpful?