get-droplet-available-memory-metrics
original documentation
try {
const input = {
end : "" , // string
host_id : "" , // string
start : "" , // string
} ;
const { data :{ data} } = await dots . monitoring . getDropletAvailableMemoryMetrics ( input )
console . log ( data ) ;
} catch ( error ) {
console . log ( error ) ;
}
get-droplet-bandwidth-metrics
original documentation
try {
const input = {
end : "" , // string
host_id : "" , // string
network_interface : "" , // string,
start : "" , // string
traffic_direction : "" , // string.
} ;
const { data :{ data} } = await dots . monitoring . getDropletBandwidthMetrics ( input )
console . log ( data ) ;
} catch ( error ) {
console . log ( error ) ;
}
original documentation
try {
const input = {
end : "" , // string
host_id : "" , // string
start : "" , // string
} ;
const { data :{ data} } = await dots . monitoring . getDropletCpuMetrics ( input )
console . log ( data ) ;
} catch ( error ) {
console . log ( error ) ;
}
get-droplet-free-memory-metrics
original documentation
try {
const input = {
end : "" , // string
host_id : "" , // string
start : "" , // string
} ;
const { data :{ data} } = await dots . monitoring . getDropletFreeMemoryMetrics ( input )
console . log ( data ) ;
} catch ( error ) {
console . log ( error ) ;
}
get-droplet-total-memory-metrics
original documentation
try {
const input = {
end : "" , // string
host_id : "" , // string
start : "" , // string
} ;
const { data :{ data} } = await dots . monitoring . getDropletTotalMemoryMetrics ( input )
console . log ( data ) ;
} catch ( error ) {
console . log ( error ) ;
}