-
Notifications
You must be signed in to change notification settings - Fork 67
Implement delayed name removal #507
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
base: main
Are you sure you want to change the base?
Implement delayed name removal #507
Conversation
d1e9466
to
1a8440b
Compare
ef07d36
to
6972421
Compare
26cb3d5
to
281f83e
Compare
46cf211
to
7afd092
Compare
@SungJin1212 - Is this change still relevant? Could you please rebase? |
0d2ce47
to
e9cecc7
Compare
engine/engine.go
Outdated
step: 0, | ||
resultSort: noSortResultSort{}, | ||
scanners: scnrs, | ||
enableDelayedNameRemoval: e.enableDelayedNameRemoval, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: Does this look better in QueryOpts?
@@ -18,7 +18,7 @@ type VectorOperator interface { | |||
// Series returns all series that the operator will process during Next results. | |||
// The result can be used by upstream operators to allocate output tables and buffers | |||
// before starting to process samples. | |||
Series(ctx context.Context) ([]labels.Labels, error) | |||
Series(ctx context.Context) ([]promql.Series, error) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems like a big change that could break consumers that extend this package.
Since delayed name removal is experimental, should we wait for it to be stable?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should we wait for it to be stable
Yeah, we can wait until it is to be stable.
e9cecc7
to
ca272b8
Compare
1405e8e
to
eacdf5c
Compare
Signed-off-by: SungJin1212 <[email protected]>
eacdf5c
to
35ae9c8
Compare
This PR implements the
delayed name removal
feature in the Prometheus.The Prometheus PR: