Method: Datadog::Statsd::Serialization::EventSerializer#initialize

Defined in:
lib/datadog/statsd/serialization/event_serializer.rb

#initialize(global_tags: []) ⇒ EventSerializer

Returns a new instance of EventSerializer.



16
17
18
# File 'lib/datadog/statsd/serialization/event_serializer.rb', line 16

def initialize(global_tags: [])
  @tag_serializer = TagSerializer.new(global_tags)
end