-
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
[Infra][ECO] Create an API to detect if there is metrics data #193701
Labels
enhancement
New value added to drive a business result
Team:obs-ux-infra_services
Observability Infrastructure & Services User Experience Team
Comments
crespocarlos
added
needs-refinement
A reason and acceptance criteria need to be defined for this issue
Team:obs-ux-infra_services
Observability Infrastructure & Services User Experience Team
labels
Sep 23, 2024
Pinging @elastic/obs-ux-infra_services-team (Team:obs-ux-infra_services) |
crespocarlos
changed the title
[Infra][ECO] Create API to detect if there is metrics data
[Infra][ECO] Create an API to detect if there is metrics data
Sep 23, 2024
crespocarlos
removed
the
needs-refinement
A reason and acceptance criteria need to be defined for this issue
label
Oct 3, 2024
kibanamachine
pushed a commit
to kibanamachine/kibana
that referenced
this issue
Oct 4, 2024
closes elastic#193701 This PR does a few things: - Adds a new API endpoint on infra to fetch an entity summary: `/api/infra/entities/{entityType}/{entityId}/summary`. It fetches the latest EEM index filtering by entity.type(host | container) and depending on the entity type host.name or container.id. And it returns the following payload: ``` { "sourceDataStreams": [ "logs", "metrics" ], "entityId": "caues-mbp", "entityType": "host" } ``` - Fix a problem on the `Service` entity definition removing the `datastream.type` and moving it to `source_data_stream.type` due to ECS conflicts. - Moves some common field definitions to **observability-shared** plugin, and updated APM and Inventory plugin. --------- Co-authored-by: kibanamachine <[email protected]> (cherry picked from commit a91d007)
tiansivive
pushed a commit
to tiansivive/kibana
that referenced
this issue
Oct 7, 2024
closes elastic#193701 This PR does a few things: - Adds a new API endpoint on infra to fetch an entity summary: `/api/infra/entities/{entityType}/{entityId}/summary`. It fetches the latest EEM index filtering by entity.type(host | container) and depending on the entity type host.name or container.id. And it returns the following payload: ``` { "sourceDataStreams": [ "logs", "metrics" ], "entityId": "caues-mbp", "entityType": "host" } ``` - Fix a problem on the `Service` entity definition removing the `datastream.type` and moving it to `source_data_stream.type` due to ECS conflicts. - Moves some common field definitions to **observability-shared** plugin, and updated APM and Inventory plugin. --------- Co-authored-by: kibanamachine <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
enhancement
New value added to drive a business result
Team:obs-ux-infra_services
Observability Infrastructure & Services User Experience Team
Summary
Important
WIP
TODO: Determine if we need to query EEM for this- It's not mandatory to meet what the epic asks because we won't implement an adaptive view for logs-only entities on the Asset Details UI at this momentCreate an API that will return whether there is metrics data for entities supported by the Asset details (hosts and containers)
Endpoint
Response
AC
The query should check if there is data in the[@cauemarcondes] I decided to query the latest index since will use it very soon to start showing log rate when an entity type host/container has logs only data.metrics-*
indices for the entity example heresourceDataStreams: ['metrics']
if data is foundsourceDataStreams: []
if there is no dataThe text was updated successfully, but these errors were encountered: