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

Remote config options for 7.7 #778

Merged
merged 5 commits into from
Mar 30, 2020
Merged

Remote config options for 7.7 #778

merged 5 commits into from
Mar 30, 2020

Conversation

basepi
Copy link
Contributor

@basepi basepi commented Mar 26, 2020

This PR tests support for the remote config options being added in Kibana for 7.7. (All config options technically support remote config, but we need to test that propagation works properly.)

List:

  • capture_headers
  • capture_body
  • api_request_size
  • api_request_time
  • span_frames_min_duration
  • transaction_sample_rate
  • transaction_max_spans

I'll be opening a separate PR for enabled/recorded once I get to those, since they're not as urgent (and will require more work).

Related issues

Refs elastic/apm#213

@basepi basepi marked this pull request as ready for review March 27, 2020 22:04
@basepi basepi requested a review from beniwohli March 27, 2020 22:04
Copy link
Contributor

@beniwohli beniwohli left a comment

Choose a reason for hiding this comment

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

Great work! I'll test all of these manually with Kibana early this week. Feel free to merge before that, though!

self.span_frames_min_duration = None

@property
def span_frames_min_duration(self):
Copy link
Contributor

Choose a reason for hiding this comment

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

👍

@basepi basepi merged commit 4716af3 into elastic:master Mar 30, 2020
romulorosa pushed a commit to romulorosa/apm-agent-python that referenced this pull request Oct 15, 2020
* api_request_size default should be 768kb

* Add tests for capture_headers remote config

* Fix api_request_size/_time to be dynamic

* Fix span_frames_min_duration to be dynamic

* Test that transaction_sample_rate supports remote config
romulorosa pushed a commit to romulorosa/apm-agent-python that referenced this pull request Oct 15, 2020
* api_request_size default should be 768kb

* Add tests for capture_headers remote config

* Fix api_request_size/_time to be dynamic

* Fix span_frames_min_duration to be dynamic

* Test that transaction_sample_rate supports remote config
beniwohli pushed a commit to beniwohli/apm-agent-python that referenced this pull request Sep 14, 2021
* api_request_size default should be 768kb

* Add tests for capture_headers remote config

* Fix api_request_size/_time to be dynamic

* Fix span_frames_min_duration to be dynamic

* Test that transaction_sample_rate supports remote 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.

2 participants