Skip to content

Add empty chart component

Jose Ivan Vargas requested to merge jivanvl-add-chart-empty-state into master

What does this MR do?

Adds an empty state for all queries that don't have enough data, this overrides the current logic, which is hiding queries that have no metrics

Screenshots

Screen_Shot_2019-07-17_at_5.14.01_PM

Screen_Shot_2019-07-17_at_5.12.53_PM

Make sure to enable the following feature flags to try this feature locally

Feature.enable(:environment_metrics_use_prometheus_endpoint)
Feature.enable(:environment_metrics_show_multiple_dashboards) <-- optional
Feature.enable(:environment_metrics_additional_panel_types)

Does this MR meet the acceptance criteria?

Conformity

closes: https://gitlab.com/gitlab-org/gitlab-ce/issues/60947

Edited by 🤖 GitLab Bot 🤖

Merge request reports

Loading