static void memory_stats_submit(gauge_t value, virDomainPtr dom,
int tag_index) {
- static const char *tags[] = {"swap_in", "swap_out", "major_fault",
- "minor_fault", "unused", "available",
- "actual_balloon", "rss", "usable",
- "last_update", "disk_caches"};
+ static const char *tags[] = {
+ "swap_in", "swap_out", "major_fault", "minor_fault",
+ "unused", "available", "actual_balloon", "rss",
+ "usable", "last_update", "disk_caches", "hugetlb_pgalloc",
+ "hugetlb_pgfail"};
if ((tag_index < 0) || (tag_index >= (int)STATIC_ARRAY_SIZE(tags))) {
ERROR(PLUGIN_NAME " plugin: Array index out of bounds: tag_index = %d",