[Reporting] Additional CSV job output metrics#124600
Conversation
7b26c84 to
5a94276
Compare
5a94276 to
aa9332c
Compare
|
Pinging @elastic/kibana-reporting-services (Team:Reporting Services) |
|
Pinging @elastic/kibana-app-services (Team:AppServicesUx) |
| id?: string; // "immediate download" exports have no ID | ||
| jobType: string; | ||
| byteSize?: number; | ||
| csvRows?: number; |
There was a problem hiding this comment.
I really wonder if this should be:
csv?: { rows: number; };
We could have more CSV-specific metrics: number of columns in the CSV is one. But if there are other settings that affect performance, we should think of adding them as well.
💚 Build SucceededMetrics [docs]Async chunks
Page load bundle
History
To update your PR or re-run it, just comment with: |
| docOutput.content_type = output.content_type || unknownMime; | ||
| docOutput.max_size_reached = output.max_size_reached; | ||
| docOutput.csv_contains_formulas = output.csv_contains_formulas; | ||
| docOutput.csv_rows = output.csv_rows; |
There was a problem hiding this comment.
I think it is missing in x-pack/plugins/reporting/server/lib/store/mapping.ts.
There was a problem hiding this comment.
We have discussed moving the location csv_rows in the interface. Since we are not aggregating on the value yet, not having it in the mapping makes sense for now. :)
|
Friendly reminder: Looks like this PR hasn’t been backported yet. |
Summary
Depends on #124762Addresses the CSV part of #121468
This PR adds job metrics which are used for:
Checklist
Delete any items that are not applicable to this PR.
TODO
Screenshots