logstash-output-datadog 3.0.4 → 3.0.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 +4 -4
- data/CHANGELOG.md +3 -0
- data/LICENSE +1 -1
- data/docs/index.asciidoc +4 -1
- data/lib/logstash/outputs/datadog.rb +1 -1
- data/logstash-output-datadog.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 187e26eef527783df38744936d7b400a7586cc20d004b1d0022aab7618238c3a
|
|
4
|
+
data.tar.gz: 13c69c09cb1d27d1c24154b234939e3b9eecf11272d8c68ff4343b64c0397c2c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 31f7cfacbf10b8df87e011c5f739dfd4af69ad6a2325991b934b9a8be00b8efc7830742460a579eeca771a17da991366570bf7ee85ff9b4c17f706abb14c4a6e
|
|
7
|
+
data.tar.gz: 2110903def8865cc8accbcdba9b850bc3f0a49eab887046efa07de86a873d7cc463297add6ccb791474196f3a96bd582e82f82cc59211d8538daf989b12544a9
|
data/CHANGELOG.md
CHANGED
data/LICENSE
CHANGED
data/docs/index.asciidoc
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
:plugin: datadog
|
|
2
2
|
:type: output
|
|
3
|
+
:default_codec: plain
|
|
3
4
|
|
|
4
5
|
///////////////////////////////////////////
|
|
5
6
|
START - GENERATED VARIABLES, DO NOT EDIT!
|
|
@@ -119,4 +120,6 @@ Title
|
|
|
119
120
|
|
|
120
121
|
|
|
121
122
|
[id="plugins-{type}s-{plugin}-common-options"]
|
|
122
|
-
include::{include_path}/{type}.asciidoc[]
|
|
123
|
+
include::{include_path}/{type}.asciidoc[]
|
|
124
|
+
|
|
125
|
+
:default_codec!:
|
|
@@ -82,7 +82,7 @@ class LogStash::Outputs::Datadog < LogStash::Outputs::Base
|
|
|
82
82
|
request.add_field("Content-Type", 'application/json')
|
|
83
83
|
response = @client.request(request)
|
|
84
84
|
@logger.info("DD convo", :request => request.inspect, :response => response.inspect)
|
|
85
|
-
raise unless response.code
|
|
85
|
+
raise unless response.code =~ /^2\d\d$/
|
|
86
86
|
rescue Exception => e
|
|
87
87
|
@logger.warn("Unhandled exception", :request => request.inspect, :response => response.inspect, :exception => e.inspect)
|
|
88
88
|
end
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Gem::Specification.new do |s|
|
|
2
2
|
s.name = 'logstash-output-datadog'
|
|
3
|
-
s.version = '3.0.
|
|
3
|
+
s.version = '3.0.5'
|
|
4
4
|
s.licenses = ['Apache License (2.0)']
|
|
5
5
|
s.summary = "Sends events to DataDogHQ based on Logstash events"
|
|
6
6
|
s.description = "This gem is a Logstash plugin required to be installed on top of the Logstash core pipeline using $LS_HOME/bin/logstash-plugin install gemname. This gem is not a stand-alone program"
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: logstash-output-datadog
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.0.
|
|
4
|
+
version: 3.0.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Elastic
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2018-04-06 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|