Skip to content
This repository has been archived by the owner on Jan 2, 2023. It is now read-only.

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

Closed
wants to merge 1 commit into from

Conversation

picnoir
Copy link

@picnoir picnoir commented Mar 5, 2022

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

  • nixcasync_chunkedDataGiB: total amount of uncompressed data sent to
    the chunker
  • nixcasync_servedDataGiB: total amount of served NAR.

Part of #14

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

- nixcasync_chunkedDataGiB: total amount of uncompressed data sent to
  the chunker
- nixcasync_servedDataGiB: total amount of served NAR.
@picnoir picnoir force-pushed the nin/prom-metrics branch from 6ca879c to 34c6784 Compare March 6, 2022 09:26
@picnoir
Copy link
Author

picnoir commented Mar 6, 2022

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.

@flokli flokli marked this pull request as draft March 7, 2022 11:37
@picnoir picnoir closed this Aug 3, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant