Skip to content

Conversation

pipiland2612
Copy link
Contributor

Which problem is this PR solving?

Description of the changes

  • Add smoke test for /metrics/errors
    • validate correct service name
    • validate correct labels (case groupByOperation=true)

How was this change tested?

  • run scripts/e2e/spm.sh locally

Checklist

@pipiland2612 pipiland2612 changed the title Spm e2e test improvement #5608 Improve SPM e2e test with test for error rate Apr 6, 2025
Signed-off-by: pipiland <nguyen.t.dang.minh@gmail.com>
@pipiland2612 pipiland2612 force-pushed the spm-e2e-test-improvement branch from 8704f70 to 156c45d Compare April 6, 2025 18:05
Copy link

codecov bot commented Apr 6, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.99%. Comparing base (06840ac) to head (88d6b6e).
Report is 3 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #6991   +/-   ##
=======================================
  Coverage   95.99%   95.99%           
=======================================
  Files         346      346           
  Lines       20429    20429           
=======================================
  Hits        19611    19611           
  Misses        616      616           
  Partials      202      202           
Flag Coverage Δ
badger_v1 10.53% <ø> (ø)
badger_v2 2.18% <ø> (ø)
cassandra-4.x-v1-manual 15.84% <ø> (ø)
cassandra-4.x-v2-auto 2.17% <ø> (ø)
cassandra-4.x-v2-manual 2.17% <ø> (ø)
cassandra-5.x-v1-manual 15.84% <ø> (ø)
cassandra-5.x-v2-auto 2.17% <ø> (ø)
cassandra-5.x-v2-manual 2.17% <ø> (ø)
elasticsearch-6.x-v1 20.76% <ø> (ø)
elasticsearch-7.x-v1 20.84% <ø> (ø)
elasticsearch-8.x-v1 21.02% <ø> (ø)
elasticsearch-8.x-v2 2.18% <ø> (ø)
grpc_v1 11.61% <ø> (ø)
grpc_v2 8.47% <ø> (ø)
kafka-3.x-v1 10.82% <ø> (ø)
kafka-3.x-v2 2.18% <ø> (ø)
memory_v2 2.18% <ø> (ø)
opensearch-1.x-v1 20.89% <ø> (ø)
opensearch-2.x-v1 20.89% <ø> (ø)
opensearch-2.x-v2 2.18% <ø> (ø)
tailsampling-processor 0.59% <ø> (ø)
unittests 94.79% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Signed-off-by: pipiland <nguyen.t.dang.minh@gmail.com>
@pipiland2612 pipiland2612 marked this pull request as ready for review April 6, 2025 18:36
@pipiland2612 pipiland2612 requested a review from a team as a code owner April 6, 2025 18:36
@pipiland2612 pipiland2612 requested a review from pavolloffay April 6, 2025 18:36
Signed-off-by: pipiland <nguyen.t.dang.minh@gmail.com>
@yurishkuro yurishkuro added the changelog:ci Change related to continuous integration / testing label Apr 7, 2025
@yurishkuro yurishkuro added this pull request to the merge queue Apr 7, 2025
@yurishkuro
Copy link
Member

Thanks

Merged via the queue into jaegertracing:main with commit 9897ec2 Apr 7, 2025
56 of 57 checks passed
@pipiland2612 pipiland2612 deleted the spm-e2e-test-improvement branch April 7, 2025 05:37
amilbcahat pushed a commit to amilbcahat/jaeger that referenced this pull request May 4, 2025
…gertracing#6991)

## Which problem is this PR solving?
- part of jaegertracing#5608

## Description of the changes
- Add smoke test for /metrics/errors
  - validate correct service name
  - validate correct labels (case groupByOperation=true)

## How was this change tested?
- run `scripts/e2e/spm.sh` locally

## Checklist
- [x] I have read
https://github.com/jaegertracing/jaeger/blob/master/CONTRIBUTING_GUIDELINES.md
- [x] I have signed all commits
- [x] I have added unit tests for the new functionality
- [x] I have run lint and test steps successfully
  - for `jaeger`: `make lint test`
  - for `jaeger-ui`: `npm run lint` and `npm run test`

---------

Signed-off-by: pipiland <nguyen.t.dang.minh@gmail.com>
amilbcahat pushed a commit to amilbcahat/jaeger that referenced this pull request May 4, 2025
…gertracing#6991)

## Which problem is this PR solving?
- part of jaegertracing#5608

## Description of the changes
- Add smoke test for /metrics/errors
  - validate correct service name
  - validate correct labels (case groupByOperation=true)

## How was this change tested?
- run `scripts/e2e/spm.sh` locally

## Checklist
- [x] I have read
https://github.com/jaegertracing/jaeger/blob/master/CONTRIBUTING_GUIDELINES.md
- [x] I have signed all commits
- [x] I have added unit tests for the new functionality
- [x] I have run lint and test steps successfully
  - for `jaeger`: `make lint test`
  - for `jaeger-ui`: `npm run lint` and `npm run test`

---------

Signed-off-by: pipiland <nguyen.t.dang.minh@gmail.com>
Signed-off-by: amol-verma-allen <amol.verma@allen.in>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog:ci Change related to continuous integration / testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants