Skip to content

Commit a6b7463

Browse files
committed
TODO
1 parent 009e65e commit a6b7463

File tree

1 file changed

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

1 file changed

+2
-0
lines changed

agent/agent-tooling/src/main/java/com/microsoft/applicationinsights/agent/internal/exporter/AgentLogExporter.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,8 @@ private void internalExport(LogRecordData log) {
9090
String stack = log.getAttributes().get(ExceptionAttributes.EXCEPTION_STACKTRACE);
9191
Double sampleRate = log.getAttributes().get(AiSemanticAttributes.SAMPLE_RATE);
9292

93+
// TODO apply exception sampling overrides to span events!
94+
9395
// TODO (trask) get stack and sampleRate inside map() method instead of passing into
9496
TelemetryItem telemetryItem = mapper.map(log, stack, sampleRate);
9597
telemetryItemConsumer.accept(telemetryItem);

0 commit comments

Comments
 (0)