function ResourceLogs::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_logs" 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/ Logs/ V1/ ResourceLogs.php, line 140
Class
- ResourceLogs
- A collection of ScopeLogs from a Resource.
Namespace
Opentelemetry\Proto\Logs\V1Code
public function getSchemaUrl() {
return $this->schema_url;
}