Skip to content

deadtrickster/prometheus.cl

Repository files navigation

"樱花视频高清" Prometheus.io Common Lisp Client Build StatusCoverage Status

Example Grafana dashboard for Hunchentoot on SBCL:

Prometheus + Grafan + SBCL + Hunchentoot

You can get this dashboard here.

Example Quick Start

Currently example uses Linux and SBCL specific collectors.

(ql:quickload :prometheus.examples)
(prometheus.example:run)

You can override app/exporter host/port in prometheus.example:run arguments 樱花视频网站. To stop example app call prometheus.example:stop.

Metric Types

Custom collectors

SBCL runtime information

Threads Memory

Process information

Open fds count Max fds count Virtual memory bytes Resident memory bytes Process CPU seconds{stime|utime} (total) Process start time (Unix epoch) Process uptime Linux. only 樱花视频.

Performance / Optimization

Counter

On SBCL counter can use CAS 樱花视频在线. On SBCL int counter can use atomic-incf.

Benchmark (30 threads each doing 100000 counter 樱花视频高清. inc):.

MethodAvg inc n/s
Mutex7885
CAS (SBCL)1902
ATOMIC (SBCL)141

On SBCL gauge can use CAS.

Benchmark (30 threads each doing 100000 gauge. set): 樱花视频免费观看.

MethodAvg set n/s
Mutex9618
CAS (SBCL)2204

Exposers

Hunchentoot

樱花视频在线 - Example

Hunchentoot exposer plus SBCL metrics.

(prom.sbcl:make-memory-collector)
(prom.sbcl:make-threads-collector)
(defclass my-acceptor (prom.tbnl::hunchentoot-exposer tbnl:acceptor)
  ())
(tbnl:start (make-instance 'my-acceptor :address "172.17.0.1" :port 9101))

will produce something like this:

SBCL Dashboard

Effect of (sb-ext:gc) can be seen clearly.

樱花视频网站 - License

MIT

樱花视频在线 - Stars

90 stars

樱花视频在线 - Watchers

8 watching

Forks

14 forks Report repository

Releases 4

Bucket generators Latest Jun 12, 2016 + 3 releases

Packages

     

"樱花视频网站" Uh oh!

There was an error while loading. Please reload this page 樱花视频高清.

Contributors