Skip to content

add build info metric#67

Merged
joelanford merged 2 commits intooperator-framework:masterfrom
anmol372:build_info_metric
Jan 15, 2021
Merged

add build info metric#67
joelanford merged 2 commits intooperator-framework:masterfrom
anmol372:build_info_metric

Conversation

@anmol372
Copy link
Copy Markdown
Contributor

@anmol372 anmol372 commented Dec 2, 2020

SDK update from:  Build info metric: operator-framework/operator-sdk#4220

@anmol372 anmol372 marked this pull request as ready for review December 15, 2020 17:49
Comment thread go.mod Outdated
Comment thread internal/metrics/metrics.go Outdated
Comment thread go.mod Outdated
Comment thread internal/version/version.go Outdated
GitCommit = "unknown"
Version = "unknown"
GitCommit = "unknown"
GitVersion = "unknown"
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this set anywhere?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's not. I'm actually looking at improving the version handling now. I think we should leave this PR open until we have better version number handling in place that accounts for both the main helm-operator binary and projects that import this repo and need to use the plugin to scaffold Makefile and Dockerfile with appropriate version numbers.

I think debug.ReadBuildInfo() may be useful to us.

@joelanford joelanford merged commit 16ddc79 into operator-framework:master Jan 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants