public class BusinessMetricCollection extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
MAX_METRICS_STRING_IN_BYTES |
static UnaryOperator<String> |
METRIC_SEARCH_PATTERN |
| Constructor and Description |
|---|
BusinessMetricCollection() |
BusinessMetricCollection(int maxMetricsStringInBytes) |
| Modifier and Type | Method and Description |
|---|---|
void |
addMetric(String metric) |
String |
asBoundedString()
Constructs a string representation of a collection of business metrics strings in Base64 formats.
|
void |
merge(Collection<String> additionalMetrics) |
List<String> |
recordedMetrics() |
public static final int MAX_METRICS_STRING_IN_BYTES
public static final UnaryOperator<String> METRIC_SEARCH_PATTERN
public BusinessMetricCollection()
public BusinessMetricCollection(int maxMetricsStringInBytes)
public void addMetric(String metric)
public void merge(Collection<String> additionalMetrics)
public String asBoundedString()
MAX_METRICS_STRING_IN_BYTES bytes.Copyright © 2026. All rights reserved.