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

PMM-12894 Add max conneсtions config support for PG exporter #2837

Merged

Conversation

artemgavrilov
Copy link
Contributor

@artemgavrilov artemgavrilov commented Feb 21, 2024

PMM-12894

Link to the Feature Build: SUBMODULES-3559

If this PR adds or removes or alters one or more API endpoints, please review and add or update the relevant API documents as well:

  • API Docs updated

If this PR is related to some other PRs in this or other repositories, please provide links to those PRs:

Copy link

codecov bot commented Feb 21, 2024

Codecov Report

Attention: Patch coverage is 65.00000% with 7 lines in your changes are missing coverage. Please review.

Project coverage is 42.26%. Comparing base (e91489f) to head (c8ae463).
Report is 6 commits behind head on main.

Files Patch % Lines
admin/commands/management/add_postgresql.go 0.00% 7 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2837      +/-   ##
==========================================
+ Coverage   42.22%   42.26%   +0.03%     
==========================================
  Files         396      396              
  Lines       50120    50120              
==========================================
+ Hits        21164    21184      +20     
+ Misses      26953    26933      -20     
  Partials     2003     2003              
Flag Coverage Δ
admin 11.56% <0.00%> (-0.01%) ⬇️
agent 53.33% <ø> (+0.13%) ⬆️
managed 42.80% <100.00%> (+0.01%) ⬆️
vmproxy 68.57% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@artemgavrilov artemgavrilov changed the title PMM-12894 Add max conn support for PG services PMM-12894 Add max conn support for PG exporter Feb 22, 2024
@artemgavrilov artemgavrilov changed the title PMM-12894 Add max conn support for PG exporter PMM-12894 Add max connestions config support for PG exporter Feb 22, 2024
@artemgavrilov artemgavrilov marked this pull request as ready for review February 22, 2024 16:23
@artemgavrilov artemgavrilov requested review from BupycHuk and a team as code owners February 22, 2024 16:23
@artemgavrilov artemgavrilov requested review from idoqo, JiriCtvrtka and ademidoff and removed request for a team February 22, 2024 16:23
admin/commands/management/add_postgresql.go Outdated Show resolved Hide resolved
managed/services/agents/postgresql_test.go Outdated Show resolved Hide resolved
@BupycHuk BupycHuk changed the title PMM-12894 Add max connestions config support for PG exporter PMM-12894 Add max conneсtions config support for PG exporter Feb 27, 2024
@@ -34,6 +35,7 @@ var (
postgresExporterAutodiscoveryVersion = version.MustParse("2.15.99")
postgresExporterWebConfigVersion = version.MustParse("2.30.99")
postgresSSLSniVersion = version.MustParse("2.40.99")
postgresMaxExporterConnsVersion = version.MustParse("2.41.99")
Copy link
Member

Choose a reason for hiding this comment

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

it will be in 2.41.2 or 2.41.3, so I think better to use version 2.41.2-0

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

TODO: double check before merge

managed/services/agents/postgresql.go Show resolved Hide resolved
@artemgavrilov artemgavrilov merged commit 9f23aec into main Mar 7, 2024
33 checks passed
@artemgavrilov artemgavrilov deleted the PMM-12894-rolling-collection-strategy-for-PG-exporter branch March 7, 2024 10:12
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.

4 participants