I am hoping to periodically print some Ignite metrics to Grafana. I tried printing various DataRegionMetrics and DataStorageMetrics method results and they were not what I expected. For the default DataRegionMetrics (the only one we are using), getName, getOffHeapUsedSize, and getPhysicalMemorySize all return 0, while getOffHeapSize and getTotalAllocatedSize return values that make more sense (200 MB for off heap (what we allocated on start up), and 1.7 GB for total allocated). For DataStorageMetrics, getCheckpointBufferSize, getOffHeapSize, getOffHeapUsedSize, getTotalAllocatedSize, and getWalTotalSize all return 0, which doesn't make sense given we have 1.7 GB data in the cache. Any idea why I am getting 0 for these various metrics? Is there a more reliable way to grab Ignite metrics so that I can publish them to a 3rd party platform?
Issues with DataRegionMetrics and DataStorageMetrics
Mitchell Rathbun (BLOOMBERG/ 731 LEX) Thu, 30 Jan 2020 17:26:09 -0800
- Issues with DataRegionMetrics and Da... Mitchell Rathbun (BLOOMBERG/ 731 LEX)
- Re: Issues with DataRegionMetri... Alex Plehanov
