...
Code Block | ||||
---|---|---|---|---|
| ||||
$ docker-compose up -d # To check the logs $ docker-compose logs |
At this point, we open the browser at the address <master_FIP>: <port>, in our case http://131.154.97.163:90. The service is exposed by default on port 9090, but we have opted for port 90, which must be opened on OpenStack, for security reasons: the port is accessible with the network of the CNAF headquarters or via VPN if you are away.
In general, if we wanted to launch Prometheus with a custom version, we can further modify the prometheus.yml file. For example, it is possible to modify the global configuration of the Prometheus server, specify the location of additional .yaml files containing rules that we want to upload to the server or define which resources should be monitored. An extensive overview of the possible configurations is available here.