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 +4 -4
- data/README.md +22 -8
- data/fluent-plugin-datadog.gemspec +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 64fbcf3f2a58f4ae91945601d802bfcbbe27a411
|
4
|
+
data.tar.gz: a80b933ca941bdcaaf15f64f0ff2d4900e7cf967
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
37
|
-
|
38
|
-
|
39
|
-
|
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
|
-
|
82
|
-
|
83
|
-
|
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.
|
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
|
+
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-
|
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.
|
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
|