logstash-output-otlp 0.4.8-java → 0.5.0-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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9b52eb6dd3c022d4044a25d15b65b0b4f0c49fed621dbad3719fbd1bc1c64550
|
|
4
|
+
data.tar.gz: a553cb6bb1fe87ce81d44d56b11c32f324041a351daad834ad0a6b2aa979bf50
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e817e73a885e5c451468b073ed4baab8a700b8ba907f13dbbaead07da6ffce65e15058b4006d8062b8a2301511887bc07f0cca436d55466c0a5c09e30a0b4d18
|
|
7
|
+
data.tar.gz: 00b32d6a761e488dd1622fc081b93b768427af912871d983ed2e180ca25ebcfb0cdaef7dcf3e2c89bbc9b835c139edc82f79b4ce927809ea8493d40082c7e52f
|
data/README.md
CHANGED
|
@@ -257,49 +257,47 @@ make logstashcorejar
|
|
|
257
257
|
|
|
258
258
|
`make gem` also builds the Logstash core jar before packaging the local plugin gem.
|
|
259
259
|
|
|
260
|
-
##
|
|
260
|
+
## Monitoring
|
|
261
261
|
|
|
262
|
-
`
|
|
262
|
+
The output exposes the Java SDK's `LATEST` log processor and exporter metrics
|
|
263
|
+
under `sdk_metrics` in Logstash's Node Stats API, preserving component,
|
|
264
|
+
endpoint and error attributes. The [metrics demo](tests/integration/queue/README.md)
|
|
265
|
+
shows successful exports, failures and queue saturation in Prometheus.
|
|
266
|
+
`kuskoman/logstash-exporter` v1.9.2 needs additional collector support for these
|
|
267
|
+
custom fields; the demo uses JSON Exporter mappings.
|
|
263
268
|
|
|
264
|
-
|
|
265
|
-
That pattern is intended for local smoke tests of the local gem only.
|
|
269
|
+
## Running locally
|
|
266
270
|
|
|
267
|
-
|
|
271
|
+
With Java 17 and Docker running:
|
|
268
272
|
|
|
269
|
-
```
|
|
270
|
-
|
|
271
|
-
|
|
273
|
+
```sh
|
|
274
|
+
make gem
|
|
275
|
+
docker compose up --build
|
|
272
276
|
```
|
|
273
277
|
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
### Check export error logging manually
|
|
278
|
+
Logstash sends ten records over OTLP/HTTP. The Collector (`otel`) prints them
|
|
279
|
+
using its `debug` exporter with the body `OTLP local example`.
|
|
278
280
|
|
|
279
|
-
|
|
280
|
-
without authentication. With Java 17 and Docker Compose available, build the gem
|
|
281
|
-
and send five events:
|
|
281
|
+
From another terminal:
|
|
282
282
|
|
|
283
283
|
```sh
|
|
284
|
-
|
|
285
|
-
docker compose
|
|
286
|
-
docker compose -f tests/integration/compose.yml up -d collector
|
|
287
|
-
docker compose -f tests/integration/compose.yml run --rm logstash
|
|
288
|
-
docker compose -f tests/integration/compose.yml logs collector
|
|
284
|
+
docker compose logs otel
|
|
285
|
+
docker compose down
|
|
289
286
|
```
|
|
290
287
|
|
|
291
|
-
The
|
|
292
|
-
To simulate an unavailable destination, stop it and send again:
|
|
288
|
+
The Dockerfile installs the local gem built from this repository.
|
|
293
289
|
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
docker
|
|
290
|
+
For a production-like image that installs the published gem from RubyGems, use:
|
|
291
|
+
|
|
292
|
+
```dockerfile
|
|
293
|
+
FROM docker.elastic.co/logstash/logstash:9.4.4@sha256:c1aeca2bbf56148c1c868957e1d0ea5aa020cba5b3dca3493a097f54c0efc544
|
|
294
|
+
RUN logstash-plugin install logstash-output-otlp
|
|
298
295
|
```
|
|
299
296
|
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
297
|
+
### Integration tests
|
|
298
|
+
|
|
299
|
+
See [tests/integration](tests/integration/README.md) for manual tests of export
|
|
300
|
+
error logging, queue metrics in Prometheus and the timestamp fix for Loki.
|
|
303
301
|
|
|
304
302
|
## Notes
|
|
305
303
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.
|
|
1
|
+
0.5.0
|
|
Binary file
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: logstash-output-otlp
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.5.0
|
|
5
5
|
platform: java
|
|
6
6
|
authors:
|
|
7
7
|
- Willian Marchan
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-
|
|
11
|
+
date: 2026-11-01 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -80,7 +80,7 @@ files:
|
|
|
80
80
|
- lib/logstash-output-otlp_jars.rb
|
|
81
81
|
- lib/logstash/outputs/otlp.rb
|
|
82
82
|
- logstash-output-otlp.gemspec
|
|
83
|
-
- vendor/jar-dependencies/org/otlp/logstash-output-otlp/0.
|
|
83
|
+
- vendor/jar-dependencies/org/otlp/logstash-output-otlp/0.5.0/logstash-output-otlp-0.5.0.jar
|
|
84
84
|
homepage: https://github.com/wjma90/logstash-output-otlp
|
|
85
85
|
licenses:
|
|
86
86
|
- Apache-2.0
|