OpenTelemetry SDK
    Preparing search index...

    Interface ResourceDetector

    Interface for a Resource Detector. A resource detector returns a set of detected resource attributes. A detected resource attribute may be an AnyValue or a Promise of an AnyValue. Attributes values that are not "simple" attributes are dropped with a warning. See OTEP 4485.

    interface ResourceDetector {
        detect(config?: ResourceDetectionConfig): DetectedResource;
    }
    Index