Skip to main content

Iglu Cache

GitHub

Introduction

The Iglu Cache is the component of the Iglu Project that stores nix derivations. This Cache is compatible with the cachix client.

Metrics

The Iglu Cache has its own Prometheus endpoint (default: http://localhost:9464/metrics). This endpoint can be disabled by setting the env PROM_ENABLE to false.

It provides the following metrics per cache:

namedescriptionexample
iglu_cache_derivation_countNumber of derivations in the cacheiglu_cache_derivation_count{cache="test",uri="http://localhost:3000"} 6
iglu_cache_sizeSize of the cache in byteiglu_cache_size{cache="default",uri="http://localhost:3000"} 11640438
iglu_cache_requests_totalRequest count per cacheiglu_cache_requests_total{cache="default",uri="http://localhost:3000"} 6