Skip to content

Commit c611625

Browse files
committed
add missing developerMode settings in smoketests
1 parent 6292e66 commit c611625

File tree

6 files changed

+18
-12
lines changed

6 files changed

+18
-12
lines changed

test/smoke/testApps/SpringBoot1_3Auto/src/main/resources/ApplicationInsights.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
<!-- The key from the portal: -->
55

6-
<InstrumentationKey>00000000-0000-0000-0000-0FEEDDADBEEF</InstrumentationKey>
6+
<ConnectionString>InstrumentationKey=00000000-0000-0000-0000-0FEEDDADBEEF;IngestionEndpoint=http://fakeingestion:60606</ConnectionString>
77

88
<SDKLogger type="CONSOLE">
99
<enabled>true</enabled>
@@ -32,6 +32,7 @@
3232
</TelemetryInitializers>
3333

3434
<Channel>
35-
<EndpointAddress>http://fakeingestion:60606/v2/track</EndpointAddress>
35+
<DeveloperMode>true</DeveloperMode>
36+
<FlushIntervalInSeconds>1</FlushIntervalInSeconds>
3637
</Channel>
3738
</ApplicationInsights>

test/smoke/testApps/SpringBootAuto/src/main/resources/ApplicationInsights.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
<!-- The key from the portal: -->
55

6-
<InstrumentationKey>00000000-0000-0000-0000-0FEEDDADBEEF</InstrumentationKey>
6+
<ConnectionString>InstrumentationKey=00000000-0000-0000-0000-0FEEDDADBEEF;IngestionEndpoint=http://fakeingestion:60606</ConnectionString>
77

88
<SDKLogger type="CONSOLE">
99
<enabled>true</enabled>
@@ -32,6 +32,7 @@
3232
</TelemetryInitializers>
3333

3434
<Channel>
35-
<EndpointAddress>http://fakeingestion:60606/v2/track</EndpointAddress>
35+
<DeveloperMode>true</DeveloperMode>
36+
<FlushIntervalInSeconds>1</FlushIntervalInSeconds>
3637
</Channel>
3738
</ApplicationInsights>

test/smoke/testApps/TraceLog4j1_2UsingAgent/src/main/resources/ApplicationInsights.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
<!-- The key from the portal: -->
66

7-
<InstrumentationKey>00000000-0000-0000-0000-0FEEDDADBEEF</InstrumentationKey>
7+
<ConnectionString>InstrumentationKey=00000000-0000-0000-0000-0FEEDDADBEEF;IngestionEndpoint=http://fakeingestion:60606</ConnectionString>
88

99
<!-- HTTP request component (not required for bare API) -->
1010

@@ -28,7 +28,8 @@
2828
</TelemetryInitializers>
2929

3030
<Channel>
31-
<EndpointAddress>http://fakeingestion:60606/v2/track</EndpointAddress>
31+
<DeveloperMode>true</DeveloperMode>
32+
<FlushIntervalInSeconds>1</FlushIntervalInSeconds>
3233
</Channel>
3334
<PerformanceCounters>
3435
<UseBuiltIn>False</UseBuiltIn>

test/smoke/testApps/TraceLog4j2UsingAgent/src/main/resources/ApplicationInsights.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
<!-- The key from the portal: -->
66

7-
<InstrumentationKey>00000000-0000-0000-0000-0FEEDDADBEEF</InstrumentationKey>
7+
<ConnectionString>InstrumentationKey=00000000-0000-0000-0000-0FEEDDADBEEF;IngestionEndpoint=http://fakeingestion:60606</ConnectionString>
88

99
<!-- HTTP request component (not required for bare API) -->
1010
<QuickPulse enabled="false" />
@@ -27,7 +27,8 @@
2727
</TelemetryInitializers>
2828

2929
<Channel>
30-
<EndpointAddress>http://fakeingestion:60606/v2/track</EndpointAddress>
30+
<DeveloperMode>true</DeveloperMode>
31+
<FlushIntervalInSeconds>1</FlushIntervalInSeconds>
3132
</Channel>
3233
<PerformanceCounters>
3334
<UseBuiltIn>False</UseBuiltIn>

test/smoke/testApps/TraceLogBackUsingAgent/src/main/resources/ApplicationInsights.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
<!-- The key from the portal: -->
55

6-
<InstrumentationKey>00000000-0000-0000-0000-0FEEDDADBEEF</InstrumentationKey>
6+
<ConnectionString>InstrumentationKey=00000000-0000-0000-0000-0FEEDDADBEEF;IngestionEndpoint=http://fakeingestion:60606</ConnectionString>
77

88
<!-- HTTP request component (not required for bare API) -->
99

@@ -27,7 +27,8 @@
2727
</TelemetryInitializers>
2828

2929
<Channel>
30-
<EndpointAddress>http://fakeingestion:60606/v2/track</EndpointAddress>
30+
<DeveloperMode>true</DeveloperMode>
31+
<FlushIntervalInSeconds>1</FlushIntervalInSeconds>
3132
</Channel>
3233
<PerformanceCounters>
3334
<UseBuiltIn>False</UseBuiltIn>

test/smoke/testApps/WebAuto/src/main/resources/ApplicationInsights.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
<!-- The key from the portal: -->
55

6-
<InstrumentationKey>00000000-0000-0000-0000-0FEEDDADBEEF</InstrumentationKey>
6+
<ConnectionString>InstrumentationKey=00000000-0000-0000-0000-0FEEDDADBEEF;IngestionEndpoint=http://fakeingestion:60606</ConnectionString>
77

88
<SDKLogger type="CONSOLE">
99
<enabled>true</enabled>
@@ -32,6 +32,7 @@
3232
</TelemetryInitializers>
3333

3434
<Channel>
35-
<EndpointAddress>http://fakeingestion:60606/v2/track</EndpointAddress>
35+
<DeveloperMode>true</DeveloperMode>
36+
<FlushIntervalInSeconds>1</FlushIntervalInSeconds>
3637
</Channel>
3738
</ApplicationInsights>

0 commit comments

Comments
 (0)