fluent-plugin-datadog 0.10.4 → 0.10.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 00af8da995a6929449a6b846fd3c772ba27fa0ef
4
- data.tar.gz: dc262a477d7064e2aac918059beec067d4de02fb
3
+ metadata.gz: 64fbcf3f2a58f4ae91945601d802bfcbbe27a411
4
+ data.tar.gz: a80b933ca941bdcaaf15f64f0ff2d4900e7cf967
5
5
  SHA512:
6
- metadata.gz: 61ed7f93e4b22ce85e80e49bfbf3f08d78e6eda151d29c071b52cb24f92085119b68b07049211b8355d369bb5994556bd0cb89a50ed14bba37818e2d1e481973
7
- data.tar.gz: e8d97a7e1cdb2c0b6c749a799f8a0dd5eed7288e7d7346f3c476c96e912aa176cf3b481bed6fbc2b6c50c1d946a858ca75ecd1ffc51cff968fef32d8340b6e0b
6
+ metadata.gz: 97682ce0db7b87f629be382e95d9489aec3df163a014f7b74f87642d6741a01cbc5f6ee44d321ea8917023b2499bd0cd958e1dee31a2aa0f0d3502b72d023bae
7
+ data.tar.gz: 7ede13e8ae2b91ae16cef2ba7a0a2323acb432ecc69dab99d2d08e0a1884fe68c7fbce426fa3209deff25aaa895a21354912eef3d4141feaf86eb7efd394763a
data/README.md CHANGED
@@ -19,7 +19,8 @@ If you installed the td-agent instead
19
19
 
20
20
  To match events and send them to Datadog, simply add the following code to your configuration file.
21
21
 
22
- TCP example
22
+ TCP example:
23
+
23
24
  ```xml
24
25
  # Match events tagged with "datadog.**" and
25
26
  # send them to Datadog
@@ -33,10 +34,10 @@ TCP example
33
34
  include_tag_key true
34
35
  tag_key 'tag'
35
36
 
36
- # Optional tags
37
- dd_sourcecategory 'aws'
38
- dd_source 'rds'
39
- dd_tags 'app:mysql,env:prod'
37
+ # Optional parameters
38
+ dd_source '<INTEGRATION_NAME>'
39
+ dd_tags '<KEY1:VALU1>,<KEY2:VALUE2>'
40
+ dd_sourcecategory '<MY_SOURCE_CATEGORY>'
40
41
 
41
42
  </match>
42
43
  ```
@@ -78,9 +79,22 @@ As fluent-plugin-datadog is an output_buffer, you can set all output_buffer prop
78
79
 
79
80
  ### Docker and Kubernetes tags
80
81
 
81
- Whether you are using kubernetes, you can enrich your logs with docker and kubernetes tags using [fluent-plugin-kubernetes_metadata_filter](https://github.com/fabric8io/fluent-plugin-kubernetes_metadata_filter).
82
- Add the following code to your configuration file to enable the filter plugin:
83
- ```xml
82
+ Tags in Datadog are critical to be able to jump from one part of the product to the other. Having the right metadata associated to your logs is therefore important to jump from the container view or any container metrics to the most related logs.
83
+
84
+ If your logs contain any of the following attributes, it will automatically be added as Datadog tags (with the same name as on your metrics) on your logs:
85
+
86
+ * kubernetes.container_image
87
+ * kubernetes.container_name
88
+ * kubernetes.namespace_name
89
+ * kubernetes.pod_name
90
+ * docker.container_id
91
+
92
+ If the Datadog Agent collect them automatically, FluentD requires a plugin for this. We recommend using [fluent-plugin-kubernetes_metadata_filter](https://github.com/fabric8io/fluent-plugin-kubernetes_metadata_filter) to collect Docker and Kubernetes metadata.
93
+
94
+ Configuration example:
95
+
96
+ ```
97
+ # Collect metadata for logs tagged with "kubernetes.**"
84
98
  <filter kubernetes.*>
85
99
  type kubernetes_metadata
86
100
  </filter>
@@ -9,7 +9,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
9
9
 
10
10
  Gem::Specification.new do |spec|
11
11
  spec.name = "fluent-plugin-datadog"
12
- spec.version = "0.10.4"
12
+ spec.version = "0.10.5"
13
13
  spec.authors = ["Datadog Solutions Team"]
14
14
  spec.email = ["support@datadoghq.com"]
15
15
  spec.summary = "Datadog output plugin for Fluent event collector"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-datadog
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.4
4
+ version: 0.10.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Datadog Solutions Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-06-07 00:00:00.000000000 Z
11
+ date: 2018-11-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -86,7 +86,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
86
86
  version: '0'
87
87
  requirements: []
88
88
  rubyforge_project:
89
- rubygems_version: 2.6.14
89
+ rubygems_version: 2.5.2.3
90
90
  signing_key:
91
91
  specification_version: 4
92
92
  summary: Datadog output plugin for Fluent event collector