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

Breadcrumb

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

ResourceAttributes::USER_AGENT_ORIGINAL

Full user-agent string provided by the browser.

The user-agent value SHOULD be provided only from browsers that do not have a mechanism to retrieve brands and platform individually from the User-Agent Client Hints API. To retrieve the value, the legacy `navigator.userAgent` API can be used.

@example Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.54 Safari/537.36

File

vendor/open-telemetry/sem-conv/ResourceAttributes.php, line 1001

Class

ResourceAttributes

Namespace

OpenTelemetry\SemConv

Code

public const USER_AGENT_ORIGINAL = 'user_agent.original';

API Navigation

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