public class ContextExportableMetric extends Object implements ExportableMetric
| Constructor and Description |
|---|
ContextExportableMetric(io.opentelemetry.proto.metrics.v1.Metric metric,
MetricKey key,
Context context) |
| Modifier and Type | Method and Description |
|---|---|
io.opentelemetry.proto.common.v1.InstrumentationScope |
instrumentationScope() |
MetricKey |
key() |
io.opentelemetry.proto.metrics.v1.Metric |
metric() |
io.opentelemetry.proto.resource.v1.Resource |
resource() |
io.opentelemetry.proto.metrics.v1.ResourceMetrics |
resourceMetrics() |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbuildMetricsData, buildRequestpublic io.opentelemetry.proto.metrics.v1.Metric metric()
metric in interface ExportableMetricMetric associated with this ExportableMetricpublic io.opentelemetry.proto.resource.v1.Resource resource()
resource in interface ExportableMetricResource associated with this ExportableMetricpublic io.opentelemetry.proto.common.v1.InstrumentationScope instrumentationScope()
instrumentationScope in interface ExportableMetricInstrumentationScope associated with this ExportableMetricpublic io.opentelemetry.proto.metrics.v1.ResourceMetrics resourceMetrics()
resourceMetrics in interface ExportableMetricResourceMetrics associated with this ExportableMetric