rdb / Client / nifty_get_metric_statistics
nifty_get_metric_statistics
- rdb.Client.nifty_get_metric_statistics(**kwargs)
RDBサービスのモニタリング情報を取得します。
モニタリング要素について、詳しくは下記ヘルプページをご確認ください。
See also: NIFCLOUD API Documentation
Request Syntax
response = client.nifty_get_metric_statistics( Dimensions=[ { 'Name': 'string', 'Value': 'string' }, ], EndTime=datetime(2015, 1, 1), MetricName='BinLogDiskUsage'|'CPUUtilization'|'DatabaseConnections'|'DiskQueueDepth'|'FreeableMemory'|'FreeStorageSpace'|'ReplicaLag'|'SwapUsage'|'ReadIOPS'|'WriteIOPS'|'ReadThroughput'|'WriteThroughput', StartTime=datetime(2015, 1, 1) )
- Parameters:
Dimensions (list) –
[REQUIRED]
(dict) –
Name (string) – [REQUIRED]
Value (string) – [REQUIRED]
EndTime (datetime) –
MetricName (string) – [REQUIRED]
StartTime (datetime) –
- Return type:
dict
- Returns:
Response Syntax
{ 'Datapoints': [ { 'NiftyTargetName': 'string', 'SampleCount': 123, 'Sum': 123.0, 'Timestamp': datetime(2015, 1, 1) }, ], 'Label': 'string', 'ResponseMetadata': { 'RequestId': 'string' } }
Response Structure
(dict) –
Datapoints (list) –
(dict) –
NiftyTargetName (string) –
SampleCount (integer) –
Sum (float) –
Timestamp (datetime) –
Label (string) –
ResponseMetadata (dict) –
RequestId (string) –