Skip to content

Commit

Permalink
remove redundant constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
beekhc committed Jan 14, 2025
1 parent c960114 commit f4183ce
Showing 1 changed file with 0 additions and 53 deletions.
53 changes: 0 additions & 53 deletions Sources/Honeycomb/HoneycombOptions.swift
Original file line number Diff line number Diff line change
Expand Up @@ -188,59 +188,6 @@ public struct HoneycombOptions {
let metricsProtocol: OTLPProtocol
let logsProtocol: OTLPProtocol

init(
tracesApiKey: String,
metricsApiKey: String,
logsApiKey: String,
dataset: String?,
metricsDataset: String?,
tracesEndpoint: String,
metricsEndpoint: String,
logsEndpoint: String,
sampleRate: Int,
debug: Bool,
serviceName: String,
resourceAttributes: [String: String],
tracesSampler: String,
tracesSamplerArg: String?,
propagators: String,
tracesHeaders: [String: String],
metricsHeaders: [String: String],
logsHeaders: [String: String],
tracesTimeout: TimeInterval,
metricsTimeout: TimeInterval,
logsTimeout: TimeInterval,
tracesProtocol: OTLPProtocol,
metricsProtocol: OTLPProtocol,
logsProtocol: OTLPProtocol
) {

self.tracesApiKey = tracesApiKey
self.metricsApiKey = metricsApiKey
self.logsApiKey = logsApiKey
self.dataset = dataset
self.metricsDataset = metricsDataset
self.tracesEndpoint = tracesEndpoint
self.metricsEndpoint = metricsEndpoint
self.logsEndpoint = logsEndpoint
self.sampleRate = sampleRate
self.debug = debug
self.serviceName = serviceName
self.resourceAttributes = resourceAttributes
self.tracesSampler = tracesSampler
self.tracesSamplerArg = tracesSamplerArg
self.propagators = propagators
self.tracesHeaders = tracesHeaders
self.metricsHeaders = metricsHeaders
self.logsHeaders = logsHeaders
self.tracesTimeout = tracesTimeout
self.metricsTimeout = metricsTimeout
self.logsTimeout = logsTimeout
self.tracesProtocol = tracesProtocol
self.metricsProtocol = metricsProtocol
self.logsProtocol = logsProtocol
}

public class Builder {
private var apiKey: String? = nil
private var tracesApiKey: String? = nil
Expand Down

0 comments on commit f4183ce

Please sign in to comment.