Свойство | Type | Description | |
---|---|---|---|
Dispose | void | ||
LoadPerformanceCounter | void | ||
RegisterMetricForProcessing | void | ||
ReportMetric | void |
Méthode | Description | |
---|---|---|
AddMetric ( Metric metric ) : void |
Adds the specified metric.
|
|
CloudWatchService ( ) : System |
Initializes a new instance of the CloudWatchService class.
|
|
Dispose ( ) : void |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
|
|
GetMetrics ( ) : Metric[] |
Gets all metrics.
|
|
RemoveMetric ( string metricName ) : void |
Removes the metric with the specified metricName.
|
|
SetAwsCredentials ( string accessKeyId, string secretAccessKey ) : void |
Sets the Amazon Web Services credentials.
|
|
Start ( ) : void |
Starts collecting and uploading metrics.
|
|
Stop ( ) : void |
Stops collecting and uploading metrics.
|
Méthode | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
Releases unmanaged and - optionally - managed resources
|
|
LoadPerformanceCounter ( |
||
RegisterMetricForProcessing ( Metric metric ) : void | ||
ReportMetric ( object state, bool timeout ) : void |
Reports the metric that is defined by state to the Amazon CloudWatch service.
|
public AddMetric ( Metric metric ) : void | ||
metric | Metric | The metric. |
Résultat | void |
public RemoveMetric ( string metricName ) : void | ||
metricName | string | Name of the metric. |
Résultat | void |
public SetAwsCredentials ( string accessKeyId, string secretAccessKey ) : void | ||
accessKeyId | string | The access key id. |
secretAccessKey | string | The secret access key. |
Résultat | void |