-
Notifications
You must be signed in to change notification settings - Fork 235
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
Update mysqld_exporter to v0.16.0 #1643
Conversation
152acc0
to
b7b1fb2
Compare
internal/component/loki/source/aws_firehose/internal/handler_test.go
Outdated
Show resolved
Hide resolved
b7b1fb2
to
976d501
Compare
043860e
to
0f466b4
Compare
0f466b4
to
40b6e18
Compare
This PR has not had any activity in the past 30 days, so the |
9697e59
to
bb8e29b
Compare
go.mod
Outdated
@@ -161,7 +161,7 @@ require ( | |||
github.com/prometheus/common/sigv4 v0.1.0 | |||
github.com/prometheus/consul_exporter v0.8.0 | |||
github.com/prometheus/memcached_exporter v0.13.0 | |||
github.com/prometheus/mysqld_exporter v0.14.0 | |||
github.com/prometheus/mysqld_exporter v0.15.1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any new config options that need to be exposed since it's a minor version, it can have new features?
bb8e29b
to
20cb1b5
Compare
@@ -122,7 +123,7 @@ func New(log log.Logger, c *Config) (integrations.Integration, error) { | |||
} | |||
|
|||
scrapers := GetScrapers(c) | |||
exporter := collector.New(context.Background(), string(dsn), scrapers, log, collector.Config{ | |||
exporter := collector.New(context.Background(), string(dsn), scrapers, slog.Default(), collector.Config{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@thampiotr New
here now requires an slog.Logger
, is there any adapter in the Alloy codebase?
962ed3c
to
69337c6
Compare
internal/static/integrations/mysqld_exporter/mysqld-exporter.go
Outdated
Show resolved
Hide resolved
58f86b7
to
508bb22
Compare
e509089
to
912bf13
Compare
#2173 should be resolved by this when its ready |
912bf13
to
7d01ee8
Compare
cd13c30
to
34bdb8c
Compare
From grafana/mysqld_exporter branch `refactor_collector`, including changes in prometheus/mysqld_exporter#774.
34bdb8c
to
5b76ec2
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, the implementation follows the one from https://github.com/tjhop/slog-gokit/blob/main/handler.go that Mimir is using besides the necessary small changes that are needed to make it work with the Alloy internal logger
PR Description
Update to mysqld_exporter v0.16.0 and also include prometheus/mysqld_exporter#897.
Note that we continue to use the grafana/mysqld_exporter branch
refactor_collector
, including changes from our branch prometheus/mysqld_exporter#774.Which issue(s) this PR fixes
n.a.
Notes to the Reviewer
This introduces the use of github.com/tjhop/slog-gokit
PR Checklist