Skip to content

Commit 57a53b5

Browse files
committed
comment
1 parent bafb9f0 commit 57a53b5

File tree

1 file changed

+4
-0
lines changed
  • agent/agent-tooling/src/main/java/com/microsoft/applicationinsights/agent/internal/init

1 file changed

+4
-0
lines changed

agent/agent-tooling/src/main/java/com/microsoft/applicationinsights/agent/internal/init/SecondEntryPoint.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -262,6 +262,10 @@ public void customize(AutoConfigurationCustomizer autoConfiguration) {
262262
.addPropertiesCustomizer(new AiConfigCustomizer())
263263
.addLogRecordProcessorCustomizer(
264264
(logRecordProcessor, configProperties) -> {
265+
// filtering log record processors need to be chained on front of the batch log record
266+
// processor, hopefully log filtering will be better supported by OpenTelemetry SDK in
267+
// the future
268+
// (e.g. https://github.com/open-telemetry/opentelemetry-specification/pull/4439)
265269
if (logRecordProcessor instanceof BatchLogRecordProcessor) {
266270
List<LogRecordProcessor> logRecordProcessors =
267271
getLogRecordProcessors(configuration);

0 commit comments

Comments
 (0)