add url to prom docs

This commit is contained in:
Christian Adams
2019-04-15 13:39:55 -04:00
parent 707c3883a8
commit 8ef81065b7

View File

@@ -1,4 +1,4 @@
# Prometheus Support # Prometheus Container
## Development ## Development
AWX comes with an example prometheus container and make target. To use it: AWX comes with an example prometheus container and make target. To use it:
@@ -7,5 +7,13 @@ AWX comes with an example prometheus container and make target. To use it:
to specify a valid user/password for an AWX user you've created. to specify a valid user/password for an AWX user you've created.
Alternatively, you can provide an OAuth2 token (which can be generated at Alternatively, you can provide an OAuth2 token (which can be generated at
`/api/v2/users/N/personal_tokens/`). `/api/v2/users/N/personal_tokens/`).
> Note: By default, the config assumes a user with username=admin and password=password.
2. Start the Prometheus container: 2. Start the Prometheus container:
`make prometheus` `make prometheus`
3. The Prometheus UI will now be accessible at `http://localhost:9090/graph`.
There should be no extra setup needed. You can try executing this query in the
UI to get back the number of active sessions: `awx_sessions_total`