logstash-output-opentelemetry 0.1.1 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +39 -5
- data/VERSION +1 -1
- data/lib/logstash-output-opentelemetry_jars.rb +1 -1
- data/vendor/jar-dependencies/net/stomer/logstash-output-opentelemetry/{0.1.1/logstash-output-opentelemetry-0.1.1.jar → 0.2.3/logstash-output-opentelemetry-0.2.3.jar} +0 -0
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3d0edc05b5694c271a7f6a7119dee76d17cce7634bac06639816c633ac61407c
|
4
|
+
data.tar.gz: 443f708ff56ca899dc5333c6e59bb7a76bb450b9e2cbe444da19eccbeb5635a7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d6a7633ebc33660013cc17ddce6ac295a888191502c23fbc7663a8ed3a9aab42a3accf64358a114c6fade83091349391fc535943dfb5d6ae4c59e29724352666
|
7
|
+
data.tar.gz: 8ea8e34c281f3d7e34e1993f66d541e83ccbe695ac4ce37be709d667e15bf45379884488952e2ab33b7fa18f2e1a624857f730a7c018625a81bd9cb361b3938a
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -10,7 +10,7 @@ The documentation for Logstash Java plugins is available [here](https://www.elas
|
|
10
10
|
|
11
11
|
## OpenTelemetry
|
12
12
|
|
13
|
-
This plugin allows Logstash to output looks to an OpenTelemetry
|
13
|
+
This plugin allows Logstash to output looks to an OpenTelemetry otlp endpoint.
|
14
14
|
|
15
15
|
Fields below are mapped as per the spec: https://opentelemetry.io/docs/reference/specification/logs/data-model/#elastic-common-schema
|
16
16
|
|
@@ -30,20 +30,50 @@ All other fields are attached as Attributes.
|
|
30
30
|
|
31
31
|
```
|
32
32
|
input {
|
33
|
-
generator
|
33
|
+
generator {
|
34
34
|
count => 10
|
35
|
+
add_field => {
|
36
|
+
"log.level" => "WARN"
|
37
|
+
}
|
35
38
|
}
|
36
39
|
}
|
37
40
|
output {
|
38
|
-
opentelemetry
|
39
|
-
endpoint => "http://
|
41
|
+
opentelemetry {
|
42
|
+
endpoint => "http://otel:4317"
|
43
|
+
protocol => "grpc"
|
44
|
+
compression => "none"
|
40
45
|
}
|
41
46
|
}
|
42
47
|
```
|
43
48
|
|
44
49
|
## Options
|
45
50
|
|
46
|
-
|
51
|
+
| Setting | Input Type | Required |
|
52
|
+
|:--|:--|:--|
|
53
|
+
| endpoint | [uri](https://www.elastic.co/guide/en/logstash/current/configuration-file-structure.html#uri) | Yes |
|
54
|
+
| endpoint_type | [string](https://www.elastic.co/guide/en/logstash/7.16/configuration-file-structure.html#string) | No (Deprecated) |
|
55
|
+
| protocol | [string](https://www.elastic.co/guide/en/logstash/7.16/configuration-file-structure.html#string), one of ["grpc", "http"] | No |
|
56
|
+
| compression | [string](https://www.elastic.co/guide/en/logstash/7.16/configuration-file-structure.html#string), one of ["gzip", "none"] | No |
|
57
|
+
|
58
|
+
`endpoint`
|
59
|
+
|
60
|
+
- This is a required setting.
|
61
|
+
- There is no default value for this setting.
|
62
|
+
- Value type is [uri](https://www.elastic.co/guide/en/logstash/current/configuration-file-structure.html#uri)
|
63
|
+
|
64
|
+
`endpoint_type`
|
65
|
+
|
66
|
+
- Deprecated. Replaced with `protocol`.
|
67
|
+
|
68
|
+
`protocol`
|
69
|
+
|
70
|
+
- Value type is [string](https://www.elastic.co/guide/en/logstash/7.16/configuration-file-structure.html#string)
|
71
|
+
- Default is: `grpc`
|
72
|
+
|
73
|
+
`compression`
|
74
|
+
|
75
|
+
- Value type is [string](https://www.elastic.co/guide/en/logstash/7.16/configuration-file-structure.html#string)
|
76
|
+
- Default is: `none`
|
47
77
|
|
48
78
|
## Building
|
49
79
|
|
@@ -52,3 +82,7 @@ Use `endpoint` to specify a GRPC otlp endpoint.
|
|
52
82
|
## Running locally
|
53
83
|
|
54
84
|
`docker-compose up`
|
85
|
+
|
86
|
+
## Notes
|
87
|
+
|
88
|
+
**Warning** This plugin depends on OpenTelemetry logging libraries are that are alpha quality.
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.2.3
|
Binary file
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: logstash-output-opentelemetry
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Paul Grave
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-01-
|
11
|
+
date: 2022-01-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|
@@ -20,8 +20,8 @@ dependencies:
|
|
20
20
|
- !ruby/object:Gem::Version
|
21
21
|
version: '2.99'
|
22
22
|
name: logstash-core-plugin-api
|
23
|
-
type: :runtime
|
24
23
|
prerelease: false
|
24
|
+
type: :runtime
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
@@ -37,8 +37,8 @@ dependencies:
|
|
37
37
|
- !ruby/object:Gem::Version
|
38
38
|
version: '0'
|
39
39
|
name: jar-dependencies
|
40
|
-
type: :runtime
|
41
40
|
prerelease: false
|
41
|
+
type: :runtime
|
42
42
|
version_requirements: !ruby/object:Gem::Requirement
|
43
43
|
requirements:
|
44
44
|
- - ">="
|
@@ -51,8 +51,8 @@ dependencies:
|
|
51
51
|
- !ruby/object:Gem::Version
|
52
52
|
version: '0'
|
53
53
|
name: logstash-devutils
|
54
|
-
type: :development
|
55
54
|
prerelease: false
|
55
|
+
type: :development
|
56
56
|
version_requirements: !ruby/object:Gem::Requirement
|
57
57
|
requirements:
|
58
58
|
- - ">="
|
@@ -75,7 +75,7 @@ files:
|
|
75
75
|
- lib/logstash-output-opentelemetry_jars.rb
|
76
76
|
- lib/logstash/outputs/opentelemetry.rb
|
77
77
|
- logstash-output-opentelemetry.gemspec
|
78
|
-
- vendor/jar-dependencies/net/stomer/logstash-output-opentelemetry/0.
|
78
|
+
- vendor/jar-dependencies/net/stomer/logstash-output-opentelemetry/0.2.3/logstash-output-opentelemetry-0.2.3.jar
|
79
79
|
homepage: https://github.com/paulgrav/logstash-output-opentelemetry
|
80
80
|
licenses:
|
81
81
|
- Apache-2.0
|
@@ -99,7 +99,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
99
99
|
- !ruby/object:Gem::Version
|
100
100
|
version: '0'
|
101
101
|
requirements: []
|
102
|
-
rubygems_version: 3.
|
102
|
+
rubygems_version: 3.1.6
|
103
103
|
signing_key:
|
104
104
|
specification_version: 4
|
105
105
|
summary: OpenTelemetry Output Plugin
|