metrics for bake command
crazy-max opened this issue · comments
Since Buildx v0.13.0 we support exporting OpenTelemetry metrics for the build
command. We currently track:
buildx/util/progress/metricwriter.go
Lines 29 to 34 in 3b25e3f
We should do the same for bake
with slight changes/enhancements. For example we should track the underlying attributes within the loaded bake definition for built targets and one thing that would be interesting to set along the attributes is what kind of files are being consumed (hcl, compose, json) when merging the definition. This would help understand user's workflow.