Skip to content

feat: Deprecate prometheus.write.queue#5509

Merged
kgeckhart merged 2 commits intomainfrom
kgeckhart/deprecate-write-queue
Feb 13, 2026
Merged

feat: Deprecate prometheus.write.queue#5509
kgeckhart merged 2 commits intomainfrom
kgeckhart/deprecate-write-queue

Conversation

@kgeckhart
Copy link
Contributor

@kgeckhart kgeckhart commented Feb 11, 2026

Brief description of Pull Request

prometheus.write.queue is deprecated and will be removed in the future. We have decided to invest further in prometheus.remote_write over further investments in prometheus.write.queue as an outcome of #5039.

Issue(s) fixed by this Pull Request

Resolves: #5506

PR Checklist

  • Documentation added

@kgeckhart kgeckhart requested review from a team and clayton-cornell as code owners February 11, 2026 21:19
@github-actions
Copy link
Contributor

github-actions bot commented Feb 11, 2026

💻 Deploy preview available (chore: Deprecate prometheus.write.queue):

}

func NewComponent(opts component.Options, args Arguments) (*Queue, error) {
level.Warn(opts.Logger).Log("msg", "prometheus.write.queue is deprecated and will be removed in a future version. Migrate to prometheus.remote_write to prevent future errors.")
Copy link
Contributor

Choose a reason for hiding this comment

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

I know we have talked about deprecation of components in general. Maybe we could add support for that during component registration.

Not required for that in this pr but something we should consider at lest

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I ended up trying this out with a deprecated stability level. I might push it for feedback but I didn't feel great about it. I had to make it an "internal" stability level equivalent to Experimental which I think makes sense just felt a bit awkward.

…queue.md

Co-authored-by: Clayton Cornell <131809008+clayton-cornell@users.noreply.github.com>
@clayton-cornell clayton-cornell added the type/docs Docs Squad label across all Grafana Labs repos label Feb 13, 2026
Copy link
Contributor

@clayton-cornell clayton-cornell left a comment

Choose a reason for hiding this comment

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

Approving for docs

@kgeckhart kgeckhart changed the title chore: Deprecate prometheus.write.queue feat: Deprecate prometheus.write.queue Feb 13, 2026
@kgeckhart
Copy link
Contributor Author

I did end up changing this from chore -> feat so it shows up in the changelog.

@kgeckhart kgeckhart merged commit ee0f227 into main Feb 13, 2026
55 of 56 checks passed
@kgeckhart kgeckhart deleted the kgeckhart/deprecate-write-queue branch February 13, 2026 18:59
@grafana-alloybot grafana-alloybot bot mentioned this pull request Feb 13, 2026
@github-actions
Copy link
Contributor

💻 Deploy preview deleted (feat: Deprecate prometheus.write.queue).

matt-gp pushed a commit to matt-gp/alloy that referenced this pull request Feb 13, 2026
### Brief description of Pull Request

`prometheus.write.queue` is deprecated and will be removed in the
future. We have decided to invest further in `prometheus.remote_write`
over further investments in `prometheus.write.queue` as an outcome of
grafana#5039.

### Issue(s) fixed by this Pull Request

Resolves: grafana#5506

### PR Checklist

- [x] Documentation added

---------

Co-authored-by: Clayton Cornell <131809008+clayton-cornell@users.noreply.github.com>
matt-gp added a commit to matt-gp/alloy that referenced this pull request Feb 14, 2026
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 28, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

frozen-due-to-age type/docs Docs Squad label across all Grafana Labs repos

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Mark prometheus.write.queue as deprecated

4 participants