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

Breadcrumb

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

function ResourceMetrics::getSchemaUrl

The Schema URL, if known. This is the identifier of the Schema that the resource data is recorded in. To learn more about Schema URL see https://opentelemetry.io/docs/specs/otel/schemas/#schema-url This schema_url applies to the data in the "resource" field. It does not apply to the data in the "scope_metrics" field which have their own schema_url field.

Generated from protobuf field <code>string schema_url = 3;</code>

Return value

string

File

vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/ResourceMetrics.php, line 140

Class

ResourceMetrics
A collection of ScopeMetrics from a Resource.

Namespace

Opentelemetry\Proto\Metrics\V1

Code

public function getSchemaUrl() {
    return $this->schema_url;
}

API Navigation

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