@@ -2,7 +2,7 @@ Prometheus is configured by a configuration file, which is found at `<your_proje
...
@@ -2,7 +2,7 @@ Prometheus is configured by a configuration file, which is found at `<your_proje
The following is an example of how your Prometheus configuration should look like:
The following is an example of how your Prometheus configuration should look like:
```
```plaintext
scrape_configs:
scrape_configs:
- job_name: 'my-application'
- job_name: 'my-application'
metrics_path: '/metrics' # Unless your scrape endpoint requires otherwise the default is /metrics
metrics_path: '/metrics' # Unless your scrape endpoint requires otherwise the default is /metrics
...
@@ -17,5 +17,21 @@ scrape_configs:
...
@@ -17,5 +17,21 @@ scrape_configs:
# password:
# password:
```
```
For more specific information please consult the official Prometheus documentation at:
For more specific information please consult the official Prometheus documentation at: <https://prometheus.io/docs/prometheus/latest/configuration/configuration/>