Skip to content

Enable transaction aggregation by default#4882

Merged
axw merged 5 commits intoelastic:masterfrom
axw:txmetrics-enabled-default
Mar 3, 2021
Merged

Enable transaction aggregation by default#4882
axw merged 5 commits intoelastic:masterfrom
axw:txmetrics-enabled-default

Conversation

@axw
Copy link
Copy Markdown
Member

@axw axw commented Mar 2, 2021

Motivation/summary

Enable by default so the UI can set the metrics-based mode to auto or on by default.
We still don't drop unsampled transactions by default.

Checklist

  • Update CHANGELOG.asciidoc
    - [ ] Documentation has been updated there are currently no docs for this feature.

How to test these changes

  1. Run apm-server with default config
  2. Send some transactions
  3. Wait a minute or so
  4. Check for transaction metrics docs (should contain transaction.duration.histogram)

Related issues

Closes #4816

Enable by default so the UI can set the metrics-based mode
to auto or on by default. We still don't drop unsampled
transactions by default.
@axw axw force-pushed the txmetrics-enabled-default branch from 24808e5 to d6ec9a0 Compare March 2, 2021 03:41
@ghost
Copy link
Copy Markdown

ghost commented Mar 2, 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

Expand to view the summary

Build stats

  • Build Cause: Pull request #4882 updated

  • Start Time: 2021-03-03T14:41:30.241+0000

  • Duration: 47 min 34 sec

  • Commit: 06545ec

Test stats 🧪

Test Results
Failed 0
Passed 4738
Skipped 118
Total 4856

Trends 🧪

Image of Build Times

Image of Tests

@codecov-io
Copy link
Copy Markdown

codecov-io commented Mar 2, 2021

Codecov Report

Merging #4882 (06545ec) into master (bcba189) will increase coverage by 0.06%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master    #4882      +/-   ##
==========================================
+ Coverage   76.56%   76.62%   +0.06%     
==========================================
  Files         166      166              
  Lines       10134    10135       +1     
==========================================
+ Hits         7759     7766       +7     
+ Misses       2375     2369       -6     
Impacted Files Coverage Δ
beater/config/aggregation.go 100.00% <100.00%> (ø)
beater/config/config.go 78.68% <0.00%> (+9.83%) ⬆️

@axw
Copy link
Copy Markdown
Member Author

axw commented Mar 2, 2021

System test failure is unrelated, will be fixed by #4883

@axw axw marked this pull request as ready for review March 2, 2021 04:43
@axw axw requested a review from a team March 2, 2021 04:43
@axw
Copy link
Copy Markdown
Member Author

axw commented Mar 2, 2021

jenkins run the tests please

@axw axw merged commit 41c47d1 into elastic:master Mar 3, 2021
@axw axw deleted the txmetrics-enabled-default branch March 4, 2021 00:22
axw added a commit to axw/apm-server that referenced this pull request Mar 25, 2021
Enable by default so the UI can set the metrics-based mode
to auto or on by default. We still don't drop unsampled
transactions by default.
# Conflicts:
#	changelogs/head.asciidoc
axw added a commit that referenced this pull request Mar 25, 2021
Enable by default so the UI can set the metrics-based mode
to auto or on by default. We still don't drop unsampled
transactions by default.
# Conflicts:
#	changelogs/head.asciidoc

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
mergify Bot pushed a commit that referenced this pull request Apr 27, 2021
Enable by default so the UI can set the metrics-based mode
to auto or on by default. We still don't drop unsampled
transactions by default.

(cherry picked from commit 41c47d1)

# Conflicts:
#	changelogs/head.asciidoc
@jalvz
Copy link
Copy Markdown
Contributor

jalvz commented May 3, 2021

Works as expected with latest BC and integration testing, eg:

          "transaction" : {
            "duration" : {
              "histogram" : {
                "counts" : [
                  1
                ],
                "values" : [
                  447
                ]
              }
            },

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Enable transaction metrics aggregation by default

3 participants