def fire(name, value = nil, service = nil, node = nil, tag = nil, dc = nil, options = {})
      custom_params = []
      custom_params << use_named_parameter('service', service) if service
      custom_params << use_named_parameter('node', node) if node
      custom_params << use_named_parameter('tag', tag) if tag
      custom_params << use_named_parameter('dc', dc) if dc

      send_put_request(@conn, ["/v1/event/fire/#{name}"], options, value, custom_params)
      nil
    end
def fire(name, value = nil, service = nil, node = nil, tag = nil, dc = nil, options = {})
      custom_params = []
      custom_params << use_named_parameter('service', service) if service
      custom_params << use_named_parameter('node', node) if node
      custom_params << use_named_parameter('tag', tag) if tag
      custom_params << use_named_parameter('dc', dc) if dc

      send_put_request(@conn, ["/v1/event/fire/#{name}"], options, value, custom_params)
      nil
    end
Send an event
 @param name [String] the event name
 @param value [String] the payload of the event
 @param service [String] the target service name
 @param node [String] the target node name
 @param tag [String] the target tag name, must only be used with service
 @param dc [String] the dc to target
 @param options [Hash] options parameter hash
 @return [nil]
 rubocop:disable Metrics/ParameterLists