Skip to content

Instantly share code, notes, and snippets.

View cyrille-leclerc's full-sized avatar

Cyrille Le Clerc cyrille-leclerc

View GitHub Profile
@cyrille-leclerc
cyrille-leclerc / junit.log
Created August 20, 2021 14:14
OtlpGrpcExporter/Netty still active after shutdown #3521
/Library/Java/JavaVirtualMachines/adoptopenjdk-16.jdk/Contents/Home/bin/java -ea -Didea.test.cyclic.buffer.size=1048576 -javaagent:/Applications/IntelliJ IDEA 2021.2 EAP.app/Contents/lib/idea_rt.jar=64001:/Applications/IntelliJ IDEA 2021.2 EAP.app/Contents/bin -Dfile.encoding=UTF-8 -classpath /Applications/IntelliJ IDEA 2021.2 EAP.app/Contents/lib/idea_rt.jar:/Applications/IntelliJ IDEA 2021.2 EAP.app/Contents/plugins/junit/lib/junit5-rt.jar:/Applications/IntelliJ IDEA 2021.2 EAP.app/Contents/plugins/junit/lib/junit-rt.jar:/Users/cyrilleleclerc/git/maven/opentelemetry-maven-extension/target/test-classes:/Users/cyrilleleclerc/git/maven/opentelemetry-maven-extension/target/classes:/Users/cyrilleleclerc/.m2/repository/org/codehaus/plexus/plexus-component-annotations/2.1.0/plexus-component-annotations-2.1.0.jar:/Users/cyrilleleclerc/.m2/repository/org/apache/maven/maven-core/3.5.0/maven-core-3.5.0.jar:/Users/cyrilleleclerc/.m2/repository/org/apache/maven/maven-model/3.5.0/maven-model-3.5.0.jar:/Users/cyrillelecle
@cyrille-leclerc
cyrille-leclerc / mvn.log
Created August 16, 2021 15:07
OpenTelemetry Maven Extension - NoClassDefFoundError: io/grpc/netty/shaded/io/netty/channel/AbstractChannel$AbstractUnsafe$8
Apache Maven 3.8.2 (ea98e05a04480131370aa0c110b8c54cf726c06f)
Maven home: /usr/local/Cellar/maven/3.8.2/libexec
Java version: 11.0.11, vendor: AdoptOpenJDK, runtime: /Library/Java/JavaVirtualMachines/adoptopenjdk-11.jdk/Contents/Home
Default locale: en_US, platform encoding: UTF-8
OS name: "mac os x", version: "11.5", arch: "x86_64", family: "mac"
[DEBUG] Created new class realm maven.api
[DEBUG] Importing foreign packages into class realm maven.api
[DEBUG] Imported: javax.annotation.* < plexus.core
[DEBUG] Imported: javax.annotation.security.* < plexus.core
[DEBUG] Imported: javax.enterprise.inject.* < plexus.core
@cyrille-leclerc
cyrille-leclerc / another-exception.log
Last active August 16, 2021 12:46
mvn otel extension shutdown exception: ClassNotFoundException: io.grpc.internal.ManagedChannelImpl$1NotifyStateChanged
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 7.773 s
[INFO] Finished at: 2021-08-13T18:03:24+02:00
[INFO] ------------------------------------------------------------------------
Exception in thread "BatchSpanProcessor_WorkerThread-1" java.lang.NoClassDefFoundError: io/grpc/internal/ManagedChannelImpl$1NotifyStateChanged
at io.grpc.internal.ManagedChannelImpl.notifyWhenStateChanged(ManagedChannelImpl.java:1316)
at io.grpc.internal.ForwardingManagedChannel.notifyWhenStateChanged(ForwardingManagedChannel.java:78)
at io.opentelemetry.exporter.otlp.trace.OtlpGrpcSpanExporter.shutdown(OtlpGrpcSpanExporter.java:183)
@cyrille-leclerc
cyrille-leclerc / maven_EventSpy_Context_getData.log
Created August 10, 2021 14:05
maven EventSpy Context getData
{
systemProperties={
awt.toolkit=sun.lwawt.macosx.LWCToolkit,
env.TERM=xterm-256color,
java.specification.version=11,
sun.cpu.isalist=,
sun.jnu.encoding=UTF-8,
env.TERMINAL_EMULATOR=JetBrains-JediTerm,
sun.arch.data.model=64,
java.vendor.url=https://adoptopenjdk.net/,
@cyrille-leclerc
cyrille-leclerc / elastic-apm-span.json
Last active November 28, 2020 15:49
ECS RFC Service Environment Field
{
"_index": "apm-7.10.0-transaction-000001",
"_type": "_doc",
"_id": "8tlyD3YBKOouY3Ui1sED",
"_version": 1,
"_score": null,
"_source": {
"parent": {
"id": "50e5b6e4d0c21e1f"
},
@cyrille-leclerc
cyrille-leclerc / 00-README.md
Last active November 3, 2020 11:27
Elastic APM - OpenTelemetry Trace - Span custom attributes mixed with OpenTelemetry attributes

Demo Architecture

image

@cyrille-leclerc
cyrille-leclerc / 0-README.md
Last active September 16, 2020 11:54
Sample log message emitted by a Spring Boot Application with LogBack and ECS Logging Java 0.4.0
@cyrille-leclerc
cyrille-leclerc / 0-README.md
Created July 23, 2020 08:38
Sample APM Span invoking a PostgreSQL database from a Spring Boot application
@cyrille-leclerc
cyrille-leclerc / 0-README.md
Last active March 10, 2020 08:47
Huawei USB modem E5573Bs-322 detected by a GL-MT300N-V2 (3.025) as "Tethering" rather than as "3G/4G Modem"
@cyrille-leclerc
cyrille-leclerc / threadDump.log
Created December 6, 2018 17:14
JENKINS-49337 threadDump GeneralNonBlockingStepExecution / SynchronousNonBlockingStepExecution
2018-12-06 17:58:13
Full thread dump Java HotSpot(TM) 64-Bit Server VM (25.191-b12 mixed mode):
"RMI TCP Connection(4)-192.168.1.80" #314 daemon prio=9 os_prio=31 tid=0x00007ff4fe5c6000 nid=0x11b07 runnable [0x000070000ed7d000]
java.lang.Thread.State: RUNNABLE
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
at java.net.SocketInputStream.read(SocketInputStream.java:171)
at java.net.SocketInputStream.read(SocketInputStream.java:141)