[TSVB] Fix TSVB is not reporting all categories of Elasticsearch error#102926
[TSVB] Fix TSVB is not reporting all categories of Elasticsearch error#102926alexwizp merged 5 commits intoelastic:masterfrom
Conversation
| }); | ||
|
|
||
| // Show the error panel | ||
| const error = isVisSeriesData(visData) && visData[model.id]?.error; |
There was a problem hiding this comment.
dead code, it will never be called
| this.setState({ autoApply: event.target.checked }); | ||
| }; | ||
|
|
||
| onDataChange = ({ visData }: { visData: TimeseriesVisData }) => { |
There was a problem hiding this comment.
in case of error it's null with an error in console
|
Pinging @elastic/kibana-app (Team:KibanaApp) |
|
@elasticmachine merge upstream |
VladLasitsa
left a comment
There was a problem hiding this comment.
Can we move validateInterval from src\plugins\vis_type_timeseries\public\request_handler.ts to the server side? Because as I see it works incorrectly now, we check only panel interval but ignore series interval which can provide user.
VladLasitsa
left a comment
There was a problem hiding this comment.
LGTM, tested locally, thank you!
|
@elasticmachine merge upstream |
|
@elasticmachine merge upstream |
💚 Build SucceededMetrics [docs]Module Count
Async chunks
Page load bundle
History
To update your PR or re-run it, just comment with: cc @alexwizp |
stratoula
left a comment
There was a problem hiding this comment.
Code LGTM, I tested some scenarios and I think that it works fine. Many errors that were not displayed (TSVB appeared with No results) are reported now. I think that this is very important for our users' experience!
@wylieconlon I would appreciate it if you could also take a look!
elastic#102926) * [TSVB] Fix TSVB is not reporting all categories of Elasticsearch error Closes: elastic#94182 * move validation to server side Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
#102926) (#103840) * [TSVB] Fix TSVB is not reporting all categories of Elasticsearch error Closes: #94182 * move validation to server side Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
…-png-pdf-report-type * 'master' of github.com:elastic/kibana: (178 commits) [test] Migrating to kbn_archiver from es_archiver - for the Maps app (elastic#103028) [Reporting] Reintroduce "ILM policy for managing reporting indices" (elastic#103850) [Security Solution][Endpoint] Allow activity log scrolling on small screens (elastic#103852) Allow zero (0) to unset unenroll_timeout field (elastic#103790) [TSVB] Metric count is depicted as `-` instead of 0 (elastic#103717) [Query] Es query/field base (elastic#103177) Remove add data button from nav (elastic#103810) Fix telemetry advanced setting style (elastic#103838) [Transform] Fix default naming and sorting fields suggestion for `top_metrics` agg (elastic#103690) [APM] use conventional error rate color for correlations (elastic#103500) Endpoint Telemetry: Agents Metrics + Policy Config / Response (elastic#102171) [Alerting] Fixed search results are not updated when search term is removed on Rules and Connectors page (elastic#103663) fix too many rernders (elastic#103672) [APM] Add “Analyze Data” button (elastic#103485) [Lens] Fix value popover spacing (elastic#103081) [TSVB] Fix TSVB is not reporting all categories of Elasticsearch error (elastic#102926) [SECURITY] Adds security links to doc link service (elastic#102676) Update dependency @elastic/charts to v31 (elastic#102078) [Security Solution][CTI] Investigation time enrichment UI (elastic#103383) Adds ECS guide to doc links service (elastic#102246) ... # Conflicts: # x-pack/plugins/reporting/public/share_context_menu/register_pdf_png_reporting.tsx
Closes: #94182, Closes: #74541
Summary
TSVB is not reporting all categories of Elasticsearch error
Steps to reproduce:
Go to the Kibana advanced settings and increase the
metrics:max_bucketslimit from2000to100000, which is higher than Elasticsearch allowsGo back to TSVB and choose "Last 30 days" with an interval of 30 seconds.
After issuing the query, TSVB will show a "No results" screen, but no error message. The error is completely silent.
Screen: