Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Add /varz endpoints

  • Loading branch information...
commit 9fe4ce823b4ee49fe6c95d8627c3dedebf5a6a54 1 parent 4a74397
Ferran Rodenas authored

Showing 25 changed files with 1,058 additions and 0 deletions. Show diff stats Hide diff stats

  1. 1  _config.yml
  2. 134  _includes/snippets/http-varz-cloud-controller.json
  3. 68  _includes/snippets/http-varz-health-manager.json
  4. 43  _includes/snippets/http-varz-mongoaas-node.json
  5. 50  _includes/snippets/http-varz-mongoaas-provisioner.json
  6. 46  _includes/snippets/http-varz-myaas-node.json
  7. 50  _includes/snippets/http-varz-myaas-provisioner.json
  8. 35  _includes/snippets/http-varz-neo4jaas-node.json
  9. 49  _includes/snippets/http-varz-neo4jaas-provisioner.json
  10. 41  _includes/snippets/http-varz-raas-node.json
  11. 50  _includes/snippets/http-varz-raas-provisioner.json
  12. 61  _includes/snippets/http-varz-router.json
  13. 82  _includes/snippets/http-varz-uaa.json
  14. 29  _posts/http-varz/0001-01-01-cloud-controller.md
  15. 29  _posts/http-varz/0001-01-01-health-manager.md
  16. 29  _posts/http-varz/0001-01-01-mongoaas-node.md
  17. 29  _posts/http-varz/0001-01-01-mongoaas-provisioner.md
  18. 29  _posts/http-varz/0001-01-01-myaas-node.md
  19. 29  _posts/http-varz/0001-01-01-myaas-provisioner.md
  20. 29  _posts/http-varz/0001-01-01-neo4jaas-node.md
  21. 29  _posts/http-varz/0001-01-01-neo4jaas-provisioner.md
  22. 29  _posts/http-varz/0001-01-01-raas-node.md
  23. 29  _posts/http-varz/0001-01-01-raas-provisioner.md
  24. 29  _posts/http-varz/0001-01-01-router.md
  25. 29  _posts/http-varz/0001-01-01-uaa.md
1  _config.yml
@@ -23,6 +23,7 @@ endpoint_categories:
23 23
   - http-apps
24 24
   - http-services
25 25
   - http-users
  26
+  - http-varz
26 27
 nats_categories:
27 28
   - cloud-controller
28 29
   - dea
134  _includes/snippets/http-varz-cloud-controller.json
... ...
@@ -0,0 +1,134 @@
  1
+{
  2
+  "type": "CloudController",
  3
+  "index": null,
  4
+  "uuid": "daffe9692ed6cd447f28b4ba874d202b",
  5
+  "host": "192.168.1.15:41111",
  6
+  "credentials": [
  7
+    "37637511ab0e387f764646dea0a692f9",
  8
+    "9d00ec8ab3ea7f5b35abcd341db578bf"
  9
+  ],
  10
+  "start": "2012-04-02 21:02:19 +0200",
  11
+  "num_cores": 4,
  12
+  "config": {
  13
+    "external_uri": "api.vcap.me",
  14
+    "description": "VMware's Cloud Application Platform",
  15
+    "support_address": "http://support.cloudfoundry.com",
  16
+    "local_route": null,
  17
+    "allow_registration": true,
  18
+    "allow_external_app_uris": false,
  19
+    "app_uris": {
  20
+      "allow_external": false,
  21
+      "reserved_list": [
  22
+
  23
+      ]
  24
+    },
  25
+    "external_port": 9022,
  26
+    "nginx": {
  27
+      "use_nginx": false,
  28
+      "insecure_instance_port": 9025
  29
+    },
  30
+    "logging": {
  31
+      "level": "debug"
  32
+    },
  33
+    "rails_logging": {
  34
+      "level": "debug"
  35
+    },
  36
+    "directories": {
  37
+      "droplets": "/var/vcap/shared/droplets",
  38
+      "resources": "/var/vcap/shared/resources",
  39
+      "staging_manifests": "/home/frodenas/cloudfoundry/.deployments/devbox/config/staging",
  40
+      "staging_cache": "/var/vcap/data/cloud_controller/staging",
  41
+      "tmpdir": "/var/vcap/data/cloud_controller/tmp"
  42
+    },
  43
+    "pid": "/var/vcap/sys/run/cloudcontroller.pid",
  44
+    "rails_environment": "production",
  45
+    "uaa": {
  46
+      "enabled": true,
  47
+      "url": "http://uaa.vcap.me",
  48
+      "resource_id": "cloud_controller",
  49
+      "token_secret": "uaa_jwt_secret",
  50
+      "client_secret": "cloudcontrollersecret"
  51
+    },
  52
+    "staging": {
  53
+      "max_concurrent_stagers": 10,
  54
+      "max_staging_runtime": 120,
  55
+      "secure": false
  56
+    },
  57
+    "admins": [
  58
+      "dev@cloudfoundry.org"
  59
+    ],
  60
+    "https_required": false,
  61
+    "https_required_for_admins": false,
  62
+    "default_account_capacity": {
  63
+      "memory": 2048,
  64
+      "app_uris": 4,
  65
+      "services": 16,
  66
+      "apps": 20
  67
+    },
  68
+    "builtin_services": {
  69
+      "redis": {
  70
+        "token": "changeredistoken"
  71
+      },
  72
+      "mongodb": {
  73
+        "token": "changemongodbtoken"
  74
+      },
  75
+      "neo4j": {
  76
+        "token": "changeneo4jtoken"
  77
+      }
  78
+    },
  79
+    "allow_debug": true,
  80
+    "runtimes": {
  81
+      "ruby18": {
  82
+        "version": "1.8.7"
  83
+      },
  84
+      "ruby19": {
  85
+        "version": "1.9.2"
  86
+      },
  87
+      "node": {
  88
+        "version": "0.4.12",
  89
+        "debug_modes": [
  90
+          "run",
  91
+          "suspend"
  92
+        ]
  93
+      },
  94
+      "node06": {
  95
+        "version": "0.6.8",
  96
+        "debug_modes": [
  97
+          "run",
  98
+          "suspend"
  99
+        ]
  100
+      },
  101
+      "java": {
  102
+        "version": "1.6.0",
  103
+        "debug_modes": [
  104
+          "run",
  105
+          "suspend"
  106
+        ]
  107
+      },
  108
+      "php": {
  109
+        "version": "5.3.[2-6]"
  110
+      },
  111
+      "erlangR14B02": {
  112
+        "version": ".* 5.8.3"
  113
+      },
  114
+      "python2": {
  115
+        "version": "2.[67]"
  116
+      }
  117
+    },
  118
+    "new_initial_placement": false,
  119
+    "bulk_api": {
  120
+      "auth": {
  121
+        "user": "bulk_api"
  122
+      }
  123
+    },
  124
+    "max_droplet_size": 536870912
  125
+  },
  126
+  "requests": 536,
  127
+  "pending_requests": 0,
  128
+  "requests_per_sec": 0,
  129
+  "running_stage_cmds": 0,
  130
+  "pending_stage_cmds": 0,
  131
+  "uptime": "0d:2h:13m:50s",
  132
+  "mem": 77584,
  133
+  "cpu": 0.2
  134
+}
68  _includes/snippets/http-varz-health-manager.json
... ...
@@ -0,0 +1,68 @@
  1
