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

    Function detectResourceAttributes

    • Detects resource attributes: host (host.name, host.arch, os.type, os.version), process (process.pid, process.executable.*, process.runtime.*, process.command, process.owner), container (container.id from cgroups) and k8s (k8s.pod.name, k8s.namespace.name, … from the downward-API variables K8S_*/POD_*, HOSTNAME and the service-account namespace file). Detectors that find nothing add nothing.

      Parameters

      Returns SpanAttributes