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

Breadcrumb

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

TraceAttributes::USER_AGENT_NAME

Name of the user-agent extracted from original. Usually refers to the browser's name.

Example of extracting browser's name 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 name SHOULD be selected. In such a scenario it should align with `user_agent.version`

@example Safari @example YourApp

File

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

Class

TraceAttributes

Namespace

OpenTelemetry\SemConv

Code

public const USER_AGENT_NAME = 'user_agent.name';

API Navigation

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