AWS SDK for C++AWS SDK for C++ Version 1.11.790 |
#include <DefaultMonitoring.h>
Default monitoring implementation definition
Definition at line 19 of file DefaultMonitoring.h.
Construct a default monitoring instance.
| clientId,used | to identify the application |
| host,either | the host name or the host ip address (could be ipv4 or ipv6). Note that "localhost" will be treated as host name and address look up will be performed. |
| port,used | to send collected metric to a local agent listen on this port. |
Definition at line 57 of file DefaultMonitoring.h.
This function will always be called by the SDK to signal the implementer that this request is done. The implementer can safely delete the context.
| serviceName,the | service client who initiate this http attempt. like "s3", "ec2", etc. |
| requestName,the | operation or API name of this http attempt, like "GetObject" in s3. |
| request,the | actual Http Request. |
| context | parameter pointed to the same place returned by OnRequestStarted() function. |
Implements Aws::Monitoring::MonitoringInterface.
Once a Http request finished and received "Failed" response, this function will be called.
| serviceName,the | service client who initiate this http attempt. like "s3", "ec2", etc. |
| requestName,the | operation or API name of this http attempt, like "GetObject" in s3. |
| request,the | actual Http Request. |
| outcome,the | outcome of the http attempt, you can access httpResponse and original httpRequest from it. |
| metricsFromCore,metrics | collected from core, such as detailed latencies during http connection. |
| context | parameter pointed to the same place returned by OnRequestStarted() function. |
Implements Aws::Monitoring::MonitoringInterface.
Once an API call retried the attempt and send the request again, this function will be called.
| serviceName,the | service client who initiate this http attempt. like "s3", "ec2", etc. |
| requestName,the | operation or API name of this http attempt, like "GetObject" in s3. |
| request,the | actual Http Request. |
| context | parameter pointed to the same place returned by OnRequestStarted() function. |
Implements Aws::Monitoring::MonitoringInterface.
This function lets you do preparation work when a http attempt(request) starts. It returns a pointer to an implementation defined context which will be passed down with the other facilities that completes the request's lifetime. This context can be used to track the lifetime of the request and record metrics specific to this particular request. You are responsible for deleting the context during your OnFinish call.
| serviceName,the | service client who initiates this http attempt. like "s3", "ec2", etc. |
| requestName,the | operation or API name of this http attempt, like "GetObject" in s3. |
| request,the | actual Http Request. |
Implements Aws::Monitoring::MonitoringInterface.
Once a Http attempt finished and received "Succeeded" response, this function will be called.
| serviceName,the | service client who initiate this http attempt. like "s3", "ec2", etc. |
| requestName,the | operation or API name of this http attempt, like "GetObject" in s3. |
| request,the | actual Http Request. |
| outcome,the | outcome of the http attempt, you can access httpResponse and original httpRequest from it. |
| metricsFromCore,metrics | collected from core, such as detailed latencies during http connection. |
| context | parameter pointed to the same place returned by OnRequestStarted() function. |
Implements Aws::Monitoring::MonitoringInterface.
Definition at line 24 of file DefaultMonitoring.h.
Definition at line 23 of file DefaultMonitoring.h.
Definition at line 25 of file DefaultMonitoring.h.
Definition at line 26 of file DefaultMonitoring.h.
Definition at line 28 of file DefaultMonitoring.h.
Definition at line 27 of file DefaultMonitoring.h.
Definition at line 29 of file DefaultMonitoring.h.
Definition at line 30 of file DefaultMonitoring.h.
Definition at line 22 of file DefaultMonitoring.h.