Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: report Otel data on Python tests #29424

Merged
merged 1 commit into from
Mar 22, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -695,7 +695,9 @@ def withBeatsEnv(Map args = [:], Closure body) {
if (cmd(label: 'Download modules to local cache', script: 'go mod download', returnStatus: true) > 0) {
cmd(label: 'Download modules to local cache - retry', script: 'go mod download', returnStatus: true)
}
body()
withOtelEnv() {
body()
}
} catch(err) {
// Upload the generated files ONLY if the step failed. This will avoid any overhead with Google Storage
upload = true
Expand Down
1 change: 1 addition & 0 deletions libbeat/tests/system/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ pycodestyle==2.6.0
pyparsing==2.4.7
pyrsistent==0.16.0
pytest==6.2.4
pytest-otel>=0.0.4
pytest-rerunfailures==9.1.1
pytest-timeout==1.4.2
PyYAML==5.4.1
Expand Down
3 changes: 2 additions & 1 deletion libbeat/tests/system/requirements_aix.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ pycodestyle==2.6.0
pyparsing==2.4.7
pyrsistent==0.16.0
pytest==6.2.4
pytest-otel>=0.0.4
pytest-rerunfailures==9.1.1
pytest-timeout==1.4.2
PyYAML==5.4.1
Expand All @@ -45,4 +46,4 @@ toml==0.10.1
urllib3==1.26.5
wcwidth==0.2.5
websocket-client==0.47.0
zipp>=1.2.0,<=3.1.0
zipp>=1.2.0,<=3.1.0