flokli / nix-casync

A more efficient way to store and substitute Nix store paths
80 stars 4 forks source link

pkg/server/server.go: add chunked data and served nar data metrics #44

Closed picnoir closed 2 years ago

picnoir commented 2 years ago

We introduce a /metrics prometheus endpoint exposing two metrics (on top of the golang runtime ones):

Part of #14

picnoir commented 2 years ago

Hmm, the put metrics are wrong. I don't have the credentials to convert this back to draft.

It's not ready for review yet.