opencensus-go-exporter-ocagent
opencensus-go-exporter-ocagent copied to clipboard
all: consider removing ExporterOption
Functional options are a considered disadvantageous due their complexity, read https://middlemost.com/object-lifecycle/ for more and consider about exporting some fields on the Exporter type instead.
type Exporter struct {
Addr string
Insecure bool
ServiceName string
}
func NewExporter(serviceName string) (*Exporter, error)