API Requirements
Graph
Information Provided:
- List of namespaces
- Start Time
- End Time
- Time Resolution
Information Needed:
- Memory Usage over time per namespace, cluster, and max available
- Core Usage over time per namespace, cluster, and max available
- Bucketed over time resolution aggregate. (The aggregate, we should be able to identify pipeline vs custom app):
- Manual start
- Scheduled start
- Status (RUNNING, COMPLETED, FAILED)
- Delay between STARTING and RUNNING
- If start time and end time is for future date, show the scheduled apps
Details when Graph Time Range is Clicked
Information Provided:
- List of Namespace
- Start Time
- End Time
Information Needed:
- Entity Details:
- Namespace
- App Name
- Program Type
- Program Name
- Parent Artifact
- Duration
- User
- Start Method (time schedule, trigger, manual)
- Status
Reports View
Information Provided:
- List of namespaces
- List of statuses
- Start Time
- End Time
Information Needed:
- Entity Details:
- Namespace
- App Name
- Program Type
- Program Name
- Parent Artifact
- Duration
- User
- Start Method
- Status
- Runtime Arguments
- Memory Usage
- Number of CPU
- Number of Containers
- Number of Log Warnings
- Number of Log Errors
- Number of records out
- Summary Counts:
- Runs per namespace
- Time range
- Pipelines (Realtime vs Batch), custom apps
- Durations: min, max, average
- Last Started: Oldest and Newest
- List of users & count per user
- List of start method & count per methods