-
Notifications
You must be signed in to change notification settings - Fork 524
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
intake: Add rows_affected to span db information #3095
Conversation
Allow to include number of rows affected by a sql database statement in the db information of a span. closes elastic#2802
Codecov Report
@@ Coverage Diff @@
## master #3095 +/- ##
=======================================
Coverage 78.83% 78.83%
=======================================
Files 97 97
Lines 4985 4985
=======================================
Hits 3930 3930
Misses 1055 1055 |
@simitt Thank you for letting me know. Regarding your question:
I think this field should be searchable and aggregatable to allow users for example to find out how many DB rows transactions affect on average and which transactions affect more DB rows than 95th percentile, etc. |
Allow to include number of rows affected by a sql database statement in the db information of a span. closes elastic#2802
Allow to include number of rows affected by a sql database statement in the db information of a span. closes elastic#2802
As layed out in elastic/apm#112 we want to include the number of rows affected by a sql database statement manipulating db data in the available database information of a span.
As this is not currently used in any aggregation, and described as additional information to be shown to users, the field is not indexed. @SergeyKleyman please let me know if you had in mind that this field should be search or aggregatable.Update: the new field is indexed as Elasticsearch long, according to #3095 (comment).
closes #2802