fluent-plugin-dynatrace 0.1.4 → 0.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e61b33a2a75ef377666b7982b3fb34060c0d8e3383f2d2386e283b90a4d88202
4
- data.tar.gz: a80582cc08ca72a4d16ae6fa67f97205934a50e186580395b2bc6b51b8cfa786
3
+ metadata.gz: 98f310a4b3573ee5ac78b009c56ce8d6efe89de82ecbb6bec12dbff476fde3a5
4
+ data.tar.gz: 519df5709f9d58c3d5ed4d55bfa83b7b6d6f2fd6483cacb1575bbd7659fe7b54
5
5
  SHA512:
6
- metadata.gz: 32d3f9cdbb42cdc091ed03615553ae9ab99d3101546d97d66e7a1dfb5d80743cbc80db44576299083f2011067827020d0a97543e491216dbf0c65da37d272836
7
- data.tar.gz: d59fb13eb7d6df92803d2039ab55252bbd83123fbf45d29f9ff9fad2fa5482c92ac2d69421ec5219da4352ab6a9eac753ce5128e895ac9d9e37c322ff52ca631
6
+ metadata.gz: eb61c9971a4e497ec4e9bda95b9d45f2face4791a2eb661df5429656a2be39b7fd0bbbcf33153c3cdec6b18ff878b7651f22bd8951e28dcdb0a0354f77bffcb1
7
+ data.tar.gz: dc61313d395792ee7e47d85af6098333dd7e52da9d1fe2028c1263b418b4d61727e4e03190d8fad470135457625432d6a0b13def9e6d3efd33b93e988fd00b67
@@ -20,7 +20,7 @@ module Fluent
20
20
  class DynatraceOutputConstants
21
21
  # The version of the Dynatrace output plugin
22
22
  def self.version
23
- '0.1.4'
23
+ '0.1.5'
24
24
  end
25
25
  end
26
26
  end
@@ -31,7 +31,9 @@ module Fluent
31
31
  # Configurations
32
32
  desc 'The full URL of the Dynatrace log ingestion endpoint, e.g. https://my-active-gate.example.com/api/logs/ingest'
33
33
  config_param :active_gate_url, :string
34
- desc 'The API token to use to authenticate requests to the log ingestion endpoint. Must have TODO scope'
34
+ desc 'The API token to use to authenticate requests to the log ingestion endpoint. '\
35
+ 'Must have logs.ingest (Ingest Logs) scope. '\
36
+ 'It is recommended to limit scope to only this one.'
35
37
  config_param :api_token, :string, secret: true
36
38
 
37
39
  desc 'Disable SSL validation by setting :verify_mode OpenSSL::SSL::VERIFY_NONE'
@@ -89,7 +91,7 @@ module Fluent
89
91
  body.push(record)
90
92
  end
91
93
 
92
- send_to_dynatrace("#{body.to_json.chomp}\n")
94
+ send_to_dynatrace("#{body.to_json.chomp}\n") unless body.empty?
93
95
  end
94
96
 
95
97
  #############################################
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-dynatrace
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dynatrace Open Source Engineering
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-04-23 00:00:00.000000000 Z
11
+ date: 2021-07-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fluentd