Skip to content

Commit d94fc4a

Browse files
authored
Update java-admin.md
1 parent 1f94860 commit d94fc4a

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 this 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)