Re: Cache stats like number of cache hits, misses, reads, write, avg

2018-11-21 Thread aealexsandrov
Hi, DataStreamer depends on the allowOverwrite flag. https://apacheignite.readme.io/docs/data-streamers#section-allow-overwrite The default value is false to get the best performance. But it also means that metrics will not be updated. If you set allowOverwrite true then data streamer will work

Re: Cache stats like number of cache hits, misses, reads, write, avg

2018-10-27 Thread Naveen
HI Andrei It worked after enabling metrics at both egionCfg and storageCfg and also enabling cacheMetrics for the cache. Stats are getting captured when we insert it thru cache.Put/putall , not getting captured the data inserted thru datastreamer | CustomerCharsCache(@c11)| PARTITI

Re: Cache stats like number of cache hits, misses, reads, write, avg

2018-10-25 Thread aealexsandrov
Hi, Try to set setMetrcis for both regionCfg and storageCfg too. Is it help? BR, Andrei -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Cache stats like number of cache hits, misses, reads, write, avg

2018-10-24 Thread Naveen
I guess I was doing the same. Only change I could see is, you were enabling setMetrcis for both regionCfg and storageCng regionCfg.setMetricsEnabled(true); // Setting the data region configuration. storageCfg.setDataRegionConfigurations(regionCfg); storageCfg.setMetr

Re: Cache stats like number of cache hits, misses, reads, write, avg

2018-10-24 Thread aealexsandrov
Hi, I tested that it works. I attached my code for the server node and configuration for the visor. Could you please check it? startActivate.java default-config.xml

Re: Cache stats like number of cache hits, misses, reads, write, avg

2018-10-24 Thread Naveen
Hi Andrei This is how I am creating the cache Here is node configuration, we read all the values from a properties file

Re: Cache stats like number of cache hits, misses, reads, write, avg

2018-10-24 Thread aealexsandrov
Hi, Could you please provide the full configuration of the node? BR, Andrei -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Cache stats like number of cache hits, misses, reads, write, avg

2018-10-24 Thread Naveen
Hi We are using Ignite 2.5/2.6 Have enables stats collection by setting this property Created cache, and ran some Gets on it, and when we check stats thru visor, we dont see any stats for read cache -c=CustomerCache -a All the columns like Hits, Writes, Reads are showing as zero, is there a