Awesome
<a id="x-28PROMETHEUS-GC-DOCS-2FINDEX-3A-40README-2040ANTS-DOC-2FLOCATIVES-3ASECTION-29"></a>
prometheus-gc - This is a Prometheus collector for Common Lisp implementation garbage collector.
<a id="prometheus-gc-asdf-system-details"></a>
PROMETHEUS-GC ASDF System Details
- Description: This is a Prometheus collector for Common Lisp implementation garbage collector.
- Licence: Unlicense
- Author: Alexander Artemenko svetlyak.40wt@gmail.com
- Homepage: https://40ants.com/prometheus-gc
- Bug tracker: https://github.com/40ants/prometheus-gc/issues
- Source control: GIT
- Depends on: prometheus
<a id="x-28PROMETHEUS-GC-DOCS-2FINDEX-3A-3A-40ABOUT-2040ANTS-DOC-2FLOCATIVES-3ASECTION-29"></a>
What is this?
This is a Prometheus collector for Common Lisp implementation garbage collector.
Only SBCL
is currently supported.
<a id="x-28PROMETHEUS-GC-DOCS-2FINDEX-3A-3A-40INSTALLATION-2040ANTS-DOC-2FLOCATIVES-3ASECTION-29"></a>
Installation
You can install this library from Quicklisp, but you want to receive updates quickly, then install it from Ultralisp.org:
(ql-dist:install-dist "http://dist.ultralisp.org/"
:prompt nil)
(ql:quickload :prometheus-gc)
<a id="x-28PROMETHEUS-GC-DOCS-2FINDEX-3A-3A-40USAGE-2040ANTS-DOC-2FLOCATIVES-3ASECTION-29"></a>
Usage
Instantiate collector like this:
(prometheus-gc:make-gc-collector :registry registry)
Then serialize metrics as described in the docs of prometheus.cl library.