Interface for a Resource Detector. A resource detector returns a set of detected resource attributes. A detected resource attribute may be an AttributeValue or a Promise of an AttributeValue.

interface ResourceDetector {
    detect(
        config?: resources.ResourceDetectionConfig,
    ): resources.DetectedResource;
}

Methods

Methods