| Package | Description |
|---|---|
| software.amazon.awssdk.metrics | |
| software.amazon.awssdk.metrics.internal |
| Modifier and Type | Method and Description |
|---|---|
static <T> SdkMetric<T> |
SdkMetric.create(String name,
Class<T> clzz,
MetricLevel level,
MetricCategory c1,
MetricCategory... cn)
Create a new metric.
|
static <T> SdkMetric<T> |
SdkMetric.create(String name,
Class<T> clzz,
MetricLevel level,
Set<MetricCategory> categories)
Create a new metric.
|
SdkMetric<T> |
MetricRecord.metric() |
| Modifier and Type | Method and Description |
|---|---|
<T> List<T> |
MetricCollection.metricValues(SdkMetric<T> metric)
Return all the values of the given metric.
|
<T> void |
NoOpMetricCollector.reportMetric(SdkMetric<T> metric,
T data) |
<T> void |
MetricCollector.reportMetric(SdkMetric<T> metric,
T data)
Report a metric.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultSdkMetric<T> |
| Modifier and Type | Method and Description |
|---|---|
static <T> SdkMetric<T> |
DefaultSdkMetric.create(String name,
Class<T> clzz,
MetricLevel level,
MetricCategory c1,
MetricCategory... cn)
Create a new metric.
|
static <T> SdkMetric<T> |
DefaultSdkMetric.create(String name,
Class<T> clzz,
MetricLevel level,
Set<MetricCategory> categories)
Create a new metric.
|
SdkMetric<T> |
DefaultMetricRecord.metric() |
| Modifier and Type | Method and Description |
|---|---|
<T> List<T> |
EmptyMetricCollection.metricValues(SdkMetric<T> metric) |
<T> List<T> |
DefaultMetricCollection.metricValues(SdkMetric<T> metric) |
<T> void |
DefaultMetricCollector.reportMetric(SdkMetric<T> metric,
T data) |
| Constructor and Description |
|---|
DefaultMetricRecord(SdkMetric<T> metric,
T value) |
| Constructor and Description |
|---|
DefaultMetricCollection(String name,
Map<SdkMetric<?>,List<MetricRecord<?>>> metrics,
List<MetricCollection> children) |
Copyright © 2023. All rights reserved.