Documentation
¶
Overview ¶
Copyright (C) NHR@FAU, University Erlangen-Nuremberg. All rights reserved. Use of this source code is governed by a MIT-style license that can be found in the LICENSE file.
Index ¶
- func LoadAverages(job *schema.Job, metrics []string, data [][]schema.Float, ctx context.Context) error
- func LoadData(job *schema.Job, metrics []string, scopes []schema.MetricScope, ...) (schema.JobData, error)
- func LoadJobStats(job *schema.Job, metrics []string, ctx context.Context) (map[string]schema.MetricStatistics, error)
- func LoadNodeData(cluster string, metrics, nodes []string, scopes []schema.MetricScope, ...) (map[string]map[string][]*schema.JobMetric, error)
- func LoadNodeListData(cluster, subCluster, nodeFilter string, metrics []string, ...) (map[string]schema.JobData, int, bool, error)
- func LoadScopedJobStats(job *schema.Job, metrics []string, scopes []schema.MetricScope, ...) (schema.ScopedJobStats, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadAverages ¶
func LoadAverages( job *schema.Job, metrics []string, data [][]schema.Float, ctx context.Context, ) error
Used for the jobsFootprint GraphQL-Query. TODO: Rename/Generalize.
func LoadData ¶
func LoadData(job *schema.Job, metrics []string, scopes []schema.MetricScope, ctx context.Context, resolution int, ) (schema.JobData, error)
Fetches the metric data for a job.
func LoadJobStats ¶ added in v1.4.4
func LoadJobStats( job *schema.Job, metrics []string, ctx context.Context, ) (map[string]schema.MetricStatistics, error)
Used for polar plots in frontend: Aggregates statistics for all nodes to single values for job per metric.
func LoadNodeData ¶
func LoadNodeData( cluster string, metrics, nodes []string, scopes []schema.MetricScope, from, to time.Time, ctx context.Context, ) (map[string]map[string][]*schema.JobMetric, error)
Used for the classic node/system view. Returns a map of nodes to a map of metrics.
func LoadNodeListData ¶ added in v1.4.3
func LoadScopedJobStats ¶ added in v1.4.4
func LoadScopedJobStats( job *schema.Job, metrics []string, scopes []schema.MetricScope, ctx context.Context, ) (schema.ScopedJobStats, error)
Used for statsTable in frontend: Return scoped statistics by metric.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.