You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: azure-application-insights-spring-boot-starter/README.md
+6-5Lines changed: 6 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,7 +37,7 @@ Start your spring boot application as usual and in few minutes you'll start gett
37
37
38
38
**Additional Configuration**
39
39
40
-
*Sending custom telemetry*
40
+
#### Sending custom telemetry
41
41
```java
42
42
@RestController
43
43
publicclassTelemetryController {
@@ -53,8 +53,9 @@ public class TelemetryController {
53
53
```
54
54
55
55
56
-
*Sending logs to the application insights*
57
-
follow the instructions from (Spring Boot logging documentation)[https://docs.spring.io/spring-boot/docs/current/reference/html/howto-logging.html] to configure custom logback or log4j2 appender.
56
+
#### Sending logs to the application insight
57
+
58
+
Follow the instructions from (Spring Boot logging documentation)[https://docs.spring.io/spring-boot/docs/current/reference/html/howto-logging.html] to configure custom logback or log4j2 appender.
58
59
`logback-spring.xml`
59
60
```xml
60
61
<appendername="aiAppender"
@@ -79,7 +80,7 @@ follow the instructions from (Spring Boot logging documentation)[https://docs.sp
79
80
</Configuration>
80
81
```
81
82
82
-
*Register own telemetry module, processor or initializer by defining it as a bean in the configuration*
83
+
#### Register own telemetry module, processor or initializer by defining it as a bean in the configuration
83
84
```java
84
85
@SpringBootApplication
85
86
publicclassMyApplication {
@@ -111,7 +112,7 @@ public class MyApplication {
111
112
```
112
113
113
114
114
-
*Configure more parameters using `application.properties`*
115
+
#### Configure more parameters using `application.properties`
0 commit comments