Skip to content

Commit

Permalink
BREAKING: Disable cookie processing by default (#34)
Browse files Browse the repository at this point in the history
  • Loading branch information
dyladan authored Feb 27, 2024
1 parent 70777a2 commit 65f3eb8
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
jruby-9.2.17.0
jruby-9.3.10.0
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
## 0.6.0

- Disable cookie processing by default

## 0.5.1

- Split large batches into smaller requests in order to meet Dynatrace API payload size limitations

## 0.5.0

- Rewrite plugin using http client mixin

## 0.4.0

- Add` OpenSSL::SSL::SSLError` to the list of retried exception
Expand Down
3 changes: 3 additions & 0 deletions lib/logstash/outputs/dynatrace.rb
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,9 @@ class PluginInternalQueueLeftoverError < StandardError; end
# Maximum size payload to send to the Dynatrace API in Bytes. Batches of events which would be larger than max_payload_size when serialized will be split into smaller batches of events.
config :max_payload_size, validate: :number, default: 4_500_000

# Disable cookie support. Overridden default value from LogStash::PluginMixins::HttpClient
config :cookies, :validate => :boolean, :default => false

def register
# ssl_verification_mode config is from mixin but ssl_verify_none is our documented config
@ssl_verification_mode = 'none' if @ssl_verify_none
Expand Down
2 changes: 1 addition & 1 deletion version.yaml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
logstash-output-dynatrace: '0.5.1'
logstash-output-dynatrace: '0.6.0'

0 comments on commit 65f3eb8

Please sign in to comment.