AWS SDK for C++AWS SDK for C++ Version 1.11.788 |
#include <TracingUtils.h>
A utility class for common tracing activities.
Definition at line 21 of file TracingUtils.h.
Converts the string Representation of a Core metric to a smithy metric.
| name | the metric name. |
Definition at line 135 of file TracingUtils.h.
""
Emits http metrics to a specified meter.
| metrics | A http metrics collection that we will emit. |
| meter | The meter used for metrics emissions. |
| attributes | The attributes or dimensions associate with this measurement. |
| description | The description of the measurement. |
Definition at line 110 of file TracingUtils.h.
""
Will run a function and emit the duration of that function in millisecond timing to the meter provided as a Histogram metrics. Will return the result af the function.
| T | The type that is being returned from the function. |
| func | A function that returns T. |
| metricName | The name of the metric that is being captured by the function. |
| meter | The meter making the measurement. |
| attributes | The attributes or dimensions associate with this measurement. |
| description | The description of the measurement. |
Definition at line 69 of file TracingUtils.h.
""
Will run a function and emit the duration of that function in millisecond timing to the meter provided as a Histogram metrics.
| func | a function that does not return anything but will be measured. |
| metricName | The name of the metric that is being captured by the function. |
| meter | The meter making the measurement. |
| attributes | The attributes or dimensions associate with this measurement. |
| description | The description of the measurement. |
Definition at line 91 of file TracingUtils.h.
Definition at line 37 of file TracingUtils.h.
Definition at line 35 of file TracingUtils.h.
Definition at line 36 of file TracingUtils.h.
Definition at line 40 of file TracingUtils.h.
Definition at line 38 of file TracingUtils.h.
Definition at line 39 of file TracingUtils.h.
Definition at line 42 of file TracingUtils.h.
Definition at line 45 of file TracingUtils.h.
Definition at line 44 of file TracingUtils.h.
Definition at line 43 of file TracingUtils.h.
Definition at line 41 of file TracingUtils.h.
Definition at line 46 of file TracingUtils.h.
Definition at line 48 of file TracingUtils.h.
Definition at line 51 of file TracingUtils.h.
Definition at line 50 of file TracingUtils.h.
Definition at line 53 of file TracingUtils.h.
Definition at line 52 of file TracingUtils.h.
Definition at line 55 of file TracingUtils.h.
Definition at line 54 of file TracingUtils.h.
Definition at line 47 of file TracingUtils.h.
Definition at line 49 of file TracingUtils.h.