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

Breadcrumb

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

TraceAttributes::USER_AGENT_VERSION

Version of the user-agent extracted from original. Usually refers to the browser's version.

Example of extracting browser's version from original string. In the case of using a user-agent for non-browser products, such as microservices with multiple names/versions inside the `user_agent.original`, the most significant version SHOULD be selected. In such a scenario it should align with `user_agent.name`

@example 14.1.2 @example 1.0.0

File

vendor/open-telemetry/sem-conv/TraceAttributes.php, line 4278

Class

TraceAttributes

Namespace

OpenTelemetry\SemConv

Code

public const USER_AGENT_VERSION = 'user_agent.version';

API Navigation

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