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

[PROF-10198] Set service/env for GitLab runs in benchmark platform #3802

Merged
merged 1 commit into from
Jul 25, 2024

Conversation

ivoanjo
Copy link
Member

@ivoanjo ivoanjo commented Jul 23, 2024

What does this PR do?

This PR sets the DD_SERVICE and DD_ENV for the gitlab benchmark in the benchmarking platform.

Motivation:

While testing a few changes, I realized these benchmarks were running with no name, thus ending up with gitlab-runner which is not a very clear name (and makes it hard to know what it is).

To align with the reliability environment (rp-ruby-gitlab) I've explicitly set a matching name.

Additional Notes:

N/A

How to test the change?

I've tested this with the bp-runner:

image

**What does this PR do?**

This PR sets the `DD_SERVICE` and `DD_ENV` for the gitlab benchmark in
the benchmarking platform.

**Motivation:**

While testing a few changes, I realized these benchmarks were running
with no name, thus ending up with `gitlab-runner` which is not a very
clear name (and makes it hard to know what it is).

To align with the reliability environment (`rp-ruby-gitlab`) I've
explicitly set a matching name.

**Additional Notes:**

N/A

**How to test the change?**

I've tested this with the `bp-runner`.
@ivoanjo ivoanjo requested a review from a team as a code owner July 23, 2024 12:10
@pr-commenter
Copy link

pr-commenter bot commented Jul 23, 2024

Benchmarks

Benchmark execution time: 2024-07-23 12:19:33

Comparing candidate commit 8d6b00a in PR branch ivoanjo/prof-10198-service-name-benchplat with baseline commit 2505c2d in branch master.

Found 0 performance improvements and 0 performance regressions! Performance is the same for 10 metrics, 2 unstable metrics.

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.92%. Comparing base (2505c2d) to head (8d6b00a).
Report is 3 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #3802   +/-   ##
=======================================
  Coverage   97.91%   97.92%           
=======================================
  Files        1248     1248           
  Lines       75315    75315           
  Branches     3644     3644           
=======================================
+ Hits        73746    73749    +3     
+ Misses       1569     1566    -3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@ivoanjo ivoanjo merged commit 552e6d3 into master Jul 25, 2024
171 checks passed
@ivoanjo ivoanjo deleted the ivoanjo/prof-10198-service-name-benchplat branch July 25, 2024 08:03
@github-actions github-actions bot added this to the 2.3.0 milestone Jul 25, 2024
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