Skip to content

Commit 9425815

Browse files
authored
Improve Spring Monitor documentation (#38601)
1 parent 08bd59e commit 9425815

File tree

1 file changed

+6
-4
lines changed
  • sdk/spring/spring-cloud-azure-starter-monitor

1 file changed

+6
-4
lines changed

sdk/spring/spring-cloud-azure-starter-monitor/README.md

+6-4
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,12 @@ by [following the OpenTelemetry documentation](https://opentelemetry.io/docs/ins
3939

4040
[Instruction][azure_native] for Spring Boot native image applications.
4141

42+
### Enable OpenTelemetry features
43+
44+
All the features described in the [OpenTelemetry Spring Boot starter][otel_spring_starter] documentation work with Azure Monitor OpenTelemetry Distro / Application Insights in Spring Boot native image Java application.
45+
46+
You have just to replace the `opentelemetry-spring-boot-starter` dependency by the `spring-cloud-azure-starter-monitor` one.
47+
4248
### Azure Monitor configuration
4349

4450
#### Connection String
@@ -58,10 +64,6 @@ The [Application Map](https://learn.microsoft.com/azure/azure-monitor/app/app-ma
5864

5965
You can set the cloud role name with the `spring.application.name` or `otel.springboot.resource.attributes.service.name` property.
6066

61-
### Configure the instrumentation
62-
63-
The Spring starter will capture HTTP requests by default. You can find on [this page][otel_spring_starter_instrumentation] how to configure additional instrumentations (JDBC, logging, ...).
64-
6567
### Build your Spring native application
6668
At this step, you can build your Spring Boot native image application and start it:
6769

0 commit comments

Comments
 (0)