Skip to content

Conversation

SungJin1212
Copy link
Contributor

@SungJin1212 SungJin1212 commented Jan 9, 2025

This PR implements the delayed name removal feature in the Prometheus.
The Prometheus PR:

@SungJin1212 SungJin1212 force-pushed the Implement-delayed-name-removal branch 2 times, most recently from d1e9466 to 1a8440b Compare January 31, 2025 09:12
@SungJin1212 SungJin1212 force-pushed the Implement-delayed-name-removal branch 2 times, most recently from ef07d36 to 6972421 Compare February 10, 2025 01:22
@SungJin1212 SungJin1212 changed the base branch from update-prometheus-3.0 to main February 10, 2025 01:30
@SungJin1212 SungJin1212 force-pushed the Implement-delayed-name-removal branch 4 times, most recently from 26cb3d5 to 281f83e Compare February 13, 2025 07:36
@SungJin1212 SungJin1212 force-pushed the Implement-delayed-name-removal branch 2 times, most recently from 46cf211 to 7afd092 Compare February 27, 2025 07:22
@harry671003
Copy link
Contributor

@SungJin1212 - Is this change still relevant? Could you please rebase?

@SungJin1212 SungJin1212 force-pushed the Implement-delayed-name-removal branch 2 times, most recently from 0d2ce47 to e9cecc7 Compare March 19, 2025 01:55
engine/engine.go Outdated
step: 0,
resultSort: noSortResultSort{},
scanners: scnrs,
enableDelayedNameRemoval: e.enableDelayedNameRemoval,
Copy link
Contributor

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)
Copy link
Contributor

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?

Copy link
Contributor Author

@SungJin1212 SungJin1212 Mar 20, 2025

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.

@SungJin1212 SungJin1212 force-pushed the Implement-delayed-name-removal branch from e9cecc7 to ca272b8 Compare March 20, 2025 05:34
@SungJin1212
Copy link
Contributor Author

FYI. prometheus/prometheus#15855

@SungJin1212 SungJin1212 force-pushed the Implement-delayed-name-removal branch 2 times, most recently from 1405e8e to eacdf5c Compare April 1, 2025 12:27
@SungJin1212 SungJin1212 force-pushed the Implement-delayed-name-removal branch from eacdf5c to 35ae9c8 Compare April 5, 2025 00:37
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.

2 participants