function ScopeMetrics::getSchemaUrl
The Schema URL, if known. This is the identifier of the Schema that the metric 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 all metrics in the "metrics" 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/ ScopeMetrics.php, line 141
Class
- ScopeMetrics
- A collection of Metrics produced by an Scope.
Namespace
Opentelemetry\Proto\Metrics\V1Code
public function getSchemaUrl() {
return $this->schema_url;
}