Skip to content

Commit d0c402a

Browse files
committed
Update READMEs with better starting guide
1 parent 2ba1154 commit d0c402a

File tree

2 files changed

+24
-2
lines changed

2 files changed

+24
-2
lines changed

README.md

+3
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ Cloud Foundry applications and emitting them to a 3rd party monitoring system.
1212
The `mozzle` command-line tool emits metrics for Cloud Foundry applications
1313
to a specified Riemann instance. The rest of this document describes its usage.
1414

15+
Before reading futher, make sure you have a running Riemann instance. If you want
16+
just to try out `mozzle`, refer to [this guide](https://github.com/Bo0mer/mozzle/tree/master/demo/mib/) how to setup one in a minute.
17+
1518
## User's guide
1619
If you want to monitor all applications under your current Cloud Foundry target,
1720
as set with the CF CLI, you can do the following.

demo/mib/README.md

+21-2
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,24 @@ vagrant up --provision
2525
```
2626

2727
After successful provisioning, you'll have Grafana available at
28-
http://localhost:3000 at your host machine. From then on, follow `mozzle`'s
29-
guide to show your application metrics in Grafana.
28+
[http://localhost:3000](http://localhost:3000/) at your host machine.
29+
The default credentials are `admin:admin`.
30+
31+
After login, you see a list of predefined dashboards — namely Overview, Events
32+
and HTTP Statistics. Your application metrics will be visible there.
33+
34+
The last step is to instruct mozzle to start pulling metrics. It operates on CF
35+
space level and has option to derive the monitored target from the CF CLI.
36+
37+
```
38+
$ cf target
39+
API endpoint: https://api.run.pivotal.io (API version: 2.69.0)
40+
User: [my-email]@gmail.com
41+
Org: NASA
42+
Space: rocket
43+
$ mozzle -use-cf-cli-target
44+
```
45+
46+
The execution should block and metrics should start to appear in the Grafana dashboards.
47+
You should see something like the picture above.
48+

0 commit comments

Comments
 (0)