Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Latency metrics design proposal #365

Open
2 of 21 tasks
ktock opened this issue Jul 12, 2021 · 0 comments
Open
2 of 21 tasks

Latency metrics design proposal #365

ktock opened this issue Jul 12, 2021 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@ktock
Copy link
Member

ktock commented Jul 12, 2021

By @vkuzniet (#358)

Currently stargz snapshotter emits only 2 metrics: layer_fetched_size and layer_size. In addition to those metrics, I suggest adding the following:

  • Image and layer metrics
    • Prefetch bytes per layer (or prefetch ratio)
  • Quantifying accuracy of prefetch files
    • Number of cache hits
    • Total on-demand bytes served out of cache
    • Number of on-demand file fetches (aka cache miss)
    • Total bytes fetched on-demand
    • Latency between mounting a layer and last on-demand fetch
  • Latency Metrics
    • Prefetch
      • Time to download prefetch data
      • Time to decompress prefetch data
      • Total time to complete prefetch
    • Background fetch
      • Time to download background fetch data
      • Time to decompress background fetch data
      • Total time to complete background fetch
    • Mount
    • Remote registry access latency Latency metrics design proposal #358
    • Decompression latency
    • Total request latency for on-demand reads from the container
  • Count Metrics
    • Number of retries to download data
    • Count of concurrent remote registry requests
    • Number of times a background task was preemptively cancelled
@ktock ktock added enhancement New feature or request help wanted Extra attention is needed labels Jul 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant