This is an automated email from the ASF dual-hosted git repository.
pabloem pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git
The following commit(s) were added to refs/heads/master by this push:
new 4afa738 Attempting improvements on DirectRunner Python dash
new 8152b98 Merge pull request #14102 from pabloem/try-dash
4afa738 is described below
commit 4afa73809e08dbce062561348c8aaedbc74be59a
Author: Pablo Estrada <[email protected]>
AuthorDate: Thu Feb 25 21:59:54 2021 -0800
Attempting improvements on DirectRunner Python dash
---
.../Python_FnApiRunner_ubenchmarks.json | 54 ++++++++++++++++++++--
.test-infra/metrics/influxdb/Dockerfile | 2 +-
2 files changed, 50 insertions(+), 6 deletions(-)
diff --git
a/.test-infra/metrics/grafana/dashboards/perftests_metrics/Python_FnApiRunner_ubenchmarks.json
b/.test-infra/metrics/grafana/dashboards/perftests_metrics/Python_FnApiRunner_ubenchmarks.json
index ccbf253..a931ca2 100644
---
a/.test-infra/metrics/grafana/dashboards/perftests_metrics/Python_FnApiRunner_ubenchmarks.json
+++
b/.test-infra/metrics/grafana/dashboards/perftests_metrics/Python_FnApiRunner_ubenchmarks.json
@@ -54,6 +54,16 @@
"pointradius": 2,
"points": true,
"renderer": "flot",
+ "repeat": "microbenchmarkTest",
+ "repeatDirection": "h",
+ "scopedVars": {
+ "microbenchmarkTest": {
+ "$$hashKey": "object:5348",
+ "selected": false,
+ "text": "fn_api_runner_microbenchmark",
+ "value": "fn_api_runner_microbenchmark"
+ }
+ },
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
@@ -77,7 +87,7 @@
],
"orderByTime": "ASC",
"policy": "default",
- "query": "SELECT mean(\"value\") FROM
\"python_direct_microbenchmarks\" WHERE metric =
'fn_api_runner_microbenchmark_runtime_sec' AND $timeFilter GROUP BY
time($__interval), \"metric\"",
+ "query": "SELECT mean(\"value\") FROM
\"python_direct_microbenchmarks\" WHERE metric =~ /^${microbenchmarkTest}_.*$/
AND $timeFilter GROUP BY time($__interval), \"metric\"",
"rawQuery": true,
"refId": "A",
"resultFormat": "time_series",
@@ -144,9 +154,6 @@
"schemaVersion": 22,
"style": "dark",
"tags": ["performance tests"],
- "templating": {
- "list": []
- },
"time": {
"from": "now-30d",
"to": "now"
@@ -165,8 +172,45 @@
"1d"
]
},
+ "templating": {
+ "enable": true,
+ "list": [
+ {
+ "allValue": null,
+ "current": {
+ "$$hashKey": "object:5347",
+ "selected": false,
+ "text": "fn_api_runner_microbenchmark",
+ "value": "fn_api_runner_microbenchmark"
+ },
+ "hide": 0,
+ "includeAll": false,
+ "label": "Microbenchmark Test",
+ "multi": false,
+ "name": "microbenchmarkTest",
+ "options": [
+ {
+ "$$hashKey": "object:5347",
+ "selected": true,
+ "text": "teststream_microbenchmark",
+ "value": "teststream_microbenchmark"
+ },
+ {
+ "$$hashKey": "object:5348",
+ "selected": false,
+ "text": "fn_api_runner_microbenchmark",
+ "value": "fn_api_runner_microbenchmark"
+ }
+ ],
+ "query": "fn_api_runner_microbenchmark,teststream_microbenchmark",
+ "queryValue": "",
+ "skipUrlSync": false,
+ "type": "custom"
+ }
+ ]
+ },
"timezone": "",
- "title": "FnApiRunner Micro-benchmarks",
+ "title": "Python DirectRunner Microbenchmarks",
"uid": "1cnwVDkGk",
"variables": {
"list": []
diff --git a/.test-infra/metrics/influxdb/Dockerfile
b/.test-infra/metrics/influxdb/Dockerfile
index a170166..57a541f 100644
--- a/.test-infra/metrics/influxdb/Dockerfile
+++ b/.test-infra/metrics/influxdb/Dockerfile
@@ -28,7 +28,7 @@ tar xzf influxdb-backup.tar.gz
FROM influxdb:1.8.0
-ADD
https://raw.githubusercontent.com/vishnubob/wait-for-it/master/wait-for-it.sh
/wait-for-it.sh
+ADD
https://raw.githubusercontent.com/vishnubob/wait-for-it/81b1373f17855a4dc21156cfe1694c31d7d1792e/wait-for-it.sh
/wait-for-it.sh
RUN chmod +x /wait-for-it.sh