File: README.md

package info (click to toggle)
django-prometheus 2.4.1-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 568 kB
  • sloc: python: 1,776; sh: 5; makefile: 3
file content (20 lines) | stat: -rw-r--r-- 684 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Running a demo Prometheus

To run a demo Prometheus, you'll need to follow these steps:

* Have a Django application running and exporting its stats. The
  provided `prometheus.yml` assumes the stats are exported at
  `http://127.0.0.1:8000/metrics`.
* Install Prometheus by cloning it somewhere, see the [installation
  instructions](http://prometheus.io/docs/introduction/install/).
  Let's assume you cloned it to `~/prometheus`.
* Run prometheus like this:

  ```shell
  ~/prometheus/prometheus \
    --config.file=prometheus.yml \
    --web.console.templates consoles/ \
    --web.console.libraries ~/prometheus/console_libraries/
  ```

* Navigate to `http://localhost:9090`.