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

Breadcrumb

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

TraceAttributes::DB_OPERATION_NAME

The name of the operation or command being executed.

It is RECOMMENDED to capture the value as provided by the application without attempting to do any case normalization. If the operation name is parsed from the query text, it SHOULD be the first operation name found in the query. For batch operations, if the individual operations are known to have the same operation name then that operation name SHOULD be used prepended by `BATCH`, otherwise `db.operation.name` SHOULD be `BATCH` or some other database system specific term if more applicable.

@example findAndModify @example HMSET @example SELECT

File

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

Class

TraceAttributes

Namespace

OpenTelemetry\SemConv

Code

public const DB_OPERATION_NAME = 'db.operation.name';

API Navigation

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