All Downloads are FREE. Search and download functionalities are using the official Maven repository.

freemarker.es5x.index.monitor.ftl Maven / Gradle / Ivy

There is a newer version: 5.6.0
Show newest version
{ "index" : { "_index" : "${index}", "_type" : "${type}" } }
<@compress single_line=true>
{
  "os":{
    "cpu":{
      "percent":${percent},
      "load_average":{
        <#if load_average_1m??>"1m":${load_average_1m}
        <#if load_average_5m??>,"5m":${load_average_5m}
        <#if load_average_15m??>,"15m":${load_average_15m}
      }
    },
    "mem":{
      "total_in_bytes":${mem_total_in_bytes},
      "free_in_bytes":${mem_free_in_bytes},
      "used_in_bytes":${mem_used_in_bytes},
      "free_percent":${mem_free_percent},
      "used_percent":${mem_used_percent}
    }
  },
  "process":{
    "timestamp":${process_timestamp},
    "open_file_descriptors":${open_file_descriptors},
    "max_file_descriptors":${max_file_descriptors},
    "cpu":{
        "percent":${process_percent}
    }
  },
  "jvm":{
    "timestamp":${jvm_timestamp},
    "uptime_in_millis":${uptime_in_millis},
    "mem":{
      "heap_used_in_bytes":${heap_used_in_bytes},
      "heap_used_percent":${heap_used_percent},
      "heap_committed_in_bytes":${heap_committed_in_bytes},
      "heap_max_in_bytes":${heap_max_in_bytes},
      "non_heap_used_in_bytes":${non_heap_used_in_bytes},
      "non_heap_committed_in_bytes":${non_heap_committed_in_bytes},
      "pools":{
<#list pools as pool>
      "${pool.getName()}":{
          "used_in_bytes":${pool.getUsed()},
          "max_in_bytes":${pool.getMax()},
          "peak_used_in_bytes":${pool.getPeakUsed()},
          "peak_max_in_bytes":${pool.getPeakMax()}
        }
  <#sep>,

      }
    },
    "threads":{
      "count":${count},
      "peak_count":${peak_count}
    },
    "gc":{
      "collectors":{

<#list collectors as collector>
        "${collector.getName()}":{
          "collection_count":${collector.getCollectionCount()},
          "collection_time_in_millis":${collector.getCollectionTime()}
        }
  <#sep>,


      }
    }
  },
  "gateway":"${gateway}",
  "hostname":"${hostname}",
  "@timestamp":"${@timestamp}"
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy