-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[Dataset Quality] APM is not being marked as an integration #197445
Comments
Pinging @elastic/obs-ux-logs-team (Team:obs-ux-logs) |
Picking up from the discussions which happened on Slack, @felixbarny @flash1293 Is the below understanding correct - Definition of Integration for Dataset Quality purposes -Instead of - checking metadata available on the data stream API We will - Call the index template API extracting the index template name from the data stream and see if its present or not. If its present, we will check if any of the composes_of component templates with This will solve the problem with APM Integration. I just hope we are not missing anything here as we will do change for all integration check in Dataset Quality and will not this specific for APM |
Latest update post team discussion Identifying if a Dataset belongs to an Integration or not
If the above evaluates to true, we will consider the DS part of an integration or equivalent to it as this can be used for fix it flow. |
Update due to Editor User having limited access on Serverless
Since the enhanced check won’t work for Editor users in Serverless, due to the 1st check, Editors in serverless will see all integrations normally as integrations. Only APM integration will appear to them as Non Integration. Regarding the Fix IT Flow, Editor users cannot click on the button as they have limited permissions. This means for all integrations, they will see the button, its just it will error out (that’s handled gracefully in current main). For APM integration, they won’t see the button, as it will not load as an Integration for them |
This solution will only fix APM integration issue on the Dataset Quality Details page. The Dataset Quality main page which still loads the table and merges data, displays the That would require a different fix, i believe the solution can be reused from this fix cc: @yngrdyn |
yes, this is what I was thinking when talking about Also, could you create an issue so we don't forget about that one? |
@yngrdyn I have already created and linked the issue for the main page. The statement - "APM is a Special Integration" is wrong. It's simply not an integration unless explicitly installed via Fleet. APM is a special package which has Component Templates and Index Templates, which are required for fix it flow, hence only in details page the logic automatically check for those things and display the Fix It Flow accordingly. Key Points
The default APM package does not passes any of the above unless explicitly installed via the UI Can we reuse the logic on Details Page ?Yes the logic can be easily reused. In the state machine, we need another parallel state which does the API call and then you merge the data like its already done. You need to remove the existing Integration merge logic as its obsolete |
Before #190330 this issue was pure visual problem, but now we have mitigation flows based on whether the data stream belongs to an integration or not.
The principal problem now is that we are able to offer an automagic solution, in the fix it flows, for dataset belonging to integrations while we offer "manual" support for the rest (see example bellow)
Screen.Recording.2024-10-23.at.13.00.50.mov
The problem is generated by the introduction of x-pack-apm plugin which basically installs index templates, component templates, and ingest pipelines for Elastic APM instead of relying in fleet packages.
We rely on dataStream metadata to infer the integration, e.g.
but with the introduction of the aforementioned plugin this metadata is not present for APM dataStreams.
Being APM part of elastic we should offer the best possible experience for users.
The text was updated successfully, but these errors were encountered: