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

add build info metric #67

Merged
merged 2 commits into from
Jan 15, 2021

Conversation

anmol372
Copy link
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
go.mod Outdated Show resolved Hide resolved
internal/metrics/metrics.go Outdated Show resolved Hide resolved
go.mod Outdated Show resolved Hide resolved
GitCommit = "unknown"
Version = "unknown"
GitCommit = "unknown"
GitVersion = "unknown"
Copy link
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
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.

None yet

3 participants