io.opentelemetry.sdk.autoconfigure.spi.ResourceProvider Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of opentelemetry-sdk-extension-autoconfigure-spi Show documentation
Show all versions of opentelemetry-sdk-extension-autoconfigure-spi Show documentation
OpenTelemetry SDK Auto-configuration SPI
The newest version!
/*
* Copyright The OpenTelemetry Authors
* SPDX-License-Identifier: Apache-2.0
*/
package io.opentelemetry.sdk.autoconfigure.spi;
import io.opentelemetry.sdk.resources.Resource;
/**
* A service provider interface (SPI) for providing a {@link Resource} that is merged into the
* {@linkplain Resource#getDefault() default resource}.
*/
public interface ResourceProvider extends Ordered {
Resource createResource(ConfigProperties config);
}