Skip to content

Commit 8f11f3d

Browse files
Merge pull request #295918 from CroffZ/CroffZ-patch-1
Add dependency instructions for Spring Boot Admin in Azure Container Apps
2 parents 16915c0 + 2ba62db commit 8f11f3d

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

articles/container-apps/java-admin.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -359,6 +359,14 @@ When you use the admin component in your own container app, you need to add the
359359
</dependency>
360360
```
361361

362+
> [!NOTE]
363+
> You don't have to add the admin starter client dependency for Spring Boot Admin if you enable Java agent in your container app by running the following command in Azure CLI:
364+
> ```azurecli
365+
> az containerapp update --enable-java-agent \
366+
> --resource-group $RESOURCE_GROUP \
367+
> --name $APP_NAME
368+
> ```
369+
362370
## Configurable properties
363371
364372
Starting with Spring Boot 2, endpoints other than `health` and `info` aren't exposed by default. You can expose them by adding the following configuration in your **application.properties** file.

0 commit comments

Comments
 (0)