+{
  2
+  "type": "HealthManager",
  3
+  "index": null,
  4
+  "uuid": "029122ba9a03b337c4ec36425d88ea34",
  5
+  "host": "192.168.1.15:42577",
  6
+  "credentials": [
  7
+    "3acdf6219db11193541da8afe6f2e641",
  8
+    "2337c5a6bae03b4451a0c6ad12a815ce"
  9
+  ],
  10
+  "start": "2012-04-02 21:02:38 +0200",
  11
+  "num_cores": 4,
  12
+  "config": {
  13
+    "local_route": null,
  14
+    "logging": {
  15
+      "level": "info"
  16
+    },
  17
+    "pid": "/var/vcap/sys/run/healthmanager.pid",
  18
+    "rails_environment": "production",
  19
+    "intervals": {
  20
+      "database_scan": 60,
  21
+      "droplet_lost": 30,
  22
+      "droplets_analysis": 10,
  23
+      "flapping_death": 3,
  24
+      "flapping_timeout": 180,
  25
+      "restart_timeout": 20,
  26
+      "stable_state": 60
  27
+    }
  28
+  },
  29
+  "total_apps": 0,
  30
+  "total_users": 1,
  31
+  "total_instances": 0,
  32
+  "running_instances": 0,
  33
+  "crashed_instances": 0,
  34
+  "down_instances": 0,
  35
+  "queue_length": 0,
  36
+  "total": {
  37
+    "frameworks": {
  38
+
  39
+    },
  40
+    "runtimes": {
  41
+
  42
+    }
  43
+  },
  44
+  "running": {
  45
+    "frameworks": {
  46
+
  47
+    },
  48
+    "runtimes": {
  49
+
  50
+    }
  51
+  },
  52
+  "heartbeat_msgs_received": 0,
  53
+  "droplet_exited_msgs_received": 0,
  54
+  "droplet_updated_msgs_received": 0,
  55
+  "healthmanager_status_msgs_received": 0,
  56
+  "healthmanager_health_request_msgs_received": 0,
  57
+  "users": [
  58
+    {
  59
+      "email": "admin@vcap.me"
  60
+    }
  61
+  ],
  62
+  "apps": [
  63
+
  64
+  ],
  65
+  "uptime": "0d:2h:17m:58s",
  66
+  "mem": 56288,
  67
+  "cpu": 0.1
  68
+}
43  _includes/snippets/http-varz-mongoaas-node.json
... ...
@@ -0,0 +1,43 @@
  1
+{
  2
+  "type": "MongoaaS-Node",
  3
+  "index": 0,
  4
+  "uuid": "0-49828865b0c5a5b706a2ed65e777c945",
  5
+  "host": "192.168.1.15:52137",
  6
+  "credentials": [
  7
+    "e86c714dfe4efbfd09aed690c71a867f",
  8
+    "a31b74bf5efc1d12c624f7f0f13b3543"
  9
+  ],
  10
+  "start": "2012-04-02 21:02:25 +0200",
  11
+  "num_cores": 4,
  12
+  "config": {
  13
+    "index": 0,
  14
+    "plan": "free",
  15
+    "capacity": 50,
  16
+    "base_dir": "/var/vcap/services/mongodb/instances",
  17
+    "ip_route": null,
  18
+    "node_id": "mongodb_node_0",
  19
+    "z_interval": null,
  20
+    "local_db": "sqlite3:/var/vcap/services/mongodb/mongodb_node.db",
  21
+    "migration_nfs": "/mnt/migration",
  22
+    "max_nats_payload": null,
  23
+    "config_template": "/home/frodenas/cloudfoundry/vcap/services/mongodb/resources/mongodb.conf.erb",
  24
+    "port_range": "25001..45000",
  25
+    "mongod_path": "/home/frodenas/cloudfoundry/.deployments/devbox/deploy/mongodb/bin/mongod",
  26
+    "mongorestore_path": "mongorestore",
  27
+    "max_memory": 128,
  28
+    "mongod_log_dir": "/var/vcap/services/mongodb/logs",
  29
+    "max_clients": null,
  30
+    "quota_files": null
  31
+  },
  32
+  "running_services": [
  33
+
  34
+  ],
  35
+  "disk": {
  36
+
  37
+  },
  38
+  "max_capacity": 50,
  39
+  "available_capacity": 50,
  40
+  "uptime": "0d:2h:32m:39s",
  41
+  "mem": 50516,
  42
+  "cpu": 0.1
  43
+}
50  _includes/snippets/http-varz-mongoaas-provisioner.json
... ...
@@ -0,0 +1,50 @@
  1
+{
  2
+  "type": "MongoaaS-Provisioner",
  3
+  "index": 0,
  4
+  "uuid": "0-8adeee92fd347caabcdf590e71cfcba6",
  5
+  "host": "192.168.1.15:41786",
  6
+  "credentials": [
  7
+    "27e40800fb7c50741d003e663dc52ceb",
  8
+    "82e724ac255aeba716f89ffb76514d22"
  9
+  ],
  10
+  "start": "2012-04-02 21:02:20 +0200",
  11
+  "num_cores": 4,
  12
+  "config": {
  13
+    "index": 0,
  14
+    "version": "1.8",
  15
+    "ip_route": null,
  16
+    "node_timeout": 5,
  17
+    "z_interval": null,
  18
+    "allow_over_provisioning": null,
  19
+    "max_nats_payload": null,
  20
+    "additional_options": {
  21
+      "resque": null,
  22
+      "upload_temp_dir": null
  23
+    },
  24
+    "status": null,
  25
+    "plan_management": null
  26
+  },
  27
+  "nodes": {
  28
+    "mongodb_node_0": {
  29
+      "available_capacity": 50,
  30
+      "id": "mongodb_node_0",
  31
+      "plan": "free",
  32
+      "time": 1333402685
  33
+    }
  34
+  },
  35
+  "prov_svcs": {
  36
+
  37
+  },
  38
+  "orphan_instances": {
  39
+
  40
+  },
  41
+  "orphan_bindings": {
  42
+
  43
+  },
  44
+  "plans": [
  45
+
  46
+  ],
  47
+  "uptime": "0d:2h:35m:47s",
  48
+  "mem": 48340,
  49
+  "cpu": 0.1
  50
+}
46  _includes/snippets/http-varz-myaas-node.json
... ...
@@ -0,0 +1,46 @@
  1
+{
  2
+  "type": "MyaaS-Node",
  3
+  "index": 0,
  4
+  "uuid": "0-1a86909fd0dc58115f7d3ba819009aa3",
  5
+  "host": "192.168.1.15:51388",
  6
+  "credentials": [
  7
+    "b67983fa2ae556b843fc49b04c80e030",
  8
+    "e00bca1bc40f2e9d2da5f13703935f64"
  9
+  ],
  10
+  "start": "2012-04-02 21:02:43 +0200",
  11
+  "num_cores": 4,
  12
+  "config": {
  13
+    "index": 0,
  14
+    "plan": "free",
  15
+    "capacity": 50,
  16
+    "base_dir": "/var/vcap/services/mysql/",
  17
+    "ip_route": null,
  18
+    "node_id": "mysql_node_0",
  19
+    "z_interval": null,
  20
+    "local_db": "sqlite3:/var/vcap/services/mysql/mysql_node.db",
  21
+    "migration_nfs": "/mnt/migration",
  22
+    "max_nats_payload": null,
  23
+    "mysqldump_bin": "mysqldump",
  24
+    "gzip_bin": "gzip",
  25
+    "mysql_bin": "mysql",
  26
+    "max_db_size": 20,
  27
+    "max_long_query": 3,
  28
+    "max_long_tx": 30,
  29
+    "max_user_conns": null,
  30
+    "socket": null
  31
+  },
  32
+  "queries_since_startup": 32197,
  33
+  "queries_per_second": 3.6333333333333333,
  34
+  "database_status": [
  35
+
  36
+  ],
  37
+  "max_capacity": 50,
  38
+  "available_capacity": 50,
  39
+  "long_queries_killed": 0,
  40
+  "long_transactions_killed": 0,
  41
+  "provision_served": 0,
  42
+  "binding_served": 0,
  43
+  "uptime": "0d:2h:29m:49s",
  44
+  "mem": 48884,
  45
+  "cpu": 0.2
  46
+}
50  _includes/snippets/http-varz-myaas-provisioner.json
... ...
@@ -0,0 +1,50 @@
  1
+{
  2
+  "type": "MyaaS-Provisioner",
  3
+  "index": 0,
  4
+  "uuid": "0-25f8894999472478373138d6b6c35ddb",
  5
+  "host": "192.168.1.15:59772",
  6
+  "credentials": [
  7
+    "9bfea4e2e1f9a8dea1ba32e5d5b45bd3",
  8
+    "e54278209cc0fe3337bfc5ba6a331d15"
  9
+  ],
  10
+  "start": "2012-04-02 21:02:23 +0200",
  11
+  "num_cores": 4,
  12
+  "config": {
  13
+    "index": 0,
  14
+    "version": "5.1",
  15
+    "ip_route": null,
  16
+    "node_timeout": 2,
  17
+    "z_interval": null,
  18
+    "allow_over_provisioning": null,
  19
+    "max_nats_payload": null,
  20
+    "additional_options": {
  21
+      "resque": null,
  22
+      "upload_temp_dir": null
  23
+    },
  24
+    "status": null,
  25
+    "plan_management": null
  26
+  },
  27
+  "nodes": {
  28
+    "mysql_node_0": {
  29
+      "available_capacity": 50,
  30
+      "id": "mysql_node_0",
  31
+      "plan": "free",
  32
+      "time": 1333402766
  33
+    }
  34
+  },
  35
+  "prov_svcs": {
  36
+
  37
+  },
  38
+  "orphan_instances": {
  39
+
  40
+  },
  41
+  "orphan_bindings": {
  42
+
  43
+  },
  44
+  "plans": [
  45
+
  46
+  ],
  47
+  "uptime": "0d:2h:37m:5s",
  48
+  "mem": 47276,
  49
+  "cpu": 0.1
  50
+}
35  _includes/snippets/http-varz-neo4jaas-node.json
... ...
@@ -0,0 +1,35 @@
  1
+{
  2
+  "type": "Neo4jaaS-Node",
  3
+  "index": 0,
  4
+  "uuid": "0-3eb861fd419815da256c9acdc06db198",
  5
+  "host": "192.168.1.15:37400",
  6
+  "credentials": [
  7
+    "3a45dcf583062657b9ed1b23a3cb9f1b",
  8
+    "ab69b0bd1d1881520bec5f7f2171d11b"
  9
+  ],
  10
+  "start": "2012-04-02 21:02:36 +0200",
  11
+  "num_cores": 4,
  12
+  "config": {
  13
+    "index": 0,
  14
+    "plan": "free",
  15
+    "capacity": 200,
  16
+    "base_dir": "/var/vcap/services/neo4j/instances",
  17
+    "ip_route": null,
  18
+    "node_id": "neo4j_node_0",
  19
+    "z_interval": null,
  20
+    "local_db": "sqlite3:/var/vcap/services/neo4j/neo4j_node.db",
  21
+    "migration_nfs": null,
  22
+    "max_nats_payload": null,
  23
+    "config_template": "/home/frodenas/cloudfoundry/vcap/services/neo4j/resources/neo4j-server.properties.erb",
  24
+    "port_range": "45000..55000",
  25
+    "neo4j_path": "/var/vcap/services/neo4j",
  26
+    "available_memory": 4096,
  27
+    "max_memory": 128,
  28
+    "neo4j_template": "/home/frodenas/cloudfoundry/vcap/services/neo4j/resources/neo4j.properties.erb",
  29
+    "log4j_template": "/home/frodenas/cloudfoundry/vcap/services/neo4j/resources/log4j.properties.erb"
  30
+  },
  31
+  "available_memory": 4096,
  32
+  "uptime": "0d:2h:34m:5s",
  33
+  "mem": 49084,
  34
+  "cpu": 0.1
  35
+}
49  _includes/snippets/http-varz-neo4jaas-provisioner.json
... ...
@@ -0,0 +1,49 @@
  1
+{
  2
+  "type": "Neo4jaaS-Provisioner",
  3
+  "index": 0,
  4
+  "uuid": "0-c3d44c92a77ea9d239fa299e8bf745c1",
  5
+  "host": "192.168.1.15:52580",
  6
+  "credentials": [
  7
+    "539fc7be9e47d3c748a6c8d9c2cdcc87",
  8
+    "7be1e673eeadf374181ad993a2b05698"
  9
+  ],
  10
+  "start": "2012-04-02 21:02:17 +0200",
  11
+  "num_cores": 4,
  12
+  "config": {
  13
+    "index": 0,
  14
+    "version": "1.4",
  15
+    "ip_route": null,
  16
+    "node_timeout": 10,
  17
+    "z_interval": null,
  18
+    "allow_over_provisioning": null,
  19
+    "max_nats_payload": null,
  20
+    "additional_options": {
  21
+
  22
+    },
  23
+    "status": null,
  24
+    "plan_management": null
  25
+  },
  26
+  "nodes": {
  27
+    "neo4j_node_0": {
  28
+      "available_memory": 4096,
  29
+      "id": "neo4j_node_0",
  30
+      "plan": "free",
  31
+      "time": 1333402815
  32
+    }
  33
+  },
  34
+  "prov_svcs": {
  35
+
  36
+  },
  37
+  "orphan_instances": {
  38
+
  39
+  },
  40
+  "orphan_bindings": {
  41
+
  42
+  },
  43
+  "plans": [
  44
+
  45
+  ],
  46
+  "uptime": "0d:2h:38m:13s",
  47
+  "mem": 46092,
  48
+  "cpu": 0.1
  49
+}
41  _includes/snippets/http-varz-raas-node.json
... ...
@@ -0,0 +1,41 @@
  1
