logstash-output-opentelemetry 0.2.8-java → 0.4.0-java
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +2 -0
- data/README.md +52 -0
- data/VERSION +1 -1
- data/lib/logstash/outputs/opentelemetry.rb +12 -0
- data/lib/logstash-output-opentelemetry_jars.rb +5 -0
- data/vendor/jar-dependencies/net/stomer/logstash-output-opentelemetry/{0.2.8/logstash-output-opentelemetry-0.2.8.jar → 0.4.0/logstash-output-opentelemetry-0.4.0.jar} +0 -0
- metadata +9 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e832071229e9a64922781da1123cb22d9ff3496a4a5329835c1c3b3833d656c7
|
4
|
+
data.tar.gz: e254cc3365dc525ef4c6d12e4981487fd39e3d1e97b2fc32d909382264857a32
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1d3b4b14792b7ff7566db2ca07360d63dfc7e53df1f3660a5356d9a4974df5aea7d06309f16af9826cb5f8bed2abad7487b6a4900681cda23a32f903cdbc0db4
|
7
|
+
data.tar.gz: aaffc9d26f82c0e5a5228f1dea1d78574827afbcac06218e07fccae89e7817b0dcaf5baa4f553bbf0dd9b80a0d6c430b44f4a4c9465dc607acf4d6c44e70d4e2
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -63,6 +63,13 @@ output {
|
|
63
63
|
| endpoint_type | [string](https://www.elastic.co/guide/en/logstash/7.16/configuration-file-structure.html#string) | No (Deprecated) |
|
64
64
|
| protocol | [string](https://www.elastic.co/guide/en/logstash/7.16/configuration-file-structure.html#string), one of ["grpc", "http"] | No |
|
65
65
|
| compression | [string](https://www.elastic.co/guide/en/logstash/7.16/configuration-file-structure.html#string), one of ["gzip", "none"] | No |
|
66
|
+
| resource | [Hash](https://www.elastic.co/guide/en/logstash/latest/configuration-file-structure.html#hash) | No |
|
67
|
+
| body | [Field Reference](https://www.elastic.co/guide/en/logstash/7.16/configuration-file-structure.html#field-reference) | No |
|
68
|
+
| name | [Field Reference](https://www.elastic.co/guide/en/logstash/7.16/configuration-file-structure.html#field-reference) | No |
|
69
|
+
| severity_text | [Field Reference](https://www.elastic.co/guide/en/logstash/7.16/configuration-file-structure.html#field-reference) | No |
|
70
|
+
| trace_id | [Field Reference](https://www.elastic.co/guide/en/logstash/7.16/configuration-file-structure.html#field-reference) | No |
|
71
|
+
| span_id | [Field Reference](https://www.elastic.co/guide/en/logstash/7.16/configuration-file-structure.html#field-reference) | No |
|
72
|
+
| trace_flags | [Field Reference](https://www.elastic.co/guide/en/logstash/7.16/configuration-file-structure.html#field-reference) | No |
|
66
73
|
|
67
74
|
`endpoint`
|
68
75
|
|
@@ -70,6 +77,8 @@ output {
|
|
70
77
|
- There is no default value for this setting.
|
71
78
|
- Value type is [uri](https://www.elastic.co/guide/en/logstash/current/configuration-file-structure.html#uri)
|
72
79
|
|
80
|
+
An endpoint that supports otlp to which logs are sent.
|
81
|
+
|
73
82
|
`endpoint_type`
|
74
83
|
|
75
84
|
- Deprecated. Replaced with `protocol`.
|
@@ -79,11 +88,54 @@ output {
|
|
79
88
|
- Value type is [string](https://www.elastic.co/guide/en/logstash/7.16/configuration-file-structure.html#string)
|
80
89
|
- Default is: `grpc`
|
81
90
|
|
91
|
+
Possible values are `grpc` or `http`
|
92
|
+
|
82
93
|
`compression`
|
83
94
|
|
84
95
|
- Value type is [string](https://www.elastic.co/guide/en/logstash/7.16/configuration-file-structure.html#string)
|
85
96
|
- Default is: `none`
|
86
97
|
|
98
|
+
Possible values are `gzip` or `none`
|
99
|
+
|
100
|
+
`resource`
|
101
|
+
|
102
|
+
- Value type is [hash](https://www.elastic.co/guide/en/logstash/latest/configuration-file-structure.html#hash)
|
103
|
+
- Default is empty
|
104
|
+
|
105
|
+
This hash allows additional fields to be added to the [OpenTelemetry Resource field](https://opentelemetry.io/docs/reference/specification/logs/data-model/#field-resource)
|
106
|
+
Hash values must be strings.
|
107
|
+
|
108
|
+
`body`
|
109
|
+
|
110
|
+
- Value type is [Field Reference](https://www.elastic.co/guide/en/logstash/7.16/configuration-file-structure.html#field-reference)
|
111
|
+
- Default is `message`
|
112
|
+
|
113
|
+
The field to reference as the [Otel Body field](https://opentelemetry.io/docs/reference/specification/logs/data-model/#field-body).
|
114
|
+
|
115
|
+
`severity_text`
|
116
|
+
|
117
|
+
- Value type is [Field Reference](https://www.elastic.co/guide/en/logstash/7.16/configuration-file-structure.html#field-reference)
|
118
|
+
|
119
|
+
The field to reference as the [Otel Severity Text field](https://opentelemetry.io/docs/reference/specification/logs/data-model/#field-severitytext).
|
120
|
+
|
121
|
+
`trace_id`
|
122
|
+
|
123
|
+
- Value type is [Field Reference](https://www.elastic.co/guide/en/logstash/7.16/configuration-file-structure.html#field-reference)
|
124
|
+
|
125
|
+
The field to reference as the [Otel Trace ID field](https://opentelemetry.io/docs/reference/specification/logs/data-model/#field-traceid).
|
126
|
+
|
127
|
+
`span_id`
|
128
|
+
|
129
|
+
- Value type is [Field Reference](https://www.elastic.co/guide/en/logstash/7.16/configuration-file-structure.html#field-reference)
|
130
|
+
|
131
|
+
The field to reference as the [Otel Span ID field](https://opentelemetry.io/docs/reference/specification/logs/data-model/#field-spanid).
|
132
|
+
|
133
|
+
`trace_flags`
|
134
|
+
|
135
|
+
- Value type is [Field Reference](https://www.elastic.co/guide/en/logstash/7.16/configuration-file-structure.html#field-reference)
|
136
|
+
|
137
|
+
The field to reference as the [Otel Trace Flags field](https://opentelemetry.io/docs/reference/specification/logs/data-model/#field-traceflags).
|
138
|
+
|
87
139
|
## Building
|
88
140
|
|
89
141
|
`make gem`
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.4.0
|
@@ -0,0 +1,12 @@
|
|
1
|
+
# AUTOGENERATED BY THE GRADLE SCRIPT. EDITS WILL BE OVERWRITTEN.
|
2
|
+
# encoding: utf-8
|
3
|
+
require "logstash/outputs/base"
|
4
|
+
require "logstash/namespace"
|
5
|
+
require "logstash-output-opentelemetry_jars"
|
6
|
+
require "java"
|
7
|
+
|
8
|
+
class LogStash::Outputs::Opentelemetry < LogStash::Outputs::Base
|
9
|
+
config_name "opentelemetry"
|
10
|
+
|
11
|
+
def self.javaClass() Java::net.stomer.Opentelemetry.java_class; end
|
12
|
+
end
|
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.4.0
|
5
5
|
platform: java
|
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-19 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
|
-
prerelease: false
|
24
23
|
type: :runtime
|
24
|
+
prerelease: false
|
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
|
-
prerelease: false
|
41
40
|
type: :runtime
|
41
|
+
prerelease: false
|
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
|
-
prerelease: false
|
55
54
|
type: :development
|
55
|
+
prerelease: false
|
56
56
|
version_requirements: !ruby/object:Gem::Requirement
|
57
57
|
requirements:
|
58
58
|
- - ">="
|
@@ -71,8 +71,10 @@ files:
|
|
71
71
|
- README.md
|
72
72
|
- VERSION
|
73
73
|
- docs/index.asciidoc
|
74
|
+
- lib/logstash-output-opentelemetry_jars.rb
|
75
|
+
- lib/logstash/outputs/opentelemetry.rb
|
74
76
|
- logstash-output-opentelemetry.gemspec
|
75
|
-
- vendor/jar-dependencies/net/stomer/logstash-output-opentelemetry/0.
|
77
|
+
- vendor/jar-dependencies/net/stomer/logstash-output-opentelemetry/0.4.0/logstash-output-opentelemetry-0.4.0.jar
|
76
78
|
homepage: https://github.com/paulgrav/logstash-output-opentelemetry
|
77
79
|
licenses:
|
78
80
|
- Apache-2.0
|
@@ -95,7 +97,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
95
97
|
- !ruby/object:Gem::Version
|
96
98
|
version: '0'
|
97
99
|
requirements: []
|
98
|
-
rubygems_version: 3.
|
100
|
+
rubygems_version: 3.0.6
|
99
101
|
signing_key:
|
100
102
|
specification_version: 4
|
101
103
|
summary: OpenTelemetry Output Plugin
|