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-13553 Revert the upgrade of kong #3319

Open
wants to merge 4 commits into
base: v3
Choose a base branch
from

Conversation

ademidoff
Copy link
Member

PMM-13533

Link to the Feature Build: SUBMODULES-3771

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:

  • Links to related pull requests (optional).

@ademidoff ademidoff changed the base branch from main to v3 November 18, 2024 14:12
Copy link

codecov bot commented Nov 18, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 43.53%. Comparing base (7d61381) to head (94b1e1b).

Additional details and impacted files
@@            Coverage Diff             @@
##               v3    #3319      +/-   ##
==========================================
+ Coverage   43.51%   43.53%   +0.02%     
==========================================
  Files         366      366              
  Lines       44169    44169              
==========================================
+ Hits        19219    19231      +12     
+ Misses      23265    23252      -13     
- Partials     1685     1686       +1     
Flag Coverage Δ
admin 11.51% <ø> (ø)
agent 51.96% <ø> (+0.12%) ⬆️
managed 45.24% <ø> (-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.


🚨 Try these New Features:

@ademidoff ademidoff marked this pull request as ready for review November 18, 2024 16:52
@ademidoff ademidoff requested review from a team as code owners November 18, 2024 16:52
@ademidoff ademidoff requested review from BupycHuk, idoqo and JiriCtvrtka and removed request for a team November 18, 2024 16:52
Comment on lines +160 to +165
- name: Disable grafana
ini_file:
path: /etc/supervisord.d/grafana.ini
section: program:grafana
option: autostart
value: "false"
Copy link
Member

Choose a reason for hiding this comment

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

let's enable it after initialization

Copy link
Member Author

@ademidoff ademidoff Nov 18, 2024

Choose a reason for hiding this comment

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

That seems to be redundant, since pmm-managed generates grafana.ini anyway. Therefore, it will get enabled before we know it. :)

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 slowdown first initialization and we will loose time that we win by running initialization during build time

Copy link
Member Author

@ademidoff ademidoff Nov 18, 2024

Choose a reason for hiding this comment

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

Btw, the block above is not even necessary given the current initial grafana.ini config.

Copy link
Member Author

Choose a reason for hiding this comment

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

Moreover, setting autostart:true does not do anything on its own - the service will not restart without supervisord, which either needs to restart or to reread the config.

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.

3 participants