+{
  2
+  "type": "RaaS-Node",
  3
+  "index": 0,
  4
+  "uuid": "0-6e2fa50c775e56157fc5969327e305a5",
  5
+  "host": "192.168.1.15:40724",
  6
+  "credentials": [
  7
+    "00bdc704c108bd5e9ecfac24740d36c4",
  8
+    "7b7e40da46f26874d72074c05fb0836f"
  9
+  ],
  10
+  "start": "2012-04-02 21:02:30 +0200",
  11
+  "num_cores": 4,
  12
+  "config": {
  13
+    "index": 0,
  14
+    "plan": "free",
  15
+    "capacity": 200,
  16
+    "base_dir": "/var/vcap/services/redis/instances",
  17
+    "ip_route": null,
  18
+    "node_id": "redis_node_0",
  19
+    "z_interval": null,
  20
+    "local_db": "sqlite3:/var/vcap/services/redis/redis_node.db",
  21
+    "migration_nfs": "/mnt/vcap",
  22
+    "max_nats_payload": null,
  23
+    "redis_server_path": "/home/frodenas/cloudfoundry/.deployments/devbox/deploy/redis/bin/redis-server",
  24
+    "config_template": "/home/frodenas/cloudfoundry/vcap/services/redis/resources/redis.conf.erb",
  25
+    "port_range": "5000..25000",
  26
+    "max_memory": 16,
  27
+    "max_swap": 32,
  28
+    "redis_log_dir": "/var/vcap/services/redis/logs",
  29
+    "command_rename_prefix": "protect-command-prefix",
  30
+    "max_clients": 500
  31
+  },
  32
+  "max_capacity": 200,
  33
+  "available_capacity": 200,
  34
+  "provisioned_instances": [
  35
+
  36
+  ],
  37
+  "provisioned_instances_num": 0,
  38
+  "uptime": "0d:2h:29m:30s",
  39
+  "mem": 48364,
  40
+  "cpu": 0.1
  41
+}
50  _includes/snippets/http-varz-raas-provisioner.json
... ...
@@ -0,0 +1,50 @@
  1
+{
  2
+  "type": "RaaS-Provisioner",
  3
+  "index": 0,
  4
+  "uuid": "0-0fdf95f47b1fec6cc6831dbdac79e234",
  5
+  "host": "192.168.1.15:33668",
  6
+  "credentials": [
  7
+    "a8fbb724c227520e5dc6cc27f652a788",
  8
+    "9be785de73d6b9c311bede8e2eb66395"
  9
+  ],
  10
+  "start": "2012-04-02 21:02:28 +0200",
  11
+  "num_cores": 4,
  12
+  "config": {
  13
+    "index": 0,
  14
+    "version": "2.2",
  15
+    "ip_route": null,
  16
+    "node_timeout": 5,
  17
+    "z_interval": null,
  18
+    "allow_over_provisioning": null,
  19
+    "max_nats_payload": null,
  20
+    "additional_options": {
  21
+      "resque": null,
  22
+      "upload_temp_dir": null
  23
+    },
  24
+    "status": null,
  25
+    "plan_management": null
  26
+  },
  27
+  "nodes": {
  28
+    "redis_node_0": {
  29
+      "available_capacity": 200,
  30
+      "id": "redis_node_0",
  31
+      "plan": "free",
  32
+      "time": 1333402870
  33
+    }
  34
+  },
  35
+  "prov_svcs": {
  36
+
  37
+  },
  38
+  "orphan_instances": {
  39
+
  40
+  },
  41
+  "orphan_bindings": {
  42
+
  43
+  },
  44
+  "plans": [
  45
+
  46
+  ],
  47
+  "uptime": "0d:2h:39m:5s",
  48
+  "mem": 46228,
  49
+  "cpu": 0.1
  50
+}
61  _includes/snippets/http-varz-router.json
... ...
@@ -0,0 +1,61 @@
  1
+{
  2
+  "type": "Router",
  3
+  "index": null,
  4
+  "uuid": "cfa60e5597e98267c4197682efe12183",
  5
+  "host": "192.168.1.15:42159",
  6
+  "credentials": [
  7
+    "7c9c84c5fcf6d095a4e8da349b5c29e6",
  8
+    "6189c88df595ee687371ca9cb351ead0"
  9
+  ],
  10
+  "start": "2012-04-02 21:02:39 +0200",
  11
+  "num_cores": 4,
  12
+  "config": {
  13
+    "sock": "/tmp/router.sock",
  14
+    "logging": {
  15
+      "level": "info"
  16
+    },
  17
+    "pid": "/var/vcap/sys/run/router.pid",
  18
+    "config_file": "/home/frodenas/cloudfoundry/.deployments/devbox/config/router.yml"
  19
+  },
  20
+  "requests": 547,
  21
+  "latency": {"value":230,"samples":3},
  22
+  "responses_2xx": 547,
  23
+  "responses_3xx": 0,
  24
+  "responses_4xx": 0,
  25
+  "responses_5xx": 0,
  26
+  "responses_xxx": 0,
  27
+  "bad_requests": 0,
  28
+  "urls": 2,
  29
+  "droplets": 2,
  30
+  "tags": {
  31
+    "component": {
  32
+      "UAA": {
  33
+        "requests": 0,
  34
+        "latency": {"value":0,"samples":0},
  35
+        "responses_2xx": 0,
  36
+        "responses_3xx": 0,
  37
+        "responses_4xx": 0,
  38
+        "responses_5xx": 0,
  39
+        "responses_xxx": 0
  40
+      },
  41
+      "CloudController": {
  42
+        "requests": 547,
  43
+        "latency": {"value":230,"samples":3},
  44
+        "responses_2xx": 547,
  45
+        "responses_3xx": 0,
  46
+        "responses_4xx": 0,
  47
+        "responses_5xx": 0,
  48
+        "responses_xxx": 0
  49
+      }
  50
+    }
  51
+  },
  52
+  "client_connections": 0,
  53
+  "app_connections": 0,
  54
+  "requests_per_sec": 0,
  55
+  "top10_app_requests": [
  56
+
  57
+  ],
  58
+  "uptime": "0d:2h:15m:53s",
  59
+  "mem": 25012,
  60
+  "cpu": 0.1
  61
+}
82  _includes/snippets/http-varz-uaa.json
... ...
@@ -0,0 +1,82 @@
  1
