Detector
Classes
- CachingDetector
- The file cache never expires: wrap only runtime-stable detection.
- ChainDetector
- Later detectors override earlier keys.
- ComposerDetector
- service.name is the root package name without the vendor prefix.
- EnvironmentDetector
- OTEL_SERVICE_NAME wins over service.name in OTEL_RESOURCE_ATTRIBUTES.
- GitDetector
- Empty Resource without a git binary or work tree.
- HostDetector
- OsDetector
- ProcessDetector
- RemoteUrlSanitizer
- SCP-like and unparsable URLs are returned untouched.
- StaticDetector