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?: ResourceDetectionConfig): DetectedResource;
}

Methods

Methods