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

Ingest image/layer size in Kusto #745

Open
MichaelSimons opened this issue Jan 25, 2021 · 3 comments · May be fixed by #1604
Open

Ingest image/layer size in Kusto #745

MichaelSimons opened this issue Jan 25, 2021 · 3 comments · May be fixed by #1604

Comments

@MichaelSimons
Copy link
Member

Tracking the image/layer size information is useful for metric tracking purposes. The wire/compressed size is the most useful to track.

@mthalman
Copy link
Member

[Triage]
This could be useful to track image size changes over time. The image info file could be queried over source history to get this information.

@mthalman mthalman moved this from Needs Review to Backlog in .NET Docker Aug 16, 2023
@lbussell lbussell moved this from Backlog to Current Release in .NET Docker Jan 19, 2024
@lbussell
Copy link
Contributor

lbussell commented May 16, 2024

[Triage] Since dotnet/dotnet-docker#5118 is blocking image size tracking, we should definitely do this. We should prefer to ingest this info into Kusto over using the image-info file (although both wouldn't hurt). This would allow us to get rid of the existing size validation pipeline. This is already mostly implemented, just stubbed out -

for (int i = 0; i < platform.Layers.Count; i++)
{
// TODO: Track layer size (currently set to 0) https://github.com/dotnet/docker-tools/issues/745
layerInfo.AppendLine(FormatLayerCsv(
platform.Layers[i], 0, platform.Layers.Count - i, sha, platform, image, repo.Repo, timestamp));
}

@lbussell lbussell changed the title Track image/layer size in image-info Ingest image/layer size in Kusto May 16, 2024
@lbussell lbussell moved this from Current Release to Backlog in .NET Docker Jul 22, 2024
@lbussell lbussell moved this from Backlog to Current Release in .NET Docker Aug 12, 2024
@lbussell
Copy link
Contributor

#745 is follow-up work for once this issue is complete.

@lbussell lbussell moved this from Current Release to Post Release in .NET Docker Sep 16, 2024
@lbussell lbussell moved this from Post Release to Current Release in .NET Docker Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Current Release
Development

Successfully merging a pull request may close this issue.

3 participants