Re: BOSHHMFORWARDER - Metric Data

Johannes Tuchscherer
 

Hi Sundar,

These first metrics that you enumerate are not from the BoshHMForwarder,
but are just normal ValueMetrics or CounterEvents from the components
itself (the components send these metrics directly via the MetronAgent to
Doppler, there is no Bosh HM involved here).

Did you set up the BoshHMForwarder according to the readme (
https://github.com/cloudfoundry/loggregator/tree/develop/src/boshhmforwarder
)?

Can you verify, that your BoshHMForwarder is receiving metrics from Bosh
HM? You can do that by starting the BoshHMForwarder in debug mode via this
flag:
https://github.com/cloudfoundry/loggregator/blob/develop/jobs/boshhmforwarder/spec#L22
You should see this log message:
https://github.com/cloudfoundry/loggregator/blob/develop/src/boshhmforwarder/tcp/tcp_server.go#L64

Do you have a correctly configured local metron agent running next to the
BoshHMForwarder?

I hope this helps,
Johannes


On Thu, Nov 17, 2016 at 10:14 AM Sundarajan Srinivasan <
sundarajan.s(a)gmail.com> wrote:

Hi.

I am trying to stream by vm logs from a boshhmforwarder. Everything is
fine and I am able to receive the metrics for the below information in
firehose through doppler.

numCPUS
numGoRoutines
memoryStats.numBytesAllocatedHeap
memoryStats.numBytesAllocatedStack
memoryStats.numBytesAllocated
memoryStats.numMallocs
memoryStats.lastGCPauseTimeNS
memoryStats.numFrees


But I am also looking for information such as CPU Load, Disk Utilization.
I could see from the src that there are system metrics provided by boshhm,
still i am not receiving the below. Can someone please help.

system.healthy
system.load.1m
system.cpu.user
system.cpu.sys
system.cpu.wait":
system.disk.system.percent
system.disk.system.inode_percent
system.mem.percent
system.swap.percent
system.disk.ephemeral.percent
system.disk.ephemeral.inode_percent
system.disk.persistent.percent
system.disk.persistent.inode_percent
system.mem.kb
system.swap.kb


https://github.com/cloudfoundry/loggregator/blob/develop/src/boshhmforwarder/forwarder/message_forwarder.go

Thanks
Sundar

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