Skip to content

Commit

Permalink
Merge pull request #384 from ebattat/fix_make
Browse files Browse the repository at this point in the history
fix tf path
  • Loading branch information
ebattat committed Nov 7, 2023
2 parents 15aceb7 + f4cb1f2 commit 9ce45d2
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions grafonnet_generator/grafana/perf/jsonnet/main.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ g.dashboard.new('PerfCI-Regression-Summary-Test')
])

+ elasticsearch.withQuery('_exists_:cnv_version AND ocp_version:$ocp_version')
+ elasticsearch.withRefId('C')
+ elasticsearch.withRefId('B')
+ elasticsearch.withTimeField('timestamp'),

////
Expand All @@ -339,7 +339,7 @@ g.dashboard.new('PerfCI-Regression-Summary-Test')
])

+ elasticsearch.withQuery('_exists_:kata_version AND ocp_version:$ocp_version')
+ elasticsearch.withRefId('D')
+ elasticsearch.withRefId('C')
+ elasticsearch.withTimeField('timestamp'),

////
Expand All @@ -357,13 +357,13 @@ g.dashboard.new('PerfCI-Regression-Summary-Test')
+ elasticsearch.withMetrics([
elasticsearch.metrics.MetricAggregationWithSettings.Max.withField('ci_minutes_time')
+ elasticsearch.metrics.MetricAggregationWithSettings.Max.withId('1')
+ elasticsearch.metrics.MetricAggregationWithSettings.Max.settings.withScript('Integer.parseInt(\"0\"+doc["kata_rpm_version.keyword"].value.replace(\".\",\"\").replace(\"r\",\"\").replace(\"c\",\"\").replace(\"f\",\"\").replace(\"-\",\"\").replace(\"e\",\"1\").replace(\"c\",\"\").replace(\"r\",\"\"))')
+ elasticsearch.metrics.MetricAggregationWithSettings.Max.settings.withScript('(doc["kata_rpm_version.keyword"].value.indexOf(\" \") == -1) ? Integer.parseInt(\"0\"+doc["kata_rpm_version.keyword"].value.replace(\".\",\"\").replace(\"r\",\"\").replace(\"c\",\"\").replace(\"f\",\"\").replace(\"-\",\"\")) : 0')
+ elasticsearch.metrics.MetricAggregationWithSettings.Max.withType('max')

])

+ elasticsearch.withQuery('_exists_:kata_rpm_version AND ocp_version:$ocp_version')
+ elasticsearch.withRefId('F')
+ elasticsearch.withRefId('D')
+ elasticsearch.withTimeField('timestamp'),

////
Expand Down Expand Up @@ -410,7 +410,7 @@ g.dashboard.new('PerfCI-Regression-Summary-Test')
])

+ elasticsearch.withQuery('ocp_version:$ocp_version')
+ elasticsearch.withRefId('B')
+ elasticsearch.withRefId('F')
+ elasticsearch.withTimeField('timestamp'),
////
elasticsearch.withAlias('Ci Status')
Expand All @@ -432,7 +432,7 @@ g.dashboard.new('PerfCI-Regression-Summary-Test')
])

+ elasticsearch.withQuery('ocp_version:$ocp_version')
+ elasticsearch.withRefId('B')
+ elasticsearch.withRefId('G')
+ elasticsearch.withTimeField('timestamp')

]),
Expand Down

0 comments on commit 9ce45d2

Please sign in to comment.