- Home
- API Enriched
- Observability
- observability
- GET DNS Monitor Summary.
GET DNS Monitor Summary.
const url = 'https://example-corp.console.ves.volterra.io/api/v1/api/production/us-east-1/namespaces/default/api/observability/synthetic_monitor/namespaces/example/dns-monitor-summary';const options = {method: 'GET', headers: {Authorization: '<Authorization>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example-corp.console.ves.volterra.io/api/v1/api/production/us-east-1/namespaces/default/api/observability/synthetic_monitor/namespaces/example/dns-monitor-summary \ --header 'Authorization: <Authorization>'Returns the DNS monitor health status, latency, and trend.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Namespace Request namespace.
Query Parameters
Section titled “Query Parameters”Start_time. X-required Start time for requested monitor data.
End_time. End time for requested monitor data (default: current time)
Monitor_name. Monitor name.
Responses
Section titled “Responses”A successful response.
DNS monitor summary of latency and trend data.
object
Average monitor latency, unit is ms.
Monitor health.
The timestamp of the last critical event on the monitor.
Current monitor latency, unit is ms.
Maximum monitor latency, unit is ms.
Current monitor health trend.
Examplegenerated
{ "avg_latency": "example", "health": "example", "last_critical_event_timestamp": "example", "latency": "example", "max_latency": "example", "trend": "example"}Returned when operation is not authorized.
Examplegenerated
exampleReturned when there is no permission to access resource.
Examplegenerated
exampleReturned when resource is not found.
Examplegenerated
exampleReturned when operation on resource is conflicting with current value.
Examplegenerated
exampleReturned when operation has been rejected as it is happening too frequently.
Examplegenerated
exampleReturned when server encountered an error in processing API.
Examplegenerated
exampleReturned when service is unavailable temporarily.
Examplegenerated
exampleReturned when server timed out processing request.
Examplegenerated
example