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 Prometheus Dependency #6

Merged
merged 1 commit into from
Jan 16, 2023
Merged

Conversation

csmarchbanks
Copy link
Contributor

Using this library with versions of Prometheus newer than when the pkg/
directory was removed is failing. Upgrade the Prometheus dependency to
the most recent release, and people who still need the older dependency
can use an older version.

Using this library with versions of Prometheus newer than when the pkg/
directory was removed is failing. Upgrade the Prometheus dependency to
the most recent release, and people who still need the older dependency
can use an older version.
@@ -162,7 +162,7 @@ func NewWithLogger(cfg Config, logger log.Logger) (*Client, error) {
return nil, err
}

c.client, err = config.NewClientFromConfig(cfg.Client, "promtail", false, false)
c.client, err = config.NewClientFromConfig(cfg.Client, "promtail", config.WithHTTP2Disabled())
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I left HTTP2 disabled as that was the previous behavior, but in newer versions of Go could this be enabled again?

@CLAassistant
Copy link

CLAassistant commented Jun 15, 2022

CLA assistant check
All committers have signed the CLA.

@slim-bean slim-bean merged commit e7494d0 into master Jan 16, 2023
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