Skip to content

Commit fa25785

Browse files
Update content/guides/go-prometheus-monitoring/compose.md
Co-authored-by: Craig Osterhout <[email protected]>
1 parent 3b56df0 commit fa25785

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ The Docker Compose file consists of three services:
103103

104104
In the `grafana.yml` file, we have defined a Prometheus data source named `Prometheus (Main)`. The `type` field specifies the type of the data source, which is `prometheus`. The `url` field specifies the URL of the Prometheus server to fetch the metrics from. In this case, the URL is `http://prometheus:9090`. The `prometheus` is the service name of the Prometheus server in the Docker Compose file. The `isDefault` field specifies whether the data source is the default data source in Grafana.
105105

106-
Apart from the services, the Docker Compose file also defines a volume named `grafana-data` to persist the Grafana data and a network named `go-network` to connect the services together. We have created a custom network `go-network` to connect the services together. The `driver: bridge` field specifies the network driver to use for the network.
106+
Apart from the services, the Docker Compose file also defines a volume named `grafana-data` to persist the Grafana data and a network named `go-network` to connect the services together. You have created a custom network `go-network` to connect the services together. The `driver: bridge` field specifies the network driver to use for the network.
107107

108108
## Building and running the services
109109

0 commit comments

Comments
 (0)