logstash-output-opentelemetry 0.1.1 → 0.2.0
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 +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.0/logstash-output-opentelemetry-0.2.0.jar} +0 -0
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a8092f31a2154bc8a86cfe6b791de834dc03e8474f5a3e46804a4c4d3ae5397e
|
|
4
|
+
data.tar.gz: 82f4e840f2fea20cc43244b8815671c811382670a2279f75a81c1a086359d6b2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 25012ba3c156bca9ab9ae77e1b8e3775a44c26737a623a06b0e5af7f3ad3cce3f94c1a2969a817edcb4c66c954943ca867b3e482d95b8d046d301f315685df79
|
|
7
|
+
data.tar.gz: ad698acd25d7399c7080df2e96bc593645ca035a5a3da766c866599910cfa2340201180d915dad64afc9a2f988447ae940cf6788f14bde9e1b536a3748c13772
|
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.0
|
|
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.0
|
|
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-16 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -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.0/logstash-output-opentelemetry-0.2.0.jar
|
|
79
79
|
homepage: https://github.com/paulgrav/logstash-output-opentelemetry
|
|
80
80
|
licenses:
|
|
81
81
|
- Apache-2.0
|