{"repo":"loyispa/jgc_exporter","free":true,"listed":false,"github":"https://github.com/loyispa/jgc_exporter","clone":"git clone https://github.com/loyispa/jgc_exporter.git","description":"The exporter that can continuous analysis hotspot gc logs.","language":"Java","stars":12,"topics":["garbage-collection","exporter","prometheus","gc","java","jvm","native-build","jvm-monitor","monitoring","log"],"license":"Apache-2.0","category":"analytics","readme_excerpt":"jgc exporter [![Build Status][maven-build-image]][maven-build-url] [![CodeCov][codecov-image]][codecov-url] An exporter that can continuously analyze hotspot gc logs(Parallel, CMS, G1, ZGC, etc.) Running the exporter Run the exporter as standalone HTTP server, prefer native executable if available: start with jar: start with native executable (only linux now, windows is on the way): A simple config.yml looks like below: Fetch the metrics: Configuration Name Description ----------------- ------------------------------------------------------------------------------ hostPort Host and port that http server binds, default is 0.0.0.0:5898 fileGlobPattern Wildcard pattern of gc log file path, separate multiple paths with commas(,) idleTimeout Milliseconds before closing idle(no update) files, default is 1 hour watchInterval Time interval for scanning matching files (ms) readInterval Time to sleep between files reading empty (ms) Metric Name type labels Description -------------------------------------------- --------- ---------------------- ---------------------------------- jgc log lines total counter path, host Number of process log lines jgc event duration seconds summary path, host, category Duration of GC events jgc event pause duration seconds summary path, host, category Duration of GC pause events jgc heap occupancy before collection bytes gauge path, host Heap occupancy before collection jgc heap occupancy after collection bytes gauge path, host Heap occupancy after collec","default_branch":null,"files":null,"tree":[],"storefront":"/r/loyispa","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/loyispa/jgc_exporter/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}