dotnet / docker-tools

This is a repo to house some common tools for our various docker repos.
MIT License
106 stars 43 forks source link

Ingest image/layer size in Kusto #745

Open MichaelSimons opened 3 years ago

MichaelSimons commented 3 years ago

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

mthalman commented 1 year ago

[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.

lbussell commented 3 months ago

[Triage] Since https://github.com/dotnet/dotnet-docker/issues/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 -

https://github.com/dotnet/docker-tools/blob/8fa3fbfc2048a893dfeb6a1f9a1786546c77534f/src/Microsoft.DotNet.ImageBuilder/src/Commands/IngestKustoImageInfoCommand.cs#L101-L106

lbussell commented 3 weeks ago

https://github.com/dotnet/docker-tools/issues/745 is follow-up work for once this issue is complete.