+{"type": "UAA",
  2
+    "links":{
  3
+        "JMImplementation": "http://192.168.1.15:8080/varz/JMImplementation",
  4
+        "spring.application": "http://192.168.1.15:8080/varz/spring.application",
  5
+        "com.sun.management": "http://192.168.1.15:8080/varz/com.sun.management",
  6
+        "localEngine": "http://192.168.1.15:8080/varz/localEngine",
  7
+        "env": "http://192.168.1.15:8080/varz/env",
  8
+        "java.lang": "http://192.168.1.15:8080/varz/java.lang",
  9
+        "java.util.logging": "http://192.168.1.15:8080/varz/java.util.logging"
  10
+    },
  11
+    "mem": 137191304,
  12
+    "memory": {
  13
+        "verbose": false,
  14
+        "non_heap_memory_usage": {
  15
+            "max": 224395264,
  16
+            "committed": 77791232,
  17
+            "init": 24313856,
  18
+            "used": 50800008
  19
+        },
  20
+        "object_pending_finalization_count": 0,
  21
+        "heap_memory_usage": {
  22
+            "max": 477233152,
  23
+            "committed": 223543296,
  24
+            "init": 62037824,
  25
+            "used": 137191304
  26
+        }
  27
+    },
  28
+    "token_store": {
  29
+        "refresh_token_count": 0,
  30
+        "access_token_count": 0,
  31
+        "flush_interval": 1000
  32
+    },
  33
+    "audit_service": {
  34
+        "user_authentication_count": 1,
  35
+        "user_not_found_count": 0,
  36
+        "principal_authentication_failure_count": 0,
  37
+        "principal_not_found_count": 0,
  38
+        "user_authentication_failure_count": 0
  39
+    },
  40
+    "config": {
  41
+        "cloud_controller.login_url": "http://api.vcap.me/users/{username}/tokens",
  42
+        "contextInitializerClasses": "org.cloudfoundry.identity.uaa.config.YamlServletProfileInitializer",
  43
+        "cloud_controller.database.username": "root",
  44
+        "spring_profiles": "jdbc,postgresql,!legacy",
  45
+        "scim.client.secret": "$2a$08$duCE9bFm.duhfe6IrjC0Q.zIvJ9DfjBPhCcuJDj9fUVXaNjNeK5fi",
  46
+        "batch.password": "batch_password",
  47
+        "cloud_controller.databases.hsqldb.username": "sa",
  48
+        "database.driverClassName": "org.postgresql.Driver",
  49
+        "batch.username": "batch_user",
  50
+        "app.client.secret": "$2a$08$Q7ZoYHasNrVzeaZ1Vjgau.2LsOJeDm7.KlCU9w3xZMDa60WYLfVom",
  51
+        "bootstrap.admin.password": "$2a$10$ikFXo9IFG6zbMbhGcssySOhjDsGPpqzKwsdVOeCvJ7JoWjSQxyfs6",
  52
+        "databases.hsqldb.driverClassName": "org.hsqldb.jdbcDriver",
  53
+        "databases.hsqldb.password": "",
  54
+        "database.password": "changeme",
  55
+        "bootstrap.admin.username": "marissa",
  56
+        "databases.hsqldb.username": "sa",
  57
+        "database.username": "root",
  58
+        "cloud_controller.client.secret": "$2a$08$BoWTL27.xae6li/bF3pybOGkEPk8v9LBwudhyuPc4DvvrFS4.TKv6",
  59
+        "cloud_controller.database.driverClassName": "org.postgresql.Driver",
  60
+        "databases.hsqldb.url": "jdbc:hsqldb:mem:jdbcUaaTests",
  61
+        "bootstrap.admin.given_name": "Marissa",
  62
+        "cloud_controller.databases.hsqldb.password": "",
  63
+        "pid": "/var/vcap/sys/run/uaa.pid",
  64
+        "jwt.token.key": "uaa_jwt_secret",
  65
+        "cloud_controller.database.url": "jdbc:postgresql://192.168.1.15:5432/cloud_controller",
  66
+        "my.client.secret": "$2a$08$fsPmrV9zHPU14qpPR1c49.GVRL8JvW33y1qlYFwiZWX4M8vM36bBW",
  67
+        "cloud_controller.databases.hsqldb.url": "jdbc:hsqldb:mem:cloud_controller;sql.enforce_strict_size=true",
  68
+        "database.url": "jdbc:postgresql://localhost:5432/uaa",
  69
+        "bootstrap.admin.family_name": "Bloggs",
  70
+        "mbus": "nats://nats:nats@192.168.1.15:4222/",
  71
+        "bootstrap.admin.email": "marissa@test.org",
  72
+        "cloud_controller.databases.hsqldb.driverClassName": "org.hsqldb.jdbcDriver",
  73
+        "cloud_controller.database.password": "changeme",
  74
+        "jvm_args": "-Xmx512m",
  75
+        "name": "UAA"
  76
+    },
  77
+    "spring.profiles.active": [
  78
+        "jdbc",
  79
+        "postgresql",
  80
+        "!legacy"
  81
+    ]
  82
+}
29  _posts/http-varz/0001-01-01-cloud-controller.md
Source Rendered
... ...
@@ -0,0 +1,29 @@
  1
+---
  2
+layout: post
  3
+category: http-varz
  4
+title: "Cloud Controller"
  5
+---
  6
+
  7
