Skip to content
This repository has been archived by the owner on Oct 19, 2022. It is now read-only.

Commit

Permalink
change method name. and delete '?'
Browse files Browse the repository at this point in the history
  • Loading branch information
VTRyo committed Oct 12, 2022
1 parent 70802e6 commit 8fb6ae0
Showing 1 changed file with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,17 @@ module Datadog
# @option [String] socket_path unix socket path
# @option [Float] default sample rate if not overridden
# @option [Boolean] single_thread flushes the metrics on the main thread instead of in a companion thread
def self.new: (
def initialize: (
?String host,
?Integer port,
?socket_path: String?,
?namespace: String?,
?tags: (Array[String] | Hash[Symbol, untyped] ),
?sample_rate: Integer?,
?buffer_max_payload_size: Integer?,
?buffer_max_pool_size: Integer?,
?buffer_flush_interval: Numeric?,
?sender_queue_size: Float?,
?socket_path: String,
?namespace: String,
?tags: (Array[String] | Hash[untyped, untyped] ),
?sample_rate: Integer,
?buffer_max_payload_size: Integer,
?buffer_max_pool_size: Integer,
?buffer_flush_interval: Numeric,
?sender_queue_size: Float,
?logger: untyped,
?single_thread: bool) -> void
end
Expand Down

0 comments on commit 8fb6ae0

Please sign in to comment.