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

upgrade v1+ libraries #3098

Merged
merged 3 commits into from
Mar 7, 2024
Merged

Conversation

goddenrich
Copy link
Contributor

@goddenrich goddenrich commented Mar 7, 2024

upgrading all go third_party libraries if they are in v1 or above. We have to upgrade some v0 libraries which are dependencies.

@goddenrich goddenrich changed the title upgrade v1 libraries upgrade v1+ libraries Mar 7, 2024
@@ -56,7 +56,7 @@ func Push(config *core.Configuration) {

if err := push.New(config.Metrics.PrometheusGatewayURL, "please").
Client(&http.Client{Timeout: time.Duration(config.Metrics.Timeout)}).
Gatherer(prometheus.DefaultGatherer).Format(expfmt.FmtText).
Gatherer(prometheus.DefaultGatherer).Format(expfmt.NewFormat(expfmt.TypeTextPlain)).
Copy link
Member

Choose a reason for hiding this comment

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

Makes sense to leave this for now although I also wonder why we're actually setting this - I assume we could push in the default proto format just fine

@goddenrich goddenrich merged commit 5bde181 into thought-machine:master Mar 7, 2024
14 checks passed
@goddenrich goddenrich deleted the upgrade-libs branch April 25, 2024 14:54
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

2 participants