Skip to content

Commit

Permalink
chore: add comment on UseCustomClient
Browse files Browse the repository at this point in the history
Co-authored-by: Rob <rob@dylibso.com>
  • Loading branch information
nilslice and wikiwong authored Sep 29, 2023
1 parent d0d574c commit 3e22dee
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions go/adapter/opentelemetry/adapter.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ type OTelAdapter struct {
Config *OTelConfig
}

// UseCustomClient accepts a pre-initialized client to allow for customization of how to get data into a collector
func (a *OTelAdapter) UseCustomClient(client otlptrace.Client) {
if a.Config != nil {
a.Config.client = client
Expand Down

0 comments on commit 3e22dee

Please sign in to comment.