+Returns runtime metrics gathered by the Cloud Controller.
  8
+
  9
+### Resource URL
  10
+
  11
+`GET /varz`
  12
+
  13
+### Requires Authentication?
  14
+
  15
+[Yes](/http-varz/authentication)
  16
+
  17
+### Example Request
  18
+
  19
+**Request**
  20
+
  21
+`GET http://37637511ab0e387f764646dea0a692f9:9d00ec8ab3ea7f5b35abcd341db578bf@192.168.1.15:41111/varz`
  22
+
  23
+**Response**
  24
+
  25
+<div class="js example">
  26
+{% highlight js %}
  27
+{% include snippets/http-varz-cloud-controller.json %}
  28
+{% endhighlight %}
  29
+</div>
29  _posts/http-varz/0001-01-01-health-manager.md
Source Rendered
... ...
@@ -0,0 +1,29 @@
  1
+---
  2
+layout: post
  3
+category: http-varz
  4
+title: "Health Manager"
  5
+---
  6
+
  7
+Returns runtime metrics gathered by the Health Manager.
  8
+
  9
+### Resource URL
  10
+
  11
+`GET /varz`
  12
+
  13
+### Requires Authentication?
  14
+
  15
+[Yes](/http-varz/authentication)
  16
+
  17
+### Example Request
  18
+
  19
+**Request**
  20
+
  21
+`GET http://3acdf6219db11193541da8afe6f2e641:2337c5a6bae03b4451a0c6ad12a815ce@192.168.1.15:42577/varz`
  22
+
  23
+**Response**
  24
+
  25
+<div class="js example">
  26
+{% highlight js %}
  27
+{% include snippets/http-varz-health-manager.json %}
  28
+{% endhighlight %}
  29
+</div>
29  _posts/http-varz/0001-01-01-mongoaas-node.md
Source Rendered
... ...
@@ -0,0 +1,29 @@
  1
+---
  2
+layout: post
  3
+category: http-varz
  4
+title: "MongoaaS Node"
  5
+---
  6
+
  7
+Returns runtime metrics gathered by the MongoDB Service Node.
  8
+
  9
+### Resource URL
  10
+
  11
+`GET /varz`
  12
+
  13
+### Requires Authentication?
  14
+
  15
+[Yes](/http-varz/authentication)
  16
+
  17
+### Example Request
  18
+
  19
+**Request**
  20
+
  21
+`GET http://e86c714dfe4efbfd09aed690c71a867f:a31b74bf5efc1d12c624f7f0f13b3543@192.168.1.15:52137/varz`
  22
+
  23
+**Response**
  24
+
  25
+<div class="js example">
  26
+{% highlight js %}
  27
+{% include snippets/http-varz-mongoaas-node.json %}
  28
+{% endhighlight %}
  29
+</div>
29  _posts/http-varz/0001-01-01-mongoaas-provisioner.md
Source Rendered
... ...
@@ -0,0 +1,29 @@
  1
+---
  2
+layout: post
  3
+category: http-varz
  4
+title: "MongoaaS Provisioner"
  5
+---
  6
+
  7
+Returns runtime metrics gathered by the MongoDB Service Provisioner.
  8
+
  9
+### Resource URL
  10
+
  11
+`GET /varz`
  12
+
  13
+### Requires Authentication?
  14
+
  15
+[Yes](/http-varz/authentication)
  16
+
  17
+### Example Request
  18
+
  19
+**Request**
  20
+
  21
+`GET http://27e40800fb7c50741d003e663dc52ceb:82e724ac255aeba716f89ffb76514d22@192.168.1.15:41786/varz`
  22
+
  23
+**Response**
  24
+
  25
+<div class="js example">
  26
+{% highlight js %}
  27
+{% include snippets/http-varz-mongoaas-provisioner.json %}
  28
+{% endhighlight %}
  29
+</div>
29  _posts/http-varz/0001-01-01-myaas-node.md
Source Rendered
... ...
@@ -0,0 +1,29 @@
  1
+---
  2
+layout: post
  3
+category: http-varz
  4
+title: "MyaaS Node"
  5
+---
  6
+
  7
+Returns runtime metrics gathered by the MySQL Service Node.
  8
+
  9
+### Resource URL
  10
+
  11
+`GET /varz`
  12
+
  13
+### Requires Authentication?
  14
+
  15
+[Yes](/http-varz/authentication)
  16
+
  17
+### Example Request
  18
+
  19
+**Request**
  20
+
  21
+`GET http://b67983fa2ae556b843fc49b04c80e030:e00bca1bc40f2e9d2da5f13703935f64@192.168.1.15:51388/varz`
  22
+
  23
+**Response**
  24
+
  25
+<div class="js example">
  26
+{% highlight js %}
  27
+{% include snippets/http-varz-myaas-node.json %}
  28
+{% endhighlight %}
  29
+</div>
29  _posts/http-varz/0001-01-01-myaas-provisioner.md
Source Rendered
... ...
@@ -0,0 +1,29 @@
  1
+---
  2
+layout: post
  3
+category: http-varz
  4
+title: "MyaaS Provisioner"
  5
+---
  6
+
  7
+Returns runtime metrics gathered by the MySQL Service Provisioner.
  8
+
  9
+### Resource URL
  10
+
  11
+`GET /varz`
  12
+
  13
+### Requires Authentication?
  14
+
  15
+[Yes](/http-varz/authentication)
  16
+
  17
+### Example Request
  18
+
  19
+**Request**
  20
+
  21
