Closed
Description
I think it would look something like this.
// WithClientName returns a shallow copy of the Client with its tracing client name changed to clientName.
// - clientName - the fully qualified name of the client ("package.Client"); this is used by the tracing provider when creating spans
func (c *Client) WithClientName(clientName string) *Client { /*...*/ }
This is similar to how *http.Request.WithContext()
works.