Skip to content

Commit

Permalink
fix(webserver): change monitoring port to 28081
Browse files Browse the repository at this point in the history
close #727
  • Loading branch information
tchiotludo committed Jun 7, 2021
1 parent d756d4a commit 00473d3
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -618,12 +618,12 @@ Debugging auth can be done by increasing log level on Micronaut that handle most
```bash
curl -i -X POST -H "Content-Type: application/json" \
-d '{ "configuredLevel": "TRACE" }' \
http://localhost:8081/loggers/io.micronaut.security
http://localhost:28081/loggers/io.micronaut.security
curl -i -X POST -H "Content-Type: application/json" \
-d '{ "configuredLevel": "TRACE" }' \
http://localhost:8081/loggers/org.akhq.configs
http://localhost:28081/loggers/org.akhq.configs
```

### Server
Expand Down Expand Up @@ -714,7 +714,7 @@ You can discover the api endpoint here :
* `/swagger/akhq.yml`: a full [OpenApi](https://www.openapis.org/) specifications files

## Monitoring endpoint
Several monitoring endpoint is enabled by default and available on port `8081` only.
Several monitoring endpoint is enabled by default and available on port `28081` only.

You can disable it, change the port or restrict access only for authenticated users following micronaut configuration below.

Expand All @@ -731,7 +731,7 @@ You can debug all query duration from AKHQ with this commands
```bash
curl -i -X POST -H "Content-Type: application/json" \
-d '{ "configuredLevel": "TRACE" }' \
http://localhost:8081/loggers/org.akhq
http://localhost:28081/loggers/org.akhq
```

## Development Environment
Expand Down
2 changes: 1 addition & 1 deletion helm/akhq/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ spec:
containerPort: 8080
protocol: TCP
- name: management
containerPort: 8081
containerPort: 28081
protocol: TCP
livenessProbe:
tcpSocket:
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jackson:

endpoints:
all:
port: 8081
port: 28081
enabled: true
sensitive: false
health:
Expand Down

0 comments on commit 00473d3

Please sign in to comment.