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

Change elastic-agent pprof default to false #29155

Merged
merged 1 commit into from
Nov 30, 2021

Conversation

michel-laterman
Copy link
Contributor

@michel-laterman michel-laterman commented Nov 25, 2021

What does this PR do?

Change agent.monitoring.pprof to false, allow it to toggle beat
behaviour as well as the agent's.

Checklist

  • My code follows the style guidelines of this project
  • [] I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation PR here
  • I have made corresponding change to the default configuration files
  • [] I have added tests that prove my fix is effective or that my feature works
  • I have added an entry in CHANGELOG.next.asciidoc or CHANGELOG-developer.next.asciidoc.

Related issues

Change agent.monitoring.pprof to false, allow it to toggle beat
behaviour as well as the agent's.
@michel-laterman michel-laterman added configuration backport-v8.0.0 Automated backport with mergify backport-v7.16.0 Automated backport with mergify Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team labels Nov 25, 2021
@elasticmachine
Copy link
Collaborator

Pinging @elastic/elastic-agent-control-plane (Team:Elastic-Agent-Control-Plane)

@botelastic botelastic bot added needs_team Indicates that the issue/PR needs a Team:* label and removed needs_team Indicates that the issue/PR needs a Team:* label labels Nov 25, 2021
@elasticmachine
Copy link
Collaborator

elasticmachine commented Nov 25, 2021

💚 Build Succeeded

the below badges are clickable and redirect to their specific view in the CI or DOCS
Pipeline View Test View Changes Artifacts preview preview

Expand to view the summary

Build stats

  • Start Time: 2021-11-30T17:26:07.710+0000

  • Duration: 91 min 19 sec

  • Commit: 9914c6b

Test stats 🧪

Test Results
Failed 0
Passed 7128
Skipped 16
Total 7144

💚 Flaky test report

Tests succeeded.

🤖 GitHub comments

To re-run your PR in the CI, just comment with:

  • /test : Re-trigger the build.

  • /package : Generate the packages and run the E2E tests.

  • /beats-tester : Run the installation tests with beats-tester.

  • run elasticsearch-ci/docs : Re-trigger the docs validation. (use unformatted text in the comment!)

)
if b.config.Pprof {
Copy link
Member

Choose a reason for hiding this comment

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

I know this is the way it works today but it is really ugly that we pass these things via cmd line params ...

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah, we should change this in the future

@michel-laterman
Copy link
Contributor Author

/package

@michel-laterman
Copy link
Contributor Author

/test

@michel-laterman michel-laterman merged commit 37b240a into elastic:master Nov 30, 2021
@michel-laterman michel-laterman deleted the agent-pprof-default branch November 30, 2021 20:01
mergify bot pushed a commit that referenced this pull request Nov 30, 2021
Change agent.monitoring.pprof to false, allow it to toggle beat
behaviour as well as the agent's.

(cherry picked from commit 37b240a)
mergify bot pushed a commit that referenced this pull request Nov 30, 2021
Change agent.monitoring.pprof to false, allow it to toggle beat
behaviour as well as the agent's.

(cherry picked from commit 37b240a)
michel-laterman added a commit that referenced this pull request Nov 30, 2021
Change agent.monitoring.pprof to false, allow it to toggle beat
behaviour as well as the agent's.

(cherry picked from commit 37b240a)

Co-authored-by: Michel Laterman <82832767+michel-laterman@users.noreply.github.com>
michel-laterman added a commit that referenced this pull request Nov 30, 2021
Change agent.monitoring.pprof to false, allow it to toggle beat
behaviour as well as the agent's.

(cherry picked from commit 37b240a)

Co-authored-by: Michel Laterman <82832767+michel-laterman@users.noreply.github.com>
elasticmachine pushed a commit to nxei/beats that referenced this pull request Dec 1, 2021
* upstream/master:
  [libbeat] Fix add_labels flattening of arrays values (elastic#29211)
  Change elastic-agent pprof default to false (elastic#29155)
  elastic#28472 fix flaky tests in libbeat fmtstr to use time.UTC instead of time.Local (elastic#28473)
  Adopt `parsers` in Filebeat's journald input (elastic#29070)
  [Elastic Agent] Add process error handling guidelines (elastic#29152)
  winlogbeat/sys/winevent: use reflect IsZero method (elastic#29190)
  Remove Journalbeat (elastic#29131)
  Add note that there is no warranty or support for generator code (elastic#28797)
  packetbeat: preparation for npcap addition (elastic#29017)
  Use the generic helper for opening file to read in filestream (elastic#29180)
  Workflow for macos (elastic#29174)
  Fix `decode_json_fields` processor to always add error key (elastic#29107)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-v7.16.0 Automated backport with mergify backport-v8.0.0 Automated backport with mergify configuration Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

elastic-agent pprof enablement defaults
3 participants