Uses of Class
io.opentelemetry.sdk.resources.Resource
-
Packages that use Resource Package Description io.opentelemetry.exporter.internal.marshal Marshaling framework for serializing data to protobuf format.io.opentelemetry.exporter.internal.otlp Utilities for working with the OTLP format.io.opentelemetry.exporter.internal.otlp.logs Marshaling of OTLP logs.io.opentelemetry.exporter.internal.otlp.metrics Marshaling of OTLP metrics.io.opentelemetry.exporter.internal.otlp.traces Marshaling of OTLP traces.io.opentelemetry.sdk.autoconfigure io.opentelemetry.sdk.autoconfigure.internal io.opentelemetry.sdk.autoconfigure.spi Java SPI (Service Provider Interface) for implementing extensions to SDK autoconfiguration.io.opentelemetry.sdk.autoconfigure.spi.internal io.opentelemetry.sdk.logs The OpenTelemetry SDK implementation of logging.io.opentelemetry.sdk.logs.data The data format to model logs for export.io.opentelemetry.sdk.metrics The SDK implementation of metrics.io.opentelemetry.sdk.metrics.data Classes which form the in-memory representation of the OpenTelemetry metrics data model.io.opentelemetry.sdk.metrics.export Utilities that facilitate exporting metrics out ofSdkMeterProvider.io.opentelemetry.sdk.metrics.internal.aggregator Metric aggregators.io.opentelemetry.sdk.metrics.internal.data The data format to model metrics for export.io.opentelemetry.sdk.metrics.internal.state io.opentelemetry.sdk.resources API for resource information population.io.opentelemetry.sdk.trace The OpenTelemetry SDK implementation of tracing.io.opentelemetry.sdk.trace.data The data format to model traces for export. -
-
Uses of Resource in io.opentelemetry.exporter.internal.marshal
Fields in io.opentelemetry.exporter.internal.marshal with type parameters of type Resource Modifier and Type Field Description private java.util.function.Function<T,Resource>StatelessMarshalerUtil.Grouper. getResourceprivate java.util.Map<Resource,java.util.Map<InstrumentationScopeInfo,java.util.List<T>>>StatelessMarshalerUtil.Grouper. resultMethods in io.opentelemetry.exporter.internal.marshal that return types with arguments of type Resource Modifier and Type Method Description static <T,U>
java.util.Map<Resource,java.util.Map<InstrumentationScopeInfo,java.util.List<U>>>MarshalerUtil. groupByResourceAndScope(java.util.Collection<T> dataList, java.util.function.Function<T,Resource> getResource, java.util.function.Function<T,InstrumentationScopeInfo> getInstrumentationScope, java.util.function.Function<T,U> createMarshaler)Groups SDK items by resource and instrumentation scope.static <T> java.util.Map<Resource,java.util.Map<InstrumentationScopeInfo,java.util.List<T>>>StatelessMarshalerUtil. groupByResourceAndScope(java.util.Collection<T> dataList, java.util.function.Function<T,Resource> getResource, java.util.function.Function<T,InstrumentationScopeInfo> getInstrumentationScope, MarshalerContext context)Groups SDK items by resource and instrumentation scope.Method parameters in io.opentelemetry.exporter.internal.marshal with type arguments of type Resource Modifier and Type Method Description static <T,U>
java.util.Map<Resource,java.util.Map<InstrumentationScopeInfo,java.util.List<U>>>MarshalerUtil. groupByResourceAndScope(java.util.Collection<T> dataList, java.util.function.Function<T,Resource> getResource, java.util.function.Function<T,InstrumentationScopeInfo> getInstrumentationScope, java.util.function.Function<T,U> createMarshaler)Groups SDK items by resource and instrumentation scope.static <T> java.util.Map<Resource,java.util.Map<InstrumentationScopeInfo,java.util.List<T>>>StatelessMarshalerUtil. groupByResourceAndScope(java.util.Collection<T> dataList, java.util.function.Function<T,Resource> getResource, java.util.function.Function<T,InstrumentationScopeInfo> getInstrumentationScope, MarshalerContext context)Groups SDK items by resource and instrumentation scope.(package private) voidStatelessMarshalerUtil.Grouper. initialize(java.util.Map<Resource,java.util.Map<InstrumentationScopeInfo,java.util.List<T>>> result, java.util.function.Function<T,Resource> getResource, java.util.function.Function<T,InstrumentationScopeInfo> getInstrumentationScope, MarshalerContext context)(package private) voidStatelessMarshalerUtil.Grouper. initialize(java.util.Map<Resource,java.util.Map<InstrumentationScopeInfo,java.util.List<T>>> result, java.util.function.Function<T,Resource> getResource, java.util.function.Function<T,InstrumentationScopeInfo> getInstrumentationScope, MarshalerContext context) -
Uses of Resource in io.opentelemetry.exporter.internal.otlp
Fields in io.opentelemetry.exporter.internal.otlp with type parameters of type Resource Modifier and Type Field Description private static WeakConcurrentMap<Resource,ResourceMarshaler>ResourceMarshaler. RESOURCE_MARSHALER_CACHEMethods in io.opentelemetry.exporter.internal.otlp with parameters of type Resource Modifier and Type Method Description static ResourceMarshalerResourceMarshaler. create(Resource resource)Returns a Marshaler for Resource. -
Uses of Resource in io.opentelemetry.exporter.internal.otlp.logs
Fields in io.opentelemetry.exporter.internal.otlp.logs with type parameters of type Resource Modifier and Type Field Description private java.util.Map<Resource,java.util.Map<InstrumentationScopeInfo,java.util.List<LogRecordData>>>LowAllocationLogsRequestMarshaler. resourceAndScopeMapMethods in io.opentelemetry.exporter.internal.otlp.logs that return types with arguments of type Resource Modifier and Type Method Description private static java.util.Map<Resource,java.util.Map<InstrumentationScopeInfo,java.util.List<LogRecordData>>>LowAllocationLogsRequestMarshaler. groupByResourceAndScope(MarshalerContext context, java.util.Collection<LogRecordData> logDataList)private static java.util.Map<Resource,java.util.Map<InstrumentationScopeInfo,java.util.List<Marshaler>>>ResourceLogsMarshaler. groupByResourceAndScope(java.util.Collection<LogRecordData> logs)Methods in io.opentelemetry.exporter.internal.otlp.logs with parameters of type Resource Modifier and Type Method Description intResourceLogsStatelessMarshaler. getBinarySerializedSize(Resource resource, java.util.Map<InstrumentationScopeInfo,java.util.List<LogRecordData>> scopeMap, MarshalerContext context)voidResourceLogsStatelessMarshaler. writeTo(Serializer output, Resource resource, java.util.Map<InstrumentationScopeInfo,java.util.List<LogRecordData>> scopeMap, MarshalerContext context)Method parameters in io.opentelemetry.exporter.internal.otlp.logs with type arguments of type Resource Modifier and Type Method Description private static intLowAllocationLogsRequestMarshaler. calculateSize(MarshalerContext context, java.util.Map<Resource,java.util.Map<InstrumentationScopeInfo,java.util.List<LogRecordData>>> resourceAndScopeMap) -
Uses of Resource in io.opentelemetry.exporter.internal.otlp.metrics
Fields in io.opentelemetry.exporter.internal.otlp.metrics with type parameters of type Resource Modifier and Type Field Description private java.util.Map<Resource,java.util.Map<InstrumentationScopeInfo,java.util.List<MetricData>>>LowAllocationMetricsRequestMarshaler. resourceAndScopeMapMethods in io.opentelemetry.exporter.internal.otlp.metrics that return types with arguments of type Resource Modifier and Type Method Description private static java.util.Map<Resource,java.util.Map<InstrumentationScopeInfo,java.util.List<MetricData>>>LowAllocationMetricsRequestMarshaler. groupByResourceAndScope(MarshalerContext context, java.util.Collection<MetricData> metricDataList)private static java.util.Map<Resource,java.util.Map<InstrumentationScopeInfo,java.util.List<Marshaler>>>ResourceMetricsMarshaler. groupByResourceAndScope(java.util.Collection<MetricData> metricDataList)Methods in io.opentelemetry.exporter.internal.otlp.metrics with parameters of type Resource Modifier and Type Method Description intResourceMetricsStatelessMarshaler. getBinarySerializedSize(Resource resource, java.util.Map<InstrumentationScopeInfo,java.util.List<MetricData>> scopeMap, MarshalerContext context)voidResourceMetricsStatelessMarshaler. writeTo(Serializer output, Resource resource, java.util.Map<InstrumentationScopeInfo,java.util.List<MetricData>> scopeMap, MarshalerContext context)Method parameters in io.opentelemetry.exporter.internal.otlp.metrics with type arguments of type Resource Modifier and Type Method Description private static intLowAllocationMetricsRequestMarshaler. calculateSize(MarshalerContext context, java.util.Map<Resource,java.util.Map<InstrumentationScopeInfo,java.util.List<MetricData>>> resourceAndScopeMap) -
Uses of Resource in io.opentelemetry.exporter.internal.otlp.traces
Fields in io.opentelemetry.exporter.internal.otlp.traces with type parameters of type Resource Modifier and Type Field Description private java.util.Map<Resource,java.util.Map<InstrumentationScopeInfo,java.util.List<SpanData>>>LowAllocationTraceRequestMarshaler. resourceAndScopeMapMethods in io.opentelemetry.exporter.internal.otlp.traces that return types with arguments of type Resource Modifier and Type Method Description private static java.util.Map<Resource,java.util.Map<InstrumentationScopeInfo,java.util.List<SpanData>>>LowAllocationTraceRequestMarshaler. groupByResourceAndScope(MarshalerContext context, java.util.Collection<SpanData> spanDataList)private static java.util.Map<Resource,java.util.Map<InstrumentationScopeInfo,java.util.List<SpanMarshaler>>>ResourceSpansMarshaler. groupByResourceAndScope(java.util.Collection<SpanData> spanDataList)Methods in io.opentelemetry.exporter.internal.otlp.traces with parameters of type Resource Modifier and Type Method Description intResourceSpansStatelessMarshaler. getBinarySerializedSize(Resource resource, java.util.Map<InstrumentationScopeInfo,java.util.List<SpanData>> scopeMap, MarshalerContext context)voidResourceSpansStatelessMarshaler. writeTo(Serializer output, Resource resource, java.util.Map<InstrumentationScopeInfo,java.util.List<SpanData>> scopeMap, MarshalerContext context)Method parameters in io.opentelemetry.exporter.internal.otlp.traces with type arguments of type Resource Modifier and Type Method Description private static intLowAllocationTraceRequestMarshaler. calculateSize(MarshalerContext context, java.util.Map<Resource,java.util.Map<InstrumentationScopeInfo,java.util.List<SpanData>>> resourceAndScopeMap) -
Uses of Resource in io.opentelemetry.sdk.autoconfigure
Fields in io.opentelemetry.sdk.autoconfigure declared as Resource Modifier and Type Field Description private ResourceAutoValue_AutoConfiguredOpenTelemetrySdk. resourceFields in io.opentelemetry.sdk.autoconfigure with type parameters of type Resource Modifier and Type Field Description private java.util.function.BiFunction<? super Resource,ConfigProperties,? extends Resource>AutoConfiguredOpenTelemetrySdkBuilder. resourceCustomizerprivate java.util.function.BiFunction<? super Resource,ConfigProperties,? extends Resource>AutoConfiguredOpenTelemetrySdkBuilder. resourceCustomizerMethods in io.opentelemetry.sdk.autoconfigure that return Resource Modifier and Type Method Description (package private) static ResourceResourceConfiguration. configureResource(ConfigProperties config, SpiHelper spiHelper, java.util.function.BiFunction<? super Resource,ConfigProperties,? extends Resource> resourceCustomizer)static ResourceResourceConfiguration. createEnvironmentResource()Create aResourcefrom the environment.static ResourceResourceConfiguration. createEnvironmentResource(ConfigProperties config)Create aResourcefrom the environment.(package private) static ResourceResourceConfiguration. filterAttributes(Resource resource, ConfigProperties configProperties)(package private) abstract ResourceAutoConfiguredOpenTelemetrySdk. getResource()Returns theResourcethat was auto-configured.(package private) ResourceAutoValue_AutoConfiguredOpenTelemetrySdk. getResource()Methods in io.opentelemetry.sdk.autoconfigure with parameters of type Resource Modifier and Type Method Description (package private) static AutoConfiguredOpenTelemetrySdkAutoConfiguredOpenTelemetrySdk. create(OpenTelemetrySdk sdk, Resource resource, ConfigProperties config, StructuredConfigProperties structuredConfigProperties)(package private) static ResourceResourceConfiguration. filterAttributes(Resource resource, ConfigProperties configProperties)Method parameters in io.opentelemetry.sdk.autoconfigure with type arguments of type Resource Modifier and Type Method Description AutoConfiguredOpenTelemetrySdkBuilderAutoConfiguredOpenTelemetrySdkBuilder. addResourceCustomizer(java.util.function.BiFunction<? super Resource,ConfigProperties,? extends Resource> resourceCustomizer)Adds aBiFunctionto invoke with the default autoconfiguredResourceto allow customization.AutoConfiguredOpenTelemetrySdkBuilderAutoConfiguredOpenTelemetrySdkBuilder. addResourceCustomizer(java.util.function.BiFunction<? super Resource,ConfigProperties,? extends Resource> resourceCustomizer)Adds aBiFunctionto invoke with the default autoconfiguredResourceto allow customization.(package private) static ResourceResourceConfiguration. configureResource(ConfigProperties config, SpiHelper spiHelper, java.util.function.BiFunction<? super Resource,ConfigProperties,? extends Resource> resourceCustomizer)(package private) static ResourceResourceConfiguration. configureResource(ConfigProperties config, SpiHelper spiHelper, java.util.function.BiFunction<? super Resource,ConfigProperties,? extends Resource> resourceCustomizer)Constructors in io.opentelemetry.sdk.autoconfigure with parameters of type Resource Constructor Description AutoValue_AutoConfiguredOpenTelemetrySdk(OpenTelemetrySdk openTelemetrySdk, Resource resource, ConfigProperties config, StructuredConfigProperties structuredConfig) -
Uses of Resource in io.opentelemetry.sdk.autoconfigure.internal
Methods in io.opentelemetry.sdk.autoconfigure.internal that return Resource Modifier and Type Method Description ResourceEnvironmentResourceProvider. createResource(ConfigProperties config) -
Uses of Resource in io.opentelemetry.sdk.autoconfigure.spi
Methods in io.opentelemetry.sdk.autoconfigure.spi that return Resource Modifier and Type Method Description ResourceResourceProvider. createResource(ConfigProperties config)Method parameters in io.opentelemetry.sdk.autoconfigure.spi with type arguments of type Resource Modifier and Type Method Description AutoConfigurationCustomizerAutoConfigurationCustomizer. addResourceCustomizer(java.util.function.BiFunction<? super Resource,ConfigProperties,? extends Resource> resourceCustomizer)Adds aBiFunctionto invoke with the default autoconfiguredResourceto allow customization.AutoConfigurationCustomizerAutoConfigurationCustomizer. addResourceCustomizer(java.util.function.BiFunction<? super Resource,ConfigProperties,? extends Resource> resourceCustomizer)Adds aBiFunctionto invoke with the default autoconfiguredResourceto allow customization. -
Uses of Resource in io.opentelemetry.sdk.autoconfigure.spi.internal
Methods in io.opentelemetry.sdk.autoconfigure.spi.internal with parameters of type Resource Modifier and Type Method Description booleanConditionalResourceProvider. shouldApply(ConfigProperties config, Resource existing)If an implementation needs to apply only under certain conditions related to the config or the existing state of the Resource being built, they can choose to override this default. -
Uses of Resource in io.opentelemetry.sdk.logs
Fields in io.opentelemetry.sdk.logs declared as Resource Modifier and Type Field Description private ResourceAutoValue_SdkLogRecordData. resourceprivate ResourceLoggerSharedState. resourceprivate ResourceSdkLoggerProviderBuilder. resourceprivate ResourceSdkReadWriteLogRecord. resourceMethods in io.opentelemetry.sdk.logs that return Resource Modifier and Type Method Description ResourceAutoValue_SdkLogRecordData. getResource()(package private) ResourceLoggerSharedState. getResource()Methods in io.opentelemetry.sdk.logs with parameters of type Resource Modifier and Type Method Description SdkLoggerProviderBuilderSdkLoggerProviderBuilder. addResource(Resource resource)Merge aResourcewith the current.(package private) static SdkLogRecordDataSdkLogRecordData. create(Resource resource, InstrumentationScopeInfo instrumentationScopeInfo, long epochNanos, long observedEpochNanos, SpanContext spanContext, Severity severity, java.lang.String severityText, Value<?> body, Attributes attributes, int totalAttributeCount)(package private) static SdkReadWriteLogRecordSdkReadWriteLogRecord. create(LogLimits logLimits, Resource resource, InstrumentationScopeInfo instrumentationScopeInfo, long timestampEpochNanos, long observedTimestampEpochNanos, SpanContext spanContext, Severity severity, java.lang.String severityText, Value<?> body, AttributesMap attributes)Create the log record with the given configuration.SdkLoggerProviderBuilderSdkLoggerProviderBuilder. setResource(Resource resource)Assign aResourceto be attached to allLogRecordDatacreated byLoggers obtained from theSdkLoggerProvider.Constructors in io.opentelemetry.sdk.logs with parameters of type Resource Constructor Description AutoValue_SdkLogRecordData(Resource resource, InstrumentationScopeInfo instrumentationScopeInfo, long timestampEpochNanos, long observedTimestampEpochNanos, SpanContext spanContext, Severity severity, java.lang.String severityText, Attributes attributes, int totalAttributeCount, Value<?> bodyValue)LoggerSharedState(Resource resource, java.util.function.Supplier<LogLimits> logLimitsSupplier, LogRecordProcessor logRecordProcessor, Clock clock)SdkLoggerProvider(Resource resource, java.util.function.Supplier<LogLimits> logLimitsSupplier, java.util.List<LogRecordProcessor> processors, Clock clock, ScopeConfigurator<LoggerConfig> loggerConfigurator)SdkReadWriteLogRecord(LogLimits logLimits, Resource resource, InstrumentationScopeInfo instrumentationScopeInfo, long timestampEpochNanos, long observedTimestampEpochNanos, SpanContext spanContext, Severity severity, java.lang.String severityText, Value<?> body, AttributesMap attributes) -
Uses of Resource in io.opentelemetry.sdk.logs.data
Methods in io.opentelemetry.sdk.logs.data that return Resource Modifier and Type Method Description ResourceLogRecordData. getResource()Returns the resource of this log. -
Uses of Resource in io.opentelemetry.sdk.metrics
Fields in io.opentelemetry.sdk.metrics declared as Resource Modifier and Type Field Description private ResourceSdkMeterProviderBuilder. resourceMethods in io.opentelemetry.sdk.metrics with parameters of type Resource Modifier and Type Method Description SdkMeterProviderBuilderSdkMeterProviderBuilder. addResource(Resource resource)Merge aResourcewith the current.java.util.Collection<MetricData>SdkMeterProvider.LeasedMetricProducer. produce(Resource unused)SdkMeterProviderBuilderSdkMeterProviderBuilder. setResource(Resource resource)Assign aResourceto be attached to all metrics.Constructors in io.opentelemetry.sdk.metrics with parameters of type Resource Constructor Description SdkMeterProvider(java.util.List<RegisteredView> registeredViews, java.util.IdentityHashMap<MetricReader,CardinalityLimitSelector> metricReaders, java.util.List<MetricProducer> metricProducers, Clock clock, Resource resource, ExemplarFilter exemplarFilter, ScopeConfigurator<MeterConfig> meterConfigurator) -
Uses of Resource in io.opentelemetry.sdk.metrics.data
Methods in io.opentelemetry.sdk.metrics.data that return Resource Modifier and Type Method Description ResourceMetricData. getResource()Returns the metricResource. -
Uses of Resource in io.opentelemetry.sdk.metrics.export
Methods in io.opentelemetry.sdk.metrics.export with parameters of type Resource Modifier and Type Method Description java.util.Collection<MetricData>MetricProducer. produce(Resource resource)Returns a collection of producedMetricDatas to be exported. -
Uses of Resource in io.opentelemetry.sdk.metrics.internal.aggregator
Methods in io.opentelemetry.sdk.metrics.internal.aggregator that return Resource Modifier and Type Method Description ResourceEmptyMetricData. getResource()Methods in io.opentelemetry.sdk.metrics.internal.aggregator with parameters of type Resource Modifier and Type Method Description MetricDataAggregator. toMetricData(Resource resource, InstrumentationScopeInfo instrumentationScopeInfo, MetricDescriptor metricDescriptor, java.util.Collection<T> points, AggregationTemporality temporality)Returns theMetricDatathat thisAggregationwill produce.MetricDataDoubleBase2ExponentialHistogramAggregator. toMetricData(Resource resource, InstrumentationScopeInfo instrumentationScopeInfo, MetricDescriptor metricDescriptor, java.util.Collection<ExponentialHistogramPointData> points, AggregationTemporality temporality)MetricDataDoubleExplicitBucketHistogramAggregator. toMetricData(Resource resource, InstrumentationScopeInfo instrumentationScopeInfo, MetricDescriptor metricDescriptor, java.util.Collection<HistogramPointData> pointData, AggregationTemporality temporality)MetricDataDoubleLastValueAggregator. toMetricData(Resource resource, InstrumentationScopeInfo instrumentationScopeInfo, MetricDescriptor descriptor, java.util.Collection<DoublePointData> points, AggregationTemporality temporality)MetricDataDoubleSumAggregator. toMetricData(Resource resource, InstrumentationScopeInfo instrumentationScopeInfo, MetricDescriptor descriptor, java.util.Collection<DoublePointData> points, AggregationTemporality temporality)MetricDataDropAggregator. toMetricData(Resource resource, InstrumentationScopeInfo instrumentationScopeInfo, MetricDescriptor metricDescriptor, java.util.Collection<PointData> points, AggregationTemporality temporality)MetricDataLongLastValueAggregator. toMetricData(Resource resource, InstrumentationScopeInfo instrumentationScopeInfo, MetricDescriptor descriptor, java.util.Collection<LongPointData> points, AggregationTemporality temporality)MetricDataLongSumAggregator. toMetricData(Resource resource, InstrumentationScopeInfo instrumentationScopeInfo, MetricDescriptor descriptor, java.util.Collection<LongPointData> points, AggregationTemporality temporality) -
Uses of Resource in io.opentelemetry.sdk.metrics.internal.data
Fields in io.opentelemetry.sdk.metrics.internal.data declared as Resource Modifier and Type Field Description private ResourceAutoValue_ImmutableMetricData. resourceMethods in io.opentelemetry.sdk.metrics.internal.data that return Resource Modifier and Type Method Description ResourceAutoValue_ImmutableMetricData. getResource()Methods in io.opentelemetry.sdk.metrics.internal.data with parameters of type Resource Modifier and Type Method Description (package private) static ImmutableMetricDataImmutableMetricData. create(Resource resource, InstrumentationScopeInfo instrumentationScopeInfo, java.lang.String name, java.lang.String description, java.lang.String unit, MetricDataType type, Data<?> data)static MetricDataImmutableMetricData. createDoubleGauge(Resource resource, InstrumentationScopeInfo instrumentationScopeInfo, java.lang.String name, java.lang.String description, java.lang.String unit, GaugeData<DoublePointData> data)Returns a new MetricData with aMetricDataType.DOUBLE_GAUGEtype.static MetricDataImmutableMetricData. createDoubleHistogram(Resource resource, InstrumentationScopeInfo instrumentationScopeInfo, java.lang.String name, java.lang.String description, java.lang.String unit, HistogramData data)Returns a new MetricData with aMetricDataType.HISTOGRAMtype.static MetricDataImmutableMetricData. createDoubleSum(Resource resource, InstrumentationScopeInfo instrumentationScopeInfo, java.lang.String name, java.lang.String description, java.lang.String unit, SumData<DoublePointData> data)Returns a new MetricData with aMetricDataType.DOUBLE_SUMtype.static MetricDataImmutableMetricData. createDoubleSummary(Resource resource, InstrumentationScopeInfo instrumentationScopeInfo, java.lang.String name, java.lang.String description, java.lang.String unit, SummaryData data)Returns a new MetricData with aMetricDataType.SUMMARYtype.static MetricDataImmutableMetricData. createExponentialHistogram(Resource resource, InstrumentationScopeInfo instrumentationScopeInfo, java.lang.String name, java.lang.String description, java.lang.String unit, ExponentialHistogramData data)Returns a new MetricData with aMetricDataType.EXPONENTIAL_HISTOGRAMtype.static MetricDataImmutableMetricData. createLongGauge(Resource resource, InstrumentationScopeInfo instrumentationScopeInfo, java.lang.String name, java.lang.String description, java.lang.String unit, GaugeData<LongPointData> data)Returns a new MetricData with aMetricDataType.LONG_GAUGEtype.static MetricDataImmutableMetricData. createLongSum(Resource resource, InstrumentationScopeInfo instrumentationScopeInfo, java.lang.String name, java.lang.String description, java.lang.String unit, SumData<LongPointData> data)Returns a new MetricData with aMetricDataType.LONG_SUMtype.Constructors in io.opentelemetry.sdk.metrics.internal.data with parameters of type Resource Constructor Description AutoValue_ImmutableMetricData(Resource resource, InstrumentationScopeInfo instrumentationScopeInfo, java.lang.String name, java.lang.String description, java.lang.String unit, MetricDataType type, Data<?> data) -
Uses of Resource in io.opentelemetry.sdk.metrics.internal.state
Fields in io.opentelemetry.sdk.metrics.internal.state declared as Resource Modifier and Type Field Description private ResourceAutoValue_MeterProviderSharedState. resourceMethods in io.opentelemetry.sdk.metrics.internal.state that return Resource Modifier and Type Method Description ResourceAutoValue_MeterProviderSharedState. getResource()abstract ResourceMeterProviderSharedState. getResource()Returns theResourceto attach telemetry to.Methods in io.opentelemetry.sdk.metrics.internal.state with parameters of type Resource Modifier and Type Method Description MetricDataAsynchronousMetricStorage. collect(Resource resource, InstrumentationScopeInfo instrumentationScopeInfo, long startEpochNanos, long epochNanos)MetricDataDefaultSynchronousMetricStorage. collect(Resource resource, InstrumentationScopeInfo instrumentationScopeInfo, long startEpochNanos, long epochNanos)MetricDataEmptyMetricStorage. collect(Resource resource, InstrumentationScopeInfo instrumentationScopeInfo, long startEpochNanos, long epochNanos)MetricDataMetricStorage. collect(Resource resource, InstrumentationScopeInfo instrumentationScopeInfo, long startEpochNanos, long epochNanos)Collects the metrics from this storage.static MeterProviderSharedStateMeterProviderSharedState. create(Clock clock, Resource resource, ExemplarFilter exemplarFilter, long startEpochNanos)Constructors in io.opentelemetry.sdk.metrics.internal.state with parameters of type Resource Constructor Description AutoValue_MeterProviderSharedState(Clock clock, Resource resource, long startEpochNanos, ExemplarFilter exemplarFilter) -
Uses of Resource in io.opentelemetry.sdk.resources
Subclasses of Resource in io.opentelemetry.sdk.resources Modifier and Type Class Description (package private) classAutoValue_ResourceFields in io.opentelemetry.sdk.resources declared as Resource Modifier and Type Field Description private static ResourceResource. DEFAULTprivate static ResourceResource. EMPTYprivate static ResourceResource. MANDATORYThe MANDATORY Resource instance contains the mandatory attributes that must be used if they are not provided by the Resource that is given to an SDK signal provider.private static ResourceResource. TELEMETRY_SDKMethods in io.opentelemetry.sdk.resources that return Resource Modifier and Type Method Description ResourceResourceBuilder. build()Create theResourcefrom this.static ResourceResource. create(Attributes attributes)Returns aResource.static ResourceResource. create(Attributes attributes, java.lang.String schemaUrl)Returns aResource.static ResourceResource. empty()Returns an emptyResource.static ResourceResource. getDefault()Returns the defaultResource.ResourceResource. merge(Resource other)Methods in io.opentelemetry.sdk.resources with parameters of type Resource Modifier and Type Method Description ResourceResource. merge(Resource other)ResourceBuilderResourceBuilder. putAll(Resource resource)Puts all attributes fromResourceinto this. -
Uses of Resource in io.opentelemetry.sdk.trace
Fields in io.opentelemetry.sdk.trace declared as Resource Modifier and Type Field Description private ResourceSdkSpan. resourceprivate ResourceSdkTracerProviderBuilder. resourceprivate ResourceTracerSharedState. resourceMethods in io.opentelemetry.sdk.trace that return Resource Modifier and Type Method Description (package private) ResourceSdkSpan. getResource()ResourceSpanWrapper. getResource()(package private) ResourceTracerSharedState. getResource()Methods in io.opentelemetry.sdk.trace with parameters of type Resource Modifier and Type Method Description SdkTracerProviderBuilderSdkTracerProviderBuilder. addResource(Resource resource)Merge aResourcewith the current.SdkTracerProviderBuilderSdkTracerProviderBuilder. setResource(Resource resource)Assign aResourceto be attached to all Spans created by Tracers.(package private) static SdkSpanSdkSpan. startSpan(SpanContext context, java.lang.String name, InstrumentationScopeInfo instrumentationScopeInfo, SpanKind kind, Span parentSpan, Context parentContext, SpanLimits spanLimits, SpanProcessor spanProcessor, Clock tracerClock, Resource resource, AttributesMap attributes, java.util.List<LinkData> links, int totalRecordedLinks, long userStartEpochNanos)Creates and starts a span with the given configuration.Constructors in io.opentelemetry.sdk.trace with parameters of type Resource Constructor Description SdkSpan(SpanContext context, java.lang.String name, InstrumentationScopeInfo instrumentationScopeInfo, SpanKind kind, SpanContext parentSpanContext, SpanLimits spanLimits, SpanProcessor spanProcessor, AnchoredClock clock, Resource resource, AttributesMap attributes, java.util.List<LinkData> links, int totalRecordedLinks, long startEpochNanos)SdkTracerProvider(Clock clock, IdGenerator idsGenerator, Resource resource, java.util.function.Supplier<SpanLimits> spanLimitsSupplier, Sampler sampler, java.util.List<SpanProcessor> spanProcessors, ScopeConfigurator<TracerConfig> tracerConfigurator)TracerSharedState(Clock clock, IdGenerator idGenerator, Resource resource, java.util.function.Supplier<SpanLimits> spanLimitsSupplier, Sampler sampler, java.util.List<SpanProcessor> spanProcessors) -
Uses of Resource in io.opentelemetry.sdk.trace.data
Methods in io.opentelemetry.sdk.trace.data that return Resource Modifier and Type Method Description ResourceDelegatingSpanData. getResource()ResourceSpanData. getResource()Returns the resource of thisSpan.
-