File tree 2 files changed +24
-2
lines changed
2 files changed +24
-2
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,9 @@ Cloud Foundry applications and emitting them to a 3rd party monitoring system.
12
12
The ` mozzle ` command-line tool emits metrics for Cloud Foundry applications
13
13
to a specified Riemann instance. The rest of this document describes its usage.
14
14
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
+
15
18
## User's guide
16
19
If you want to monitor all applications under your current Cloud Foundry target,
17
20
as set with the CF CLI, you can do the following.
Original file line number Diff line number Diff line change @@ -25,5 +25,24 @@ vagrant up --provision
25
25
```
26
26
27
27
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
+
You can’t perform that action at this time.
0 commit comments