Re: CF API for "general statistics"?


Jim Park
 

As far as the available app space available in the system, PWS uses
https://github.com/cloudfoundry/collector/blob/master/lib/collector/handlers/dea.rb#L10
to
ID how much available space is in a deploy for additional apps.

This varz endpoint is populated by
https://github.com/cloudfoundry/dea_ng/blob/b74390b2472a6a929807040f4439a30ecb46e699/lib/dea/bootstrap.rb#L473

You can trace it further back from here.

So the short answer is no, you need to enable monitoring by deploying a
collector.

Thanks,


Jim

On Tue, Sep 29, 2015 at 2:12 PM CF Runtime <cfruntime(a)gmail.com> wrote:

I'd like to add as well that you can configure Bosh's healthmonitor to
send this data to an external dataviz/archival service (we use Datadog for
our various test environments): https://bosh.io/docs/hm-config.html

Zak + Mikhail, CF Release Integration

On Tue, Sep 29, 2015 at 4:58 AM, James Bayer <jbayer(a)pivotal.io> wrote:

if you're using bosh to manage cloud foundry, then the bosh cli has a
command:
bosh vms --vitals

which you can read about here [1], that does a good job of measuring
infra concerns:

- Vitals: Includes load, CPU, memory, swap, system disk, ephemeral
disk, and persistent disk usage for each VM.


[1] http://bosh.io/docs/sysadmin-commands.html#health

On Tue, Sep 29, 2015 at 2:51 AM, Rafal Radecki <radecki.rafal(a)gmail.com>
wrote:

Hi all :)

I got a task to check the possibility to fetch details such as:
- overall used and available memory/storage usage of cf platform
- list of running warden containers, approximation how many can be
spawned additionally
I looked through https://apidocs.cloudfoundry.org/218/ but did not find
anything similar to whats I am looking for.

Are there any options other than standard os level monitoring?

BR,
Rafal.


--
Thank you,

James Bayer

Join cf-dev@lists.cloudfoundry.org to automatically receive all group messages.