Description of the issue
Some SQL commands return the number of rows affected by the command. For example
.NET's SqlCommand.ExecuteNonQuery.
It might be useful for users to get this number as part of the data captured for the relevant SQL commands. For example requested at https://discuss.elastic.co/t/include-record-count-on-read-or-write/189110
Proposed solution
We should add a property (for example number_of_rows_affected) of type number to context.db object in intake API for agents to send captured number.
If you have concerns about the proposed solution, let's discuss.
What we are voting on
@elastic/apm-agent-devs
- If you agree that we should add this feature, please tick "Yes", and link to the child issue for your agent
- If you think that we shouldn't add this feature, please tick "No". A comment with the explanation as to why you think so would be greatly appreciated.
- If you don't care whether we add this feature or not, please tick "Indifferent"
- If this feature is not applicable to your agent (for example your agent doesn't capture SQL commands that have "number of rows affected" as their result), please tick "N/A"
Description of the issue
Some SQL commands return the number of rows affected by the command. For example
.NET's SqlCommand.ExecuteNonQuery.
It might be useful for users to get this number as part of the data captured for the relevant SQL commands. For example requested at https://discuss.elastic.co/t/include-record-count-on-read-or-write/189110
Proposed solution
We should add a property (for example
number_of_rows_affected) of typenumbertocontext.dbobject in intake API for agents to send captured number.If you have concerns about the proposed solution, let's discuss.
What we are voting on
@elastic/apm-agent-devs