logstash-output-opentelemetry 0.2.8-java → 0.4.0.rc1-java

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ec3192cbb690004453d786a7bef1d1bc59a786944231fca9a0f7d3d94937499c
4
- data.tar.gz: '0609750cabad0195205761d5708705529dc4ace494dbd690ad7a1aa90cda1871'
3
+ metadata.gz: cc86554cecc25225fe54295c607cbaf0a5a98a6a0617b54a20fca9c916365a28
4
+ data.tar.gz: 5b78c31d9e587259aafa721b76e1a69121680366f9083657d6d2c3a04ffe55de
5
5
  SHA512:
6
- metadata.gz: 73ca548c90b140c49c9bf90972484287e2625c67f6d5e2bef598f95dcfbad30d7a803300d209a2580be482ded8c20cc2b83db296ee660092092243d95e12c52e
7
- data.tar.gz: efc44378de2a9f7f934900c07fb7f46f8c0373c72179856562d32e61478c5e849f610106788a590920f7b15f1e27e899ff53be737b5d71b79669d7f88e64402b
6
+ metadata.gz: df75a859d5347b2c355e98c353dbf2059035474e5f8e4dba59192248e35a4b729bdd3a6e7cc97de63f7fdd47ac12cf1ca2bbb8fd9f82e3fd694711aa5632ebd0
7
+ data.tar.gz: 593c27e1df997bb463b5f8910ff811be9407450a451e55a11f4526a4bb99d6fb1c2d3ef183927cb2c29fa1e9d68ccb1326763761feb864a96fc904a487fb13d5
data/CHANGELOG.md CHANGED
@@ -2,3 +2,5 @@
2
2
  - Deprecated `endpoint_type` option
3
3
  - Added `protocol` option
4
4
  - Added `compression` option
5
+ ## 0.3.0
6
+ - Fixed bug that prevented `logstash install` from working
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.2.8
1
+ 0.4.0.rc1
@@ -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
@@ -0,0 +1,5 @@
1
+ # AUTOGENERATED BY THE GRADLE SCRIPT. EDITS WILL BE OVERWRITTEN.
2
+ # encoding: utf-8
3
+
4
+ require 'jar_dependencies'
5
+ require_jar('net.stomer', 'logstash-output-opentelemetry', '0.4.0.rc1')
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.2.8
4
+ version: 0.4.0.rc1
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-18 00:00:00.000000000 Z
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.2.8/logstash-output-opentelemetry-0.2.8.jar
77
+ - vendor/jar-dependencies/net/stomer/logstash-output-opentelemetry/0.4.0.rc1/logstash-output-opentelemetry-0.4.0.rc1.jar
76
78
  homepage: https://github.com/paulgrav/logstash-output-opentelemetry
77
79
  licenses:
78
80
  - Apache-2.0
@@ -91,11 +93,11 @@ required_ruby_version: !ruby/object:Gem::Requirement
91
93
  version: '0'
92
94
  required_rubygems_version: !ruby/object:Gem::Requirement
93
95
  requirements:
94
- - - ">="
96
+ - - ">"
95
97
  - !ruby/object:Gem::Version
96
- version: '0'
98
+ version: 1.3.1
97
99
  requirements: []
98
- rubygems_version: 3.1.6
100
+ rubygems_version: 3.0.6
99
101
  signing_key:
100
102
  specification_version: 4
101
103
  summary: OpenTelemetry Output Plugin