Skip to content

ci: Add DataDog tracing #163

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

Merged
merged 2 commits into from
Feb 5, 2022
Merged

ci: Add DataDog tracing #163

merged 2 commits into from
Feb 5, 2022

Conversation

kylecarbs
Copy link
Member

No description provided.

@codecov
Copy link

codecov bot commented Feb 4, 2022

Codecov Report

Merging #163 (acfff95) into main (7a7f664) will decrease coverage by 0.10%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #163      +/-   ##
==========================================
- Coverage   65.51%   65.41%   -0.11%     
==========================================
  Files         106      106              
  Lines        5580     5580              
  Branches       68       68              
==========================================
- Hits         3656     3650       -6     
- Misses       1568     1574       +6     
  Partials      356      356              
Flag Coverage Δ
unittest-go-macos-latest 62.60% <ø> (-0.07%) ⬇️
unittest-go-ubuntu-latest 64.27% <ø> (-0.07%) ⬇️
unittest-go-windows-latest 62.23% <ø> (-0.03%) ⬇️
unittest-js 64.21% <ø> (ø)
Impacted Files Coverage Δ
peerbroker/dial.go 76.19% <0.00%> (-4.77%) ⬇️
peer/channel.go 84.75% <0.00%> (-2.44%) ⬇️
provisionerd/provisionerd.go 67.95% <0.00%> (-0.49%) ⬇️
peer/conn.go 79.48% <0.00%> (+1.02%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7a7f664...acfff95. Read the comment docs.

@kylecarbs kylecarbs force-pushed the junit branch 2 times, most recently from cf50784 to a0b2cb5 Compare February 4, 2022 23:09
Comment on lines 173 to 184
- name: Upload DataDog Trace
if: always()
# See: https://docs.datadoghq.com/continuous_integration/setup_tests/junit_upload/#collecting-environment-configuration-metadata
env:
DATADOG_API_KEY: ${{ secrets.DATADOG_API_KEY }}
DD_GIT_REPOSITORY_URL: ${{ github.repositoryUrl }}
DD_GIT_BRANCH: ${{ github.base_ref }}
DD_GIT_COMMIT_SHA: ${{ github.sha }}
DD_TAGS: ${{ join([format('os.platform:{0}', runner.os), format('os.architecture:{0}', runner.arch)]) }}
# os.platform:${{ runner.os == 'macOS' ? 'darwin' \: runner.os.toLowerCase()}},os.architecture:${{ runner.arch.toLowerCase() }}
run: |
npm install -g @datadog/datadog-ci
datadog-ci junit upload --service coder gotests.xml
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Neat! Once you merge this in - I'll add the upload for the front-end tests 👍

@kylecarbs kylecarbs marked this pull request as ready for review February 4, 2022 23:25
@kylecarbs kylecarbs force-pushed the junit branch 2 times, most recently from f281aa2 to 9a2a84f Compare February 4, 2022 23:47
@kylecarbs kylecarbs merged commit 2b41ac6 into main Feb 5, 2022
@kylecarbs kylecarbs deleted the junit branch February 5, 2022 00:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants