-
Notifications
You must be signed in to change notification settings - Fork 39
PMM-7806: compatibility with upstream pg_exporter #1132
Conversation
models/agent_model.go
Outdated
|
||
u := &url.URL{ | ||
Scheme: "postgres", | ||
Scheme: "postgresql", |
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.
youll need to adjust tests, some of them expects postgres
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.
BTW, why it was changed? postgres
is valid scheme https://www.postgresql.org/docs/current/libpq-connect.html#LIBPQ-CONNSTRING
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.
it no longer valid DSN in pg exporter
Codecov Report
@@ Coverage Diff @@
## main #1132 +/- ##
==========================================
+ Coverage 48.67% 48.97% +0.29%
==========================================
Files 181 182 +1
Lines 21264 21327 +63
==========================================
+ Hits 10351 10444 +93
+ Misses 9775 9727 -48
- Partials 1138 1156 +18
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
PMM-7806
Feature Build:
Related PRs: