Oldřich Jedlička
5b21872533
Implement reading of simple key-value Logstash JSON Marker attributes ( #12513 )
...
Signed-off-by: Oldřich Jedlička <oldium.pro@gmail.com>
Co-authored-by: Lauri Tulmin <ltulmin@splunk.com>
2024-11-19 07:32:07 -08:00
Lauri Tulmin
c6318016b3
Logback: don't make MDCPropertyMap of logging event immutable ( #12718 )
2024-11-14 07:50:38 -08:00
Lauri Tulmin
b8c20a3303
Correct javadoc ( #12593 )
2024-11-08 06:47:11 -08:00
Trask Stalnaker
2371589ec5
Statically import semconv constants in tests ( #12575 )
2024-11-06 08:17:57 -08:00
Lauri Tulmin
0521ac1850
Add logback mdc instrumentation to spring boot starter ( #12515 )
2024-10-29 09:00:48 -07:00
Lauri Tulmin
e72ec7f0ea
Disable logback capture arguments by default ( #12445 )
2024-10-15 07:06:18 -07:00
Lauri Tulmin
34740eef6a
Fix caller data lost in logback mdc library instrumentation ( #12220 )
2024-09-12 12:54:52 -07:00
Lauri Tulmin
c8e22222d0
Make log record asserts similar to trace asserts ( #12164 )
2024-09-04 16:21:28 -07:00
Gregor Zeitlinger
749fafaea8
enforce static imports ( #12009 )
2024-08-21 10:40:50 -07:00
Lauri Tulmin
a69bf33fa8
Fix logback appender test ( #12027 )
2024-08-15 12:40:40 -07:00
Igor Suhorukov
023f30cf46
Save ILoggingEvent.getArgumentArray() arguments from Logback ( #11865 )
...
Co-authored-by: Lauri Tulmin <ltulmin@splunk.com>
2024-08-14 17:16:04 -07:00
Jérôme Joslet
dee515d197
Logback appender: map timestamp in nanoseconds if possible ( #11807 ) ( #11974 )
2024-08-14 15:52:53 -07:00
Gregor Zeitlinger
798bdd5569
config properties support for spring starter clients ( #11605 )
2024-07-02 16:49:39 +03:00
dingjiefei
b47aca99d5
Allow configuring MDC key names for trace_id, span_id, trace_flags ( #11329 )
...
Co-authored-by: Lauri Tulmin <ltulmin@splunk.com>
2024-06-10 12:37:22 -07:00
Lauri Tulmin
3a9972b16f
Remove incubating semconv dependency from library instrumentation ( #11324 )
2024-05-15 11:44:21 -07:00
SylvainJuge
955470a63a
Semconv 1.25.0 migration ( #10983 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-09 11:25:52 -07:00
Lauri Tulmin
2df9001899
Preserve attribute type for logback key value pairs ( #10781 )
2024-03-12 09:25:03 +02:00
Jean Bisutti
25aa69413a
Disable GraalVM metadata repository ( #10423 )
2024-02-06 07:51:43 -08:00
Evgeniy Zuikin
2ee4ee116d
Remove mdc attributes prefix ( #9536 )
...
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2024-01-05 18:41:53 +00:00
Helen
fdeb032b33
Disable controller and view spans by default ( #10042 )
...
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2024-01-04 09:16:46 -08:00
Lauri Tulmin
4a8c4eca04
Reformat logback appender readme ( #10122 )
2024-01-01 17:37:27 -08:00
Lauri Tulmin
2eb5974ecd
Add builder for logback LoggingEventMapper ( #10000 )
2023-12-05 08:29:47 -08:00
Mateusz Rzeszutek
65ee9510f5
Rename the `instrumentation-api-semconv` module into `instrumentation-api-incubator` ( #9985 )
2023-12-04 08:28:10 +01:00
Jean Bisutti
c5cb94893b
Ability to instrument logs before OTel injection into OTel appenders ( #9798 )
...
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2023-11-17 10:03:17 -08:00
Lauri Tulmin
5ab3fdd112
Capture logback logger context properties ( #9553 )
2023-11-16 16:38:10 +02:00
cleverchuk
81f8bf6231
Add `service.name` to MDC ( #9647 )
...
Co-authored-by: Lauri Tulmin <ltulmin@splunk.com>
2023-11-13 09:37:19 -08:00
Lauri Tulmin
c49f21d483
Replace interface with abstract method ( #9817 )
2023-11-07 07:56:18 -08:00
Jean Bisutti
a17238454d
Add volatile to the Logback OpenTelemetry appender ( #9748 )
2023-10-23 14:38:58 -07:00
Lauri Tulmin
795c053dc6
Fix spec links ( #9603 )
2023-10-04 17:54:35 +03:00
Edward Samson
647f1fba04
Fix logback-appender-1.0 dependency example ( #9586 )
2023-10-02 09:49:58 -07:00
Jay DeLuca
4deb652934
Convert logback-mdc-1.0 tests from groovy to java ( #9490 )
2023-09-19 13:18:46 +02:00
Trask Stalnaker
3b77cc4b2d
Semconv 1.21 ( #9408 )
...
Co-authored-by: Lauri Tulmin <ltulmin@splunk.com>
2023-09-13 19:20:23 +00:00
Mateusz Rzeszutek
6dd89308d4
Fix logback appender package name ( #9080 )
2023-07-31 17:52:42 +00:00
Steven Swartz
65d4c4bf4c
Document configuration options for logback appender library ( #9078 )
2023-07-31 10:50:08 +02:00
Jean Bisutti
4730c6540e
Fix GraalVM native tests ( #9068 )
2023-07-28 09:35:36 +02:00
Trask Stalnaker
2bdddafdc4
Apply Prettier to markdown files ( #8968 )
2023-07-19 12:22:35 -07:00
lu-xiaoshuang
a410cdeb39
support for adding baggage to log4j 2 ContextData ( #8810 )
2023-07-04 10:19:20 +02:00
jack-berg
d20da99e94
Log4j and Logback appenders opt-in to using GlobalOpenTelemetry ( #8791 )
2023-06-29 19:45:04 +00:00
Stephen Cprek
a60a324189
Add easier discoverability and clarity to the MDC appender docs ( #8638 )
...
Co-authored-by: opentelemetrybot <107717825+opentelemetrybot@users.noreply.github.com>
2023-06-27 12:14:04 +02:00
OpenTelemetry Bot
bbb05276be
Update the OpenTelemetry SDK version to 1.27.0 ( #8688 )
...
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
Co-authored-by: Lauri Tulmin <ltulmin@splunk.com>
2023-06-13 12:02:11 +03:00
Lauri Tulmin
e64f9dc824
Use @SuppressWarnings(deprecation) instead of @Deprecated ( #8645 )
2023-06-05 09:34:53 +02:00
Lauri Tulmin
d7d629617a
Fix using logback mdc instrumentation along with SocketAppender ( #8498 )
2023-05-16 12:03:37 +02:00
OpenTelemetry Bot
2b7b27b990
Update the OpenTelemetry SDK version to 1.26.0 ( #8427 )
...
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
Co-authored-by: Lauri Tulmin <ltulmin@splunk.com>
2023-05-06 22:55:01 +00:00
Lauri Tulmin
2280b3fd80
Correct logback mdc appender class name ( #8335 )
2023-04-21 15:04:06 +02:00
Lauri Tulmin
1393604118
Add option to capture logback key value pairs ( #8074 )
...
Resolves
https://github.com/open-telemetry/opentelemetry-java-instrumentation/issues/8059
2023-04-03 11:30:04 -07:00
Jean Bisutti
c5ef8ffd60
Add GraalVM native tests ( #8163 )
...
This PR allows:
* Executing the OTel Logback appender tests as GraalVM native
executables
* Executing the native tests once a day on Github
---------
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2023-03-30 14:10:48 -07:00
Lauri Tulmin
eac75a1d0b
Prefix baggage key not value when adding it to logback mdc ( #8066 )
2023-03-22 13:14:10 +01:00
Lauri Tulmin
0ef4c0beb9
Don't wrap exceptions from logback appender ( #8040 )
2023-03-13 17:23:48 +01:00
adamleantech
96fd1d7522
Add Baggage to logback MDC controlled by flag ( #7892 )
...
The intention here is to allow users of the java agent to set a VM flag
in order to be able to add values in the current Baggage context to MDC
for logback. It seemed unwise to turn this on by default - if the
application is configured to print all MDC contents (as it often the
case with JSON output) then baggage would be logged out by default which
may either bloat the logs or result in sensitive data being exposed
unitentionally.
Addresses #1391 and #6708
Note that this is my first contribution to this repo, I've done my best
to follow the existing approaches to things like testing but would
appreciate any feedback.
---------
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
2023-03-09 08:03:56 -08:00
Jean Bisutti
ff73e9577c
Make the OpenTelemetry Logback appender work with GraalVM native images ( #7989 )
...
I have tried the [OpenTelemetry Logback
appender](https://github.com/open-telemetry/opentelemetry-java-instrumentation/tree/main/instrumentation/logback/logback-appender-1.0/library )
with GraalVM native images. The GraalVM configurations of this PR are
required to make it work.
It's my first GraalVM-related PR in this repo. In future works, adding
automatic tests with GraalVM on some [programmatic instrumentation
libraries](https://github.com/open-telemetry/opentelemetry-java-instrumentation/blob/main/docs/supported-libraries.md#libraries--frameworks )
may be interesting.
2023-03-08 07:58:37 -08:00