Skip to content

Move pkg/metrics to internal/metrics #6901

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

Conversation

danish9039
Copy link
Contributor

@danish9039 danish9039 commented Mar 22, 2025

Which problem is this PR solving?

Description of the changes

  • moved pkg/metrics to internal/metrics

How was this change tested?

Checklist

@danish9039 danish9039 requested a review from a team as a code owner March 22, 2025 12:59
@danish9039 danish9039 requested a review from pavolloffay March 22, 2025 12:59
Copy link

codecov bot commented Mar 22, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.11%. Comparing base (29ac512) to head (93c58ea).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6901      +/-   ##
==========================================
- Coverage   96.12%   96.11%   -0.02%     
==========================================
  Files         340      340              
  Lines       19608    19608              
==========================================
- Hits        18849    18846       -3     
- Misses        574      576       +2     
- Partials      185      186       +1     
Flag Coverage Δ
badger_v1 10.21% <ø> (ø)
badger_v2 2.12% <ø> (ø)
cassandra-4.x-v1-manual 15.36% <ø> (ø)
cassandra-4.x-v2-auto 2.11% <ø> (ø)
cassandra-4.x-v2-manual 2.11% <ø> (-0.04%) ⬇️
cassandra-5.x-v1-manual 15.36% <ø> (ø)
cassandra-5.x-v2-auto 2.11% <ø> (ø)
cassandra-5.x-v2-manual 2.11% <ø> (ø)
elasticsearch-6.x-v1 20.12% <ø> (ø)
elasticsearch-7.x-v1 20.21% <ø> (ø)
elasticsearch-8.x-v1 20.38% <ø> (ø)
elasticsearch-8.x-v2 2.12% <ø> (ø)
grpc_v1 11.28% <ø> (ø)
grpc_v2 8.25% <ø> (ø)
kafka-3.x-v1 10.51% <ø> (ø)
kafka-3.x-v2 2.12% <ø> (ø)
memory_v2 2.12% <ø> (ø)
opensearch-1.x-v1 20.26% <ø> (ø)
opensearch-2.x-v1 20.26% <ø> (ø)
opensearch-2.x-v2 2.12% <ø> (ø)
tailsampling-processor 0.57% <ø> (ø)
unittests 94.85% <ø> (-0.02%) ⬇️

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.

danish9039 and others added 2 commits March 22, 2025 18:40
Signed-off-by: danish9039 <[email protected]>
Signed-off-by: Yuri Shkuro <[email protected]>
@yurishkuro yurishkuro added the changelog:refactoring Internal code refactoring without functional changes label Mar 22, 2025
@yurishkuro yurishkuro enabled auto-merge March 22, 2025 17:31
@yurishkuro yurishkuro disabled auto-merge March 22, 2025 17:31
@yurishkuro yurishkuro changed the title moved pkg/metrics to internal/metrics Move pkg/metrics to internal/metrics Mar 22, 2025
@yurishkuro yurishkuro enabled auto-merge March 22, 2025 17:31
.
Signed-off-by: danish9039 <[email protected]>
auto-merge was automatically disabled March 23, 2025 14:22

Head branch was pushed to by a user without write access

@yurishkuro yurishkuro added this pull request to the merge queue Mar 23, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to a conflict with the base branch Mar 23, 2025
@yurishkuro
Copy link
Member

Conflicts. I should've merged this first since it's the biggest change.

@danish9039
Copy link
Contributor Author

Conflicts. I should've merged this first since it's the biggest change.

exactly , let me resolve these conflicts real quick

Copy link
Member

@yurishkuro yurishkuro left a comment

Choose a reason for hiding this comment

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

please resolve conflicts

danish9039 and others added 3 commits March 24, 2025 12:40
Signed-off-by: danish9039 <[email protected]>
.
Signed-off-by: hippie-danish <[email protected]>
@danish9039
Copy link
Contributor Author

please resolve conflicts

@yurishkuro done !

@yurishkuro yurishkuro added this pull request to the merge queue Mar 24, 2025
Merged via the queue into jaegertracing:main with commit cc96a93 Mar 24, 2025
56 checks passed
@yurishkuro
Copy link
Member

@danish9039 you left pkg/metrics/metrics_test.go

amilbcahat pushed a commit to amilbcahat/jaeger that referenced this pull request May 4, 2025
## Which problem is this PR solving?
- part of  jaegertracing#6869

## Description of the changes
-  moved `pkg/metrics` to `internal/metrics`

## How was this change tested?
- 

## Checklist
- [ ] I have read
https://github.com/jaegertracing/jaeger/blob/master/CONTRIBUTING_GUIDELINES.md
- [ ] I have signed all commits
- [ ] I have added unit tests for the new functionality
- [ ] 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: danish9039 <[email protected]>
Signed-off-by: Yuri Shkuro <[email protected]>
Signed-off-by: hippie-danish <[email protected]>
Co-authored-by: Yuri Shkuro <[email protected]>
amilbcahat pushed a commit to amilbcahat/jaeger that referenced this pull request May 4, 2025
## Which problem is this PR solving?
- part of  jaegertracing#6869

## Description of the changes
-  moved `pkg/metrics` to `internal/metrics`

## How was this change tested?
-

## Checklist
- [ ] I have read
https://github.com/jaegertracing/jaeger/blob/master/CONTRIBUTING_GUIDELINES.md
- [ ] I have signed all commits
- [ ] I have added unit tests for the new functionality
- [ ] 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: danish9039 <[email protected]>
Signed-off-by: Yuri Shkuro <[email protected]>
Signed-off-by: hippie-danish <[email protected]>
Co-authored-by: Yuri Shkuro <[email protected]>
Signed-off-by: amol-verma-allen <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog:refactoring Internal code refactoring without functional changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants