fleashiro opened a new issue, #9614:
URL: https://github.com/apache/apisix/issues/9614

   ### Description
   
   Currently, in the `opentelemetry` plugin, the service name can only be set 
through the `plugin_attr` attribute in the configuration file. However, I would 
like to propose an enhancement that allows the plugin to prioritize an 
additional attribute, service_name.
   
   When executing the create_tracer_obj method in the `opentelemetry` plugin:
   - If the service_name attribute is present in the plugin attributes, use it 
as the service name.
   - If the service_name attribute is not provided, fallback to using the value 
defined in the configuration file.
   
   
   This enhancement will provide users with the flexibility to configure the 
service_name directly in the plugin attributes, making it more convenient and 
intuitive to use. 
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to