You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 16, 2026. It is now read-only.
option1 := senders.SDKMetricsTags(map[string]string{"foo": "bar"})
option2 := senders.SDKMetricsTags(map[string]string{"baz": "none"})
sender, err := senders.NewSender("http://localhost", option1, option2)
// Now option1 represents adding both foo=bar and baz=none. badSender won't behave
// as user expects.
badSender, err := senders.NewSender("http://10.1.10.1", option1)
options in the API shouldn't change once created. User of API should be able to reuse a created option at any time knowing that it represents the same thing.