open-telemetry / opentelemetry-cpp-contrib

https://opentelemetry.io/
Apache License 2.0
121 stars 128 forks source link

Adding missing root span attributes and a Directive to configure root span name (operation name) #428

Closed aryanishan1001 closed 2 months ago

aryanishan1001 commented 2 months ago

Added two features -

  1. $remote_port and User-Agent header value was added as a root span attribute.
  2. NginxModuleOperationName directive is introduced, it can be used specify root span name directly for endpoints.

https://github.com/open-telemetry/opentelemetry-cpp-contrib/issues/404 https://github.com/open-telemetry/opentelemetry-cpp-contrib/issues/362