Ignite statistics in the logs

classic Classic list List threaded Threaded
3 messages Options
Loredana Radulescu Ivanoff Loredana Radulescu Ivanoff
Reply | Threaded
Open this post in threaded view
|

Ignite statistics in the logs

Hello,

I would like to see some periodic basic topology health statistics in the logs, such as CPU, heap/off heap usage etc. What would be a preferred way to configure that in a production like environment, without a significant performance overhead?

Thank you,
Loredana Radulescu Ivanoff
Vladimir Pligin Vladimir Pligin
Reply | Threaded
Open this post in threaded view
|

Re: Ignite statistics in the logs

Hi,

As far as I know this information should be shown in Ignite logs with
default setup.
The only thing you need to do is to run ignite.sh with -v option or set
system property IGNITE_QUIET to false if you run a node without ignite.sh.
In my setup it looks like

[18:47:30,425][INFO][grid-timeout-worker-#39][IgniteKernal]
Metrics for local node (to disable set 'metricsLogFrequency' to 0)
    ^-- Node [id=029b4aeb, uptime=30:41:07.843]
    ^-- H/N/C [hosts=1, nodes=2, CPUs=16]
    ^-- CPU [cur=0%, avg=0.01%, GC=0%]
    ^-- PageMemory [pages=200]
    ^-- Heap [used=77MB, free=92.35%, comm=1010MB]
    ^-- Non heap [used=69MB, free=90.67%, comm=71MB]
    ^-- Outbound messages queue [size=0]
    ^-- Public thread pool [active=0, idle=0, qSize=0]
    ^-- System thread pool [active=0, idle=6, qSize=0]

Does it make sense for you?
-
Vladimir




--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/
Loredana Radulescu Ivanoff Loredana Radulescu Ivanoff
Reply | Threaded
Open this post in threaded view
|

Re: Ignite statistics in the logs

Yes, thank you, I guess I missed setting the IGNITE_QUIET to false when I tried it out.

As far as performance overhead, do you have any pointers? Of course, every environment is different, but I am hoping setting the 'metricsLogFrequency' to something like once every 5 minutes would not be too bad.

On Wed, May 8, 2019 at 9:13 AM Vladimir Pligin <[hidden email]> wrote:
Hi,

As far as I know this information should be shown in Ignite logs with
default setup.
The only thing you need to do is to run ignite.sh with -v option or set
system property IGNITE_QUIET to false if you run a node without ignite.sh.
In my setup it looks like

[18:47:30,425][INFO][grid-timeout-worker-#39][IgniteKernal]
Metrics for local node (to disable set 'metricsLogFrequency' to 0)
    ^-- Node [id=029b4aeb, uptime=30:41:07.843]
    ^-- H/N/C [hosts=1, nodes=2, CPUs=16]
    ^-- CPU [cur=0%, avg=0.01%, GC=0%]
    ^-- PageMemory [pages=200]
    ^-- Heap [used=77MB, free=92.35%, comm=1010MB]
    ^-- Non heap [used=69MB, free=90.67%, comm=71MB]
    ^-- Outbound messages queue [size=0]
    ^-- Public thread pool [active=0, idle=0, qSize=0]
    ^-- System thread pool [active=0, idle=6, qSize=0]

Does it make sense for you?
-
Vladimir




--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/