lib/fluent/plugin/out_sentry.rb in ach-fluent-plugin-sentry-0.0.8 vs lib/fluent/plugin/out_sentry.rb in ach-fluent-plugin-sentry-0.0.9

- old
+ new

@@ -66,15 +66,15 @@ event = Sentry::Event.new( :configuration => @configuration, :message => record['message'] ) event.timestamp = record['timestamp'] || Time.at(time).utc.strftime('%Y-%m-%dT%H:%M:%S') - event.level = record['level'] || @default_level - event.logger = record['logger'] || @default_logger - event.culprit = record['culprit'] || nil - event.server_name = record['server_name'] || @hostname - event.release = record['release'] if record['release'] - event.tags = event.tags.merge({ :tag => tag }.merge(record['tags'] || {})) - event.extra = record.reject{ |key| EVENT_KEYS.include?(key) } + #event.level = record['level'] || @default_level + #event.logger = record['logger'] || @default_logger + #event.culprit = record['culprit'] || nil + #event.server_name = record['server_name'] || @hostname + #event.release = record['release'] if record['release'] + #event.tags = event.tags.merge({ :tag => tag }.merge(record['tags'] || {})) + #event.extra = record.reject{ |key| EVENT_KEYS.include?(key) } @client.send_event(event) end end