-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
[APM] Aggregated transaction telemetry #71594
Conversation
Pinging @elastic/apm-ui (Team:apm) |
13ad824
to
ef84a6f
Compare
return { | ||
aggregated_transactions: { | ||
current_implementation: { | ||
transaction_count: allCount, | ||
expected_metric_document_count: | ||
allResult.aggregations?.current_implementation.buckets.length, | ||
}, | ||
no_observer_name: { | ||
transaction_count: allCount, | ||
expected_metric_document_count: | ||
allResult.aggregations?.no_observer_name.buckets.length, | ||
}, | ||
no_rum: { | ||
transaction_count: noRumCount, | ||
expected_metric_document_count: | ||
noRumResult.aggregations?.no_rum.buckets.length, | ||
}, | ||
no_rum_no_observer_name: { | ||
transaction_count: noRumCount, | ||
expected_metric_document_count: | ||
noRumResult.aggregations?.no_rum_no_observer_name.buckets.length, | ||
}, | ||
only_rum: { | ||
transaction_count: rumCount, | ||
expected_metric_document_count: | ||
rumResult.aggregations?.only_rum.buckets.length, | ||
}, | ||
only_rum_no_observer_name: { | ||
transaction_count: rumCount, | ||
expected_metric_document_count: | ||
rumResult.aggregations?.only_rum_no_observer_name.buckets.length, | ||
}, | ||
}, | ||
}; | ||
}, | ||
}, |
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.
FWICT the results of the buckets are not being paginated through, so they will always return <= 10k. It might be a (lot) more than that (I've seen 60k+). The script I mentioned also paginates through the buckets (by using after_key
).
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.
I don't see any other issues but I'm on my phone so no guarantees 😬 approving with the assumption the pagination is added. & Thank you again @smith !
Add a task to gather transasctions telemetry as described in elastic#71593. Also: * Fix typo in mapping for country code mapping * Add back `mergeTelemetryMapping` function to fix broken `upload-telemetry-data` script.
056e090
to
4b0523b
Compare
@elastic/telemetry this PR contains updates to our mapping. See the snapshot diff for details: https://github.com/elastic/kibana/pull/71594/files#diff-229bb3e007b2caea8d59390783ccb586 |
💚 Build SucceededBuild metricsasync chunks size
History
To update your PR or re-run it, just comment with: |
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
Add a task to gather transasctions telemetry as described in elastic#71593. Also: * Fix typo in mapping for country code mapping * Add back `mergeTelemetryMapping` function to fix broken `upload-telemetry-data` script.
Add a task to gather transasctions telemetry as described in elastic#71593. Also: * Fix typo in mapping for country code mapping * Add back `mergeTelemetryMapping` function to fix broken `upload-telemetry-data` script.
Add a task to gather transasctions telemetry as described in #71593. Also: * Fix typo in mapping for country code mapping * Add back `mergeTelemetryMapping` function to fix broken `upload-telemetry-data` script. Co-authored-by: Elastic Machine <[email protected]>
Add a task to gather transasctions telemetry as described in #71593. Also: * Fix typo in mapping for country code mapping * Add back `mergeTelemetryMapping` function to fix broken `upload-telemetry-data` script. Co-authored-by: Elastic Machine <[email protected]>
Add a task to gather transasctions telemetry as described in #71593.
Also:
mergeTelemetryMapping
function to fix brokenupload-telemetry-data
script.Fixes #71593