Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. ResourceInfo.php

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

... See full list

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\Resource

Code

public static function create(AttributesInterface $attributes, ?string $schemaUrl = null) : self {
    return new ResourceInfo($attributes, $schemaUrl);
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal