@grow-codes/opentelemetry-collector - v0.1.1
    Preparing search index...

    Interface DetectResourceOptions

    Test seams of detectResourceAttributes.

    interface DetectResourceOptions {
        detectors?: readonly ResourceDetectorName[];
        env?: Readonly<Record<string, string | undefined>>;
        readFile?: (path: string) => string | undefined;
    }
    Index
    detectors?: readonly ResourceDetectorName[]

    Detectors to run. Default: all.

    env?: Readonly<Record<string, string | undefined>>

    Environment (Kubernetes downward-API variables). Default process.env.

    readFile?: (path: string) => string | undefined

    Reads a text file; returns undefined when it cannot. Default: fs.readFileSync.