Skip to content
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

Extend the hasData service to check for specific apps data. #133120

Closed
Tracked by #166175
afgomez opened this issue May 30, 2022 · 3 comments
Closed
Tracked by #166175

Extend the hasData service to check for specific apps data. #133120

afgomez opened this issue May 30, 2022 · 3 comments
Labels
Feature:Data Views Data Views code and UI - index patterns before 8.0 Icebox impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. loe:needs-research This issue requires some research before it can be worked on or estimated Team:DataDiscovery Discover, search (e.g. data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL.

Comments

@afgomez
Copy link
Contributor

afgomez commented May 30, 2022

In the observability plugin we have an overview page that shows different metrics for the observability apps. The very first thing we check is if the app has data or not.

Since we have now a hasData service provided by kibana, it would be useful to perform the data checks for the applications in this service. That way the functionality is available for every body.

Proposed API

interface HasDataService {
  // ...
  hasAppData: (kibanaApp: string) => Promise<boolean>
}

where kibanaApp is the app identifier registered by the relevant plugin.

Example

const { dataViews } = useKibana().services;
const hasLogsData = await dataViews.hasData.hasAppData('logs'); // true | false
@botelastic botelastic bot added the needs-team Issues missing a team label label May 30, 2022
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app-services (Team:AppServicesSv)

@botelastic botelastic bot removed the needs-team Issues missing a team label label May 31, 2022
@tsullivan tsullivan added the impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. label May 31, 2022
@petrklapka petrklapka added Feature:Data Views Data Views code and UI - index patterns before 8.0 Team:DataDiscovery Discover, search (e.g. data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL. and removed Team:AppServicesSv labels Nov 28, 2022
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-data-discovery (Team:DataDiscovery)

@davismcphee davismcphee added the loe:needs-research This issue requires some research before it can be worked on or estimated label Sep 8, 2023
@kertal kertal added the Icebox label Sep 24, 2024
@kertal
Copy link
Member

kertal commented Sep 24, 2024

Closing this because it's not planned to be resolved in the foreseeable future. It will be tracked in our Icebox and will be re-opened if our priorities change. Feel free to re-open if you think it should be melted sooner.

@kertal kertal closed this as not planned Won't fix, can't repro, duplicate, stale Sep 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Data Views Data Views code and UI - index patterns before 8.0 Icebox impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. loe:needs-research This issue requires some research before it can be worked on or estimated Team:DataDiscovery Discover, search (e.g. data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL.
Projects
None yet
Development

No branches or pull requests

7 participants