chef / automate

Chef Automate provides a full suite of enterprise capabilities for maintaining continuous visibility into application, infrastructure, and security automation.
https://automate.chef.io/
Apache License 2.0
227 stars 113 forks source link

Desktop Offering View in Automate #2873

Open nataliesea opened 4 years ago

nataliesea commented 4 years ago

What problem are we solving? To support the Desktop offering launch Automate will be creating a visual Dashboard specific to users of Desktop. This view is meant to provide the logged in user to be able to fulfill the following use cases:

Evidence As part of launching our Desktop Offering we want to provide a visual display for these user types that will help them manage their fleet by viewing status and being able to troubleshoot.

Dependencies

Acceptance Criteria

Assumptions/Constraints

Out of Scope

Open Questions

susanev commented 4 years ago

How do we guarantee this user only sees the Desktop Offering Dashboard view?

we can create a new access management role for this

kmacgugan commented 4 years ago

This is already true excepting the ohai data, which we only store the latest data for. Will we be needing historical ohai data or just the current ohai data? Ohai data can be very large and managing historical data introduces new technical challenges. We store the rest of the chef-client run reports going back to configurable data retention settings.

nataliesea commented 4 years ago
  • Need to store more than 24 hours worth of data

This is already true excepting the ohai data, which we only store the latest data for. Will we be needing historical ohai data or just the current ohai data? Ohai data can be very large and managing historical data introduces new technical challenges. We store the rest of the chef-client run reports going back to configurable data retention settings.

yes, we will need historical Ohai data for certain values. Does that help? We don't need ALL of the data, but some.

kmacgugan commented 4 years ago

Yes, it helps clarify, do we know what those keys/values are? One of the challenges we've had with ohai data is that it is largely dynamic (including the keys! sometimes it uses values as keys!) so it poses a challenge to mapping in ES.

nataliesea commented 4 years ago

We are doing discovery, so we will definitely know before we start implementation! Data mapping should be done during our UX work.

danielsdeleo commented 4 years ago

Product Decision: Top Errors API/UI

The UI mockup shows a "Top Errors" panel. We had a discussion of how this should work over time, in the context of several use-case scenarios and what is the most feasible to implement today.

We agreed that for an initial implementation, we will aggregate the top errors from the node state index, with a hard-coded filter to include only errors from the past 7 days.

In other words, we are counting the errors on a node-wise basis where the most recent Chef Client run for that error ended in failure, and the most recent Chef Client run occurred within the past 7 day time period.

This design does not support trend information or historical analysis use-cases. Work to support those will be scheduled for later.