-
Notifications
You must be signed in to change notification settings - Fork 141
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
Api for timeline charts. #1090
Comments
cc @Fryguy |
So, as discussed, we should drop the Timelines tab from the server diagnostics as those are redundant with just navigating to the server's VM and looking at the timelines there. This is in ManageIQ/manageiq-ui-classic#7940 For the upper portion, the dropdown data comes from I think the tricky part is that while we have the |
Discussed a bit with @jrafanie... For the dropdowns, something like this would be expected OPTIONS /api/event_streams {
"EmsEvent": {
"description": "Management Events",
"group_names": {
vm_operation: "Vm Operations",
...
},
"group_levels": {
critical: "Critical",
...
}
},
"MiqEvent": {
"description": "Policy Events",
"group_names": {}
"group_levels": {
success: "Success",
failure: "Failure"
}
... The MiqEvent group names are We should create a consistent interface at the model level of each of these (and perhaps all of the other subclasses of EmsEvent as a follow up) that can return this group and level information. Then the API can roughly do For the querying we already have the event_streams endpoint, and it can filter on group_level, group_name, timestamp, etc. For example:
We may want to have event stream as a subcollection on host and vms if they are not there already. One other small feature is that the calendar shown defaults its value to the "last event" timestamp that was collected (via the method |
For issue: ManageIQ/manageiq-api#1090 Note, currently there are several methods in EventStream whose implementation is for EmsEvent and should move there. We'll look at that when we need to expose/test filtering on MiqEvent levels (success/failure) for the API.
For issue: ManageIQ/manageiq-api#1090 Note, currently there are several methods in EventStream whose implementation is for EmsEvent and should move there. We'll look at that when we need to expose/test filtering on MiqEvent levels (success/failure) for the API.
For issue: ManageIQ/manageiq-api#1090 Note, currently there are several methods in EventStream whose implementation is for EmsEvent and should move there. We'll look at that when we need to expose/test filtering on MiqEvent levels (success/failure) for the API.
For issue: ManageIQ/manageiq-api#1090 Note, currently there are several methods in EventStream whose implementation is for EmsEvent and should move there. We'll look at that when we need to expose/test filtering on MiqEvent levels (success/failure) for the API.
Part of ManageIQ#1090 This allows for data to have other logical groupings in the future.
Part of ManageIQ#1090 This allows for data to have other logical groupings in the future.
(ignore the limit/offset, that's what I needed to get the correct records to come back in my test) RESPONSE:
|
The timeline_events key in the response body 'data' field contains information on the type of events, their descriptions, group levels, group names, etc. Currently, we only support EmsEvent and MiqEvent from event_streams. Part of ManageIQ#1090
The timeline_events key in the response body 'data' field contains information on the type of events, their descriptions, group levels, group names, etc. Currently, we only support EmsEvent and MiqEvent from event_streams. Part of ManageIQ#1090
The timeline_events key in the response body 'data' field contains information on the type of events, their descriptions, group levels, group names, etc. Currently, we only support EmsEvent and MiqEvent from event_streams. Part of ManageIQ#1090
The timeline_events key in the response body 'data' field contains information on the type of events, their descriptions, group levels, group names, etc. Currently, we only support EmsEvent and MiqEvent from event_streams. Part of ManageIQ#1090
This issue has been automatically marked as stale because it has not been updated for at least 3 months. If you can still reproduce this issue on the current release or on Thank you for all your contributions! More information about the ManageIQ triage process can be found in the triage process documentation. |
This issue has been automatically closed because it has not been updated for at least 3 months. Feel free to reopen this issue if this issue is still valid. Thank you for all your contributions! More information about the ManageIQ triage process can be found in the triage process documentation. |
For issue: ManageIQ/manageiq-api#1090 Note, currently there are several methods in EventStream whose implementation is for EmsEvent and should move there. We'll look at that when we need to expose/test filtering on MiqEvent levels (success/failure) for the API.
We have to convert existing pf charts to carbon. carbon doesn't have form elements like pf chart. But, we can create those using carbon react components and based on form results when apply clicked, we can display chart.
EDIT:
Adding task items:
The text was updated successfully, but these errors were encountered: