function ResourceInfo::create
11 calls to ResourceInfo::create()
- Composer::getResource in vendor/
open-telemetry/ sdk/ Resource/ Detectors/ Composer.php - Environment::getResource in vendor/
open-telemetry/ sdk/ Resource/ Detectors/ Environment.php - Host::getResource in vendor/
open-telemetry/ sdk/ Resource/ Detectors/ Host.php - OperatingSystem::getResource in vendor/
open-telemetry/ sdk/ Resource/ Detectors/ OperatingSystem.php - Process::getResource in vendor/
open-telemetry/ sdk/ Resource/ Detectors/ Process.php - @psalm-suppress PossiblyUndefinedArrayOffset
File
-
vendor/
open-telemetry/ sdk/ Resource/ ResourceInfo.php, line 30
Class
- ResourceInfo
- A Resource is an immutable representation of the entity producing telemetry. For example, a process producing telemetry that is running in a container on Kubernetes has a Pod name, it is in a namespace and possibly is part of a Deployment which also…
Namespace
OpenTelemetry\SDK\ResourceCode
public static function create(AttributesInterface $attributes, ?string $schemaUrl = null) : self {
return new ResourceInfo($attributes, $schemaUrl);
}