+`GET http://9bfea4e2e1f9a8dea1ba32e5d5b45bd3:e54278209cc0fe3337bfc5ba6a331d15@192.168.1.15:59772/varz`
  22
+
  23
+**Response**
  24
+
  25
+<div class="js example">
  26
+{% highlight js %}
  27
+{% include snippets/http-varz-myaas-provisioner.json %}
  28
+{% endhighlight %}
  29
+</div>
29  _posts/http-varz/0001-01-01-neo4jaas-node.md
Source Rendered
... ...
@@ -0,0 +1,29 @@
  1
+---
  2
+layout: post
  3
+category: http-varz
  4
+title: "Neo4jaaS Node"
  5
+---
  6
+
  7
+Returns runtime metrics gathered by the Neo4j Service Node.
  8
+
  9
+### Resource URL
  10
+
  11
+`GET /varz`
  12
+
  13
+### Requires Authentication?
  14
+
  15
+[Yes](/http-varz/authentication)
  16
+
  17
+### Example Request
  18
+
  19
+**Request**
  20
+
  21
+`GET http://3a45dcf583062657b9ed1b23a3cb9f1b:ab69b0bd1d1881520bec5f7f2171d11b@192.168.1.15:37400/varz`
  22
+
  23
+**Response**
  24
+
  25
+<div class="js example">
  26
+{% highlight js %}
  27
+{% include snippets/http-varz-neo4jaas-node.json %}
  28
+{% endhighlight %}
  29
+</div>
29  _posts/http-varz/0001-01-01-neo4jaas-provisioner.md
Source Rendered
... ...
@@ -0,0 +1,29 @@
  1
+---
  2
+layout: post
  3
+category: http-varz
  4
+title: "Neo4jaaS Provisioner"
  5
+---
  6
+
  7
+Returns runtime metrics gathered by the Neo4j Service Provisioner.
  8
+
  9
+### Resource URL
  10
+
  11
+`GET /varz`
  12
+
  13
+### Requires Authentication?
  14
+
  15
+[Yes](/http-varz/authentication)
  16
+
  17
+### Example Request
  18
+
  19
+**Request**
  20
+
  21
+`GET http://539fc7be9e47d3c748a6c8d9c2cdcc87:7be1e673eeadf374181ad993a2b05698@192.168.1.15:52580/varz`
  22
+
  23
+**Response**
  24
+
  25
+<div class="js example">
  26
+{% highlight js %}
  27
+{% include snippets/http-varz-neo4jaas-provisioner.json %}
  28
+{% endhighlight %}
  29
+</div>
29  _posts/http-varz/0001-01-01-raas-node.md
Source Rendered
... ...
@@ -0,0 +1,29 @@
  1
+---
  2
+layout: post
  3
+category: http-varz
  4
+title: "RaaS Node"
  5
+---
  6
+
  7
+Returns runtime metrics gathered by the Redis Service Node.
  8
+
  9
+### Resource URL
  10
+
  11
+`GET /varz`
  12
+
  13
+### Requires Authentication?
  14
+
  15
+[Yes](/http-varz/authentication)
  16
+
  17
+### Example Request
  18
+
  19
+**Request**
  20
+
  21
+`GET http://00bdc704c108bd5e9ecfac24740d36c4:7b7e40da46f26874d72074c05fb0836f@192.168.1.15:40724/varz`
  22
+
  23
+**Response**
  24
+
  25
+<div class="js example">
  26
+{% highlight js %}
  27
+{% include snippets/http-varz-raas-node.json %}
  28
+{% endhighlight %}
  29
+</div>
29  _posts/http-varz/0001-01-01-raas-provisioner.md
Source Rendered
... ...
@@ -0,0 +1,29 @@
  1
+---
  2
+layout: post
  3
+category: http-varz
  4
+title: "RaaS Provisioner"
  5
+---
  6
+
  7
+Returns runtime metrics gathered by the Redis Service Provisioner.
  8
+
  9
+### Resource URL
  10
+
  11
+`GET /varz`
  12
+
  13
+### Requires Authentication?
  14
+
  15
+[Yes](/http-varz/authentication)
  16
+
  17
+### Example Request
  18
+
  19
+**Request**
  20
+
  21
+`GET http://a8fbb724c227520e5dc6cc27f652a788:9be785de73d6b9c311bede8e2eb66395@192.168.1.15:33668/varz`
  22
+
  23
+**Response**
  24
+
  25
+<div class="js example">
  26
+{% highlight js %}
  27
+{% include snippets/http-varz-raas-provisioner.json %}
  28
+{% endhighlight %}
  29
+</div>
29  _posts/http-varz/0001-01-01-router.md
Source Rendered
... ...
@@ -0,0 +1,29 @@
  1
+---
  2
+layout: post
  3
+category: http-varz
  4
+title: "Router"
  5
+---
  6
+
  7
+Returns runtime metrics gathered by the Router.
  8
+
  9
+### Resource URL
  10
+
  11
+`GET /varz`
  12
+
  13
+### Requires Authentication?
  14
+
  15
+[Yes](/http-varz/authentication)
  16
+
  17
+### Example Request
  18
+
  19
+**Request**
  20
+
  21
+`GET http://7c9c84c5fcf6d095a4e8da349b5c29e6:6189c88df595ee687371ca9cb351ead0@192.168.1.15:42159/varz`
  22
+
  23
+**Response**
  24
+
  25
+<div class="js example">
  26
+{% highlight js %}
  27
+{% include snippets/http-varz-router.json %}
  28
+{% endhighlight %}
  29
+</div>
29  _posts/http-varz/0001-01-01-uaa.md
Source Rendered