Skip to content

Conversation

@danish9039
Copy link
Contributor

Description

  • add features command

Link to tracking issue

Testing

  • test with make
  • test with make test

Documentation

Signed-off-by: danish9039 <[email protected]>
Signed-off-by: danish9039 <[email protected]>
@danish9039 danish9039 requested review from a team and djaglowski as code owners January 4, 2025 22:02
@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Jan 4, 2025

CLA Signed

The committers listed above are authorized under a signed CLA.

Copy link
Member

@songy23 songy23 left a comment

Choose a reason for hiding this comment

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

I think this needs a changelog

@codecov
Copy link

codecov bot commented Jan 6, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.36%. Comparing base (fb06c99) to head (c80b6e9).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #12014      +/-   ##
==========================================
+ Coverage   91.35%   91.36%   +0.01%     
==========================================
  Files         467      467              
  Lines       25761    25795      +34     
==========================================
+ Hits        23533    23567      +34     
  Misses       1810     1810              
  Partials      418      418              

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

Comment on lines +79 to +91
featuregate.GlobalRegistry().VisitAll(func(g *featuregate.Gate) {
if g.ID() == args[0] {
found = true
fmt.Printf("Feature: %s\n", g.ID())
fmt.Printf("Enabled: %v\n", g.IsEnabled())
fmt.Printf("Stage: %s\n", g.Stage())
fmt.Printf("Description: %s\n", g.Description())
fmt.Printf("From Version: %s\n", g.FromVersion())
if g.ToVersion() != "" {
fmt.Printf("To Version: %s\n", g.ToVersion())
}
}
})
Copy link
Member

Choose a reason for hiding this comment

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

Doesn't block this PR, but this feature is a great use case for #7625

@codeboten codeboten enabled auto-merge February 5, 2025 16:53
@codeboten codeboten added this pull request to the merge queue Feb 5, 2025
Merged via the queue into open-telemetry:main with commit 0294890 Feb 5, 2025
53 checks passed
github-merge-queue bot pushed a commit to jaegertracing/jaeger that referenced this pull request Feb 23, 2025
This reverts commit 5caf4e4.

## Which problem is this PR solving?
- Since upstream PR
open-telemetry/opentelemetry-collector#12014 was
merged, we don't need our own command anymore

## Description of the changes
- Revert previous PR

## How was this change tested?
```
$ go run ./cmd/jaeger featuregate
```

Signed-off-by: Yuri Shkuro <[email protected]>
amilbcahat pushed a commit to amilbcahat/jaeger that referenced this pull request May 4, 2025
…gertracing#6771)

This reverts commit 5caf4e4.

## Which problem is this PR solving?
- Since upstream PR
open-telemetry/opentelemetry-collector#12014 was
merged, we don't need our own command anymore

## Description of the changes
- Revert previous PR

## How was this change tested?
```
$ go run ./cmd/jaeger featuregate
```

Signed-off-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

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants