Skip to content

Commit

Permalink
Adding OLS configuration yaml
Browse files Browse the repository at this point in the history
Signed-off-by: Vishnu Challa <[email protected]>
  • Loading branch information
Vishnu Challa committed Jan 21, 2025
1 parent 72374fa commit e5654e1
Show file tree
Hide file tree
Showing 2 changed files with 116 additions and 3 deletions.
113 changes: 113 additions & 0 deletions examples/ols-load-generator-10w-5m.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,113 @@
tests :
- name : ols-load-generator-10w-5m
index: perf_scale_ci*
benchmarkIndex: ols-load-test-results*
metadata:
workers: 10
duration: "5m0s"
platform: AWS
clusterType: self-managed
masterNodesType.keyword: m6a.xlarge
masterNodesCount: 3
workerNodesType.keyword: m6a.xlarge
workerNodesCount: 3
benchmark.keyword: ols-load-generator
ocpVersion: {{ version }}
networkType: OVNKubernetes

metrics :
- name: postQuery
metricName: post_query
metric_of_interest: p99Latency
direction: 1
- name: postQueryWithCache
metricName: post_query_with_cache
metric_of_interest: p99Latency
direction: 1
- name: getFeedbackStatus
metricName: get_feedback_status
metric_of_interest: p99Latency
direction: 1
- name: postFeedback
metricName: post_feedback
metric_of_interest: p99Latency
direction: 1
- name: postAuthorized
metricName: post_authorized
metric_of_interest: p99Latency
direction: 1
- name: getLiveness
metricName: get_liveness
metric_of_interest: p99Latency
direction: 1
- name: getReadiness
metricName: get_readiness
metric_of_interest: p99Latency
direction: 1
- name: getMetrics
metricName: get_metrics
metric_of_interest: p99Latency
direction: 1
- name: postQuery
metricName: post_query
metric_of_interest: throughput
direction: -1
- name: postQueryWithCache
metricName: post_query_with_cache
metric_of_interest: throughput
direction: -1
- name: getFeedbackStatus
metricName: get_feedback_status
metric_of_interest: throughput
direction: -1
- name: postFeedback
metricName: post_feedback
metric_of_interest: throughput
direction: -1
- name: postAuthorized
metricName: post_authorized
metric_of_interest: throughput
direction: -1
- name: getLiveness
metricName: get_liveness
metric_of_interest: throughput
direction: -1
- name: getReadiness
metricName: get_readiness
metric_of_interest: throughput
direction: -1
- name: getMetrics
metricName: get_metrics
metric_of_interest: throughput
direction: -1
- name: LLMCallFailures
metricName.keyword: avg-llm-call-failures
metric_of_interest: value
agg:
value: callFailures
agg_type: avg
direction: 1
- name: LLMValidationErros
metricName.keyword: avg-llm-validation-errors
metric_of_interest: value
agg:
value: validationErrors
agg_type: avg
direction: 1
- name: lightSpeedCPU
metricName.keyword: containerCPU
labels.namespace.keyword: openshift-lightspeed
metric_of_interest: value
agg:
value: cpu
agg_type: avg
direction: 1
- name: lightSpeedMemory
metricName.keyword: containerMemory
labels.namespace.keyword: openshift-lightspeed
metric_of_interest: value
agg:
value: memory
agg_type: avg
direction: 1

6 changes: 3 additions & 3 deletions pkg/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ def get_datasource(data: Dict[Any, Any]) -> str:

def filter_uuids_on_index(
metadata: Dict[str, Any],
fingerprint_index: str,
benchmark_index: str,
uuids: List[str],
match: Matcher,
baseline: str,
Expand All @@ -171,8 +171,8 @@ def filter_uuids_on_index(
"""
if metadata["benchmark.keyword"] in ["ingress-perf", "k8s-netperf"]:
return uuids
if baseline == "" and not filter_node_count:
runs = match.match_kube_burner(uuids, fingerprint_index)
if baseline == "" and not filter_node_count and "kube-burner" in benchmark_index:
runs = match.match_kube_burner(uuids, benchmark_index)
ids = match.filter_runs(runs, runs)
else:
ids = uuids
Expand Down

0 comments on commit e5654e1

Please sign in to comment.