-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[CI] Enables APM collection #81731
[CI] Enables APM collection #81731
Conversation
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
Early checks appear to increase CI functional test times by 10% This doesn't seem enough to justify preventing us from proceeding, but it's worth investigating to understand if there is anything causing large increases in some tests that could be improved.
|
@IgorGuz2000 any luck with these failures? |
1288936
to
d0e59d3
Compare
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
d0e59d3
to
3288738
Compare
x-pack/test/security_solution_endpoint/apps/endpoint/resolver.ts
Outdated
Show resolved
Hide resolved
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
@tylersmalley you can adjust API config to reduce performance overhead. see #78792 (comment) # optional metrics to adjust performance
# see https://www.elastic.co/guide/en/apm/agent/nodejs/master/configuration.html
elastic.apm.centralConfig: false
elastic.apm.breakdownMetrics: false
elastic.apm.transactionSampleRate: 0.1
elastic.apm.metricsInterval: '120s' |
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
@restrry, thanks. Since the functional tests run on the distribution, we were just missing the metricsInterval here: https://github.com/elastic/kibana/blob/master/packages/kbn-apm-config-loader/src/config.ts#L30-L49 For the sampleRate - I was taking 100% for the tracked branches (master/7.x/7.10), and 1% on PR's. Do you think we should reduce that rate even on the tracked branches? |
Pinging @elastic/kibana-operations (Team:Operations) |
@elasticmachine merge upstream |
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.
Looks good
I'd expect it's all or nothing for PRs. |
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.
LGTM
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
@restrry, I have disabled entirely for PR's and set the sample rate to 10% for when it does run on the tracked branches per your suggestion. If we find this is insufficient we can increase it. |
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
This reverts commit 3288738.
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
* master: (28 commits) [Actions] fixes bug where severity is auto selected but not applied to the action in PagerDuty (elastic#84891) Only attempt to rollover signals index if version < builtin version (elastic#84982) skip flaky suite (elastic#84978) skip lens rollup tests Add geo containment tracking alert type (elastic#84151) Changed rollup tests to use test user rather than elastic super user. (elastic#79567) skip 'should allow creation of lens xy chart' elastic#84957 [APM] Add log_level/sanitize_field_names config options to Python Agent (elastic#84810) [Maps] geo line source (elastic#76572) [data.search] Move search method inside session service and add tests (elastic#84715) skip lens drag and drop test. elastic#84941 [Ingest Node Pipelines] Integrate painless autocomplete (elastic#84554) [Lens] allow drag and drop reorder on xyChart for y dimension (elastic#84640) [Lens] Fix error when selecting the current field again (elastic#84817) [Metrics UI] Add metadata tab to node details flyout (elastic#84454) [CI] Enables APM collection (elastic#81731) [Workplace Search] Migrate Sources Schema tree (elastic#84847) Disable checking for conflicts when copying saved objects (elastic#83575) [SECURITY_SOLUTION] delete advanced Policy fields when they are empty (elastic#84368) y18n 4.0.0 -> 4.0.1 (elastic#84905) ...
💚 Build SucceededMetrics [docs]
History
To update your PR or re-run it, just comment with: |
Enables APM collection for functional tests on tracked branches, with a 1% sample rate on pull requests.
Stats are accessible at: https://ela.st/kibana-ops-ci-stats