Skip to content

Commit 71109d5

Browse files
docs: Update incorrect port in Docker Compose the go-prometheus-monitoring guide (#22614)
<!--Delete sections as needed --> ## Description The app service port is `8000`, and I mistakenly mentioned `8080` for health check while creating this guide. So, it will give an error. - [ ] Technical review - [x] Editorial review - [ ] Product review
1 parent ee35407 commit 71109d5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/guides/go-prometheus-monitoring/compose.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ services:
2727
networks:
2828
- go-network
2929
healthcheck:
30-
test: ["CMD", "curl", "-f", "http://localhost:8080/health"]
30+
test: ["CMD", "curl", "-f", "http://localhost:8000/health"]
3131
interval: 30s
3232
timeout: 10s
3333
retries: 5
@@ -163,4 +163,4 @@ Next, you will learn how to develop the Golang application with Docker Compose a
163163

164164
## Next steps
165165

166-
In the next section, you will learn how to develop the Golang application with Docker. You will also learn how to use Docker Compose Watch to rebuild the image whenever you make changes to the code. Lastly, you will test the application and visualize the metrics in Grafana using Prometheus as the data source.
166+
In the next section, you will learn how to develop the Golang application with Docker. You will also learn how to use Docker Compose Watch to rebuild the image whenever you make changes to the code. Lastly, you will test the application and visualize the metrics in Grafana using Prometheus as the data source.

0 commit comments

Comments
 (0)