Skip to content

Commit

Permalink
[Remove density] Fix metrics in perf dash
Browse files Browse the repository at this point in the history
Add experiment specific metric to Perf-Dash.
Rename experiment specific metric in ClusterLoader2 experiment config.
  • Loading branch information
jprzychodzen committed Feb 26, 2020
1 parent 7c2e904 commit 72d8f3b
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 5 deletions.
8 changes: 4 additions & 4 deletions clusterloader2/testing/load/experimental-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ steps:
Method: APIResponsivenessPrometheus
Params:
action: start
- Identifier: LoadPodStartupLatency
- Identifier: CreatePhasePodStartupLatency
Method: PodStartupLatency
Params:
action: start
Expand Down Expand Up @@ -403,7 +403,7 @@ steps:
# BEGIN scheduler throughput
- name: Creating scheduler throughput measurements
measurements:
- Identifier: HighThroughputStartupLatency
- Identifier: HighThroughputPodStartupLatency
Method: PodStartupLatency
Params:
action: start
Expand Down Expand Up @@ -447,7 +447,7 @@ steps:
action: gather
- name: Collecting scheduler throughput measurements
measurements:
- Identifier: HighThroughputStartupLatency
- Identifier: HighThroughputPodStartupLatency
Method: PodStartupLatency
Params:
action: gather
Expand Down Expand Up @@ -916,7 +916,7 @@ steps:
Params:
action: gather
{{end}}
- Identifier: LoadPodStartupLatency
- Identifier: CreatePhasePodStartupLatency
Method: PodStartupLatency
Params:
action: gather
Expand Down
18 changes: 17 additions & 1 deletion perfdash/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,12 @@ package main
import (
"fmt"
"io/ioutil"
"k8s.io/klog"
"net/http"
"strconv"
"strings"

"k8s.io/klog"

"github.com/ghodss/yaml"
)

Expand Down Expand Up @@ -80,6 +81,21 @@ var (
OutputFilePrefix: "ResourceUsageSummary",
Parser: parseResourceUsageData,
}},
"LoadCreatePhasePodStartup": []TestDescription{{
Name: "load",
OutputFilePrefix: "PodStartupLatency_CreatePhasePodStartupLatency",
Parser: parsePerfData,
}},
"LoadHighThroughputPodStartup": []TestDescription{{
Name: "load",
OutputFilePrefix: "PodStartupLatency_HighThroughputPodStartupLatency",
Parser: parsePerfData,
}},
"LoadPodStartup": []TestDescription{{
Name: "load",
OutputFilePrefix: "PodStartupLatency_PodStartupLatency",
Parser: parsePerfData,
}},
},
"APIServer": {
"DensityResponsiveness": []TestDescription{{
Expand Down

0 comments on commit 72d8f3b

Please sign in to comment.