Skip to content

Commit 0060a1a

Browse files
authored
Suppress view spans (#1906)
* Suppress view spans * Update build name also
1 parent 521f110 commit 0060a1a

File tree

2 files changed

+2
-1
lines changed
  • .github/workflows
  • agent/agent-tooling/src/main/java/com/microsoft/applicationinsights/agent/internal/init

2 files changed

+2
-1
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: PR build
1+
name: CI build
22

33
on:
44
push:

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ static Config getConfig(Configuration config) {
9191
if (!config.preview.captureControllerSpans) {
9292
properties.put("otel.instrumentation.common.experimental.suppress-controller-spans", "true");
9393
}
94+
properties.put("otel.instrumentation.common.experimental.suppress-view-spans", "true");
9495
properties.put(
9596
"otel.instrumentation.common.experimental.suppress-messaging-receive-spans", "true");
9697
// this is needed to capture kafka.record.queue_time_ms

0 commit comments

Comments
 (0)