Skip to content

[Prometheus Remote Write] Update request size limits#16962

Closed
gizas wants to merge 11 commits intomainfrom
prometheus_body_bytes
Closed

[Prometheus Remote Write] Update request size limits#16962
gizas wants to merge 11 commits intomainfrom
prometheus_body_bytes

Conversation

@gizas
Copy link
Copy Markdown
Contributor

@gizas gizas commented Jan 14, 2026

Dont merge until ^9.2.4 || ^9.3.1 || ^9.4.0 are released

  • Enhancement

Proposed commit message

Checklist

  • I have reviewed tips for building integrations and this pull request is aligned with them.
  • I have verified that all data streams collect metrics or logs.
  • I have added an entry to my package's changelog.yml file.
  • I have verified that Kibana version constraints are current according to guidelines.
  • I have verified that any added dashboard complies with Kibana's Dashboard good practices

How to test this PR locally

  1. Clone this pr
  2. Navigate to integrations/packages/prometheus and run elastic-package build
  3. elastic-package stack up -d -v --version=9.2.4 (or later)

Related issues

Screenshots

prometheus

Signed-off-by: Andreas Gkizas <andreas.gkizas@elastic.co>
@gizas gizas requested review from a team as code owners January 14, 2026 14:32
metrics_count: {{metrics_count}}
rate_counters: {{rate_counters}}
use_types: {{use_types}}
max_compressed_body_bytes: {{max_compressed_body_bytes}}
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Comment thread packages/prometheus/manifest.yml Outdated
conditions:
kibana:
version: "^8.16.0 || ^9.0.0"
version: "^9.2.4 || ^9.3.1 || ^9.4.0"
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I don't think changing kibana version to this is a good idea.
Any future bugfixes will be skipped for 18.9, 9.0, 9.1, 9.3.0.
Can we instead the agent version requirment for this configuration int he documentation of the conig parameters ?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

See doc: update doc

Signed-off-by: Andreas Gkizas <andreas.gkizas@elastic.co>
@andrewkroh andrewkroh added Integration:prometheus Prometheus documentation Improvements or additions to documentation. Applied to PRs that modify *.md files. Team:obs-ds-hosted-services Observability Hosted Services team [elastic/obs-ds-hosted-services] labels Jan 14, 2026
@gizas
Copy link
Copy Markdown
Contributor Author

gizas commented Jan 26, 2026

@elastic/obs-infraobs-integrations can I have a review here please?

Comment thread packages/prometheus/data_stream/remote_write/manifest.yml Outdated
gizas added 2 commits January 26, 2026 12:40
Signed-off-by: Andreas Gkizas <andreas.gkizas@elastic.co>
@gizas
Copy link
Copy Markdown
Contributor Author

gizas commented Jan 28, 2026

@elastic/obs-infraobs-integrations kind reminder please

Comment thread packages/prometheus/manifest.yml Outdated
conditions:
kibana:
version: "^8.16.0 || ^9.0.0"
version: "^9.2.4 || ^9.3.1 || ^9.4.0"
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

^9.2.4 already includes ^9.3.1 and ^9.4.0, were you intending to set something like ~9.2.4 || ~9.3.1 || ^9.4.0?

Copy link
Copy Markdown
Contributor Author

@gizas gizas Jan 29, 2026

Choose a reason for hiding this comment

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

Let me clarify with an example: If someone tries 9.2.3 should not match.
And also if someone tries 9.3.0 should also not match. So I would like to include 9.2.4 but not 9.3.0

Is not this the correct approach?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

^ matches all the versions in the same major over the indicated version. ^9.2.4 is equal to ">= 9.2.4 AND < 10.0.0", so ^9.2.4 || ^9.3.1 || ^9.4.0 includes 9.3.0.

You need to use ~ to match only versions of the same minor, so ~9.2.4 || ~9.3.1 || ^9.4.0.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Thank you ! done in fix versions

Copy link
Copy Markdown
Member

@ishleenk17 ishleenk17 Jan 30, 2026

Choose a reason for hiding this comment

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

@gizas : I still think this should not be done. As doing this we are actually removing any future support to versions like 8.19, 9.0, 9.1, 9.2 (lesser than 9.2.4), 9.3.0.
Can we instead update about this agent version dependency in the readme.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

for core integrations like prometheus we really want to retain support for 8.x customers.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

The reason for that was that the beats fix elastic/beats#48218 was not imported to 8.19 versions.

See above PR for relevant backports.
This relates to previous comment from Ishleen.

If you agree I can do:

^8.16.0 || ^9.2.4 || ^9.3.1 || ^9.4.0

and just document the limitations in README?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

^8.16.0 || ^9.2.4 || ^9.3.1 || ^9.4.0 is equivalent to ^8.16.0 || ^9.2.4, so the package will be available in 9.3.0.

You probably want ^8.16.0 || ~9.2.4 || ^9.3.1.

Copy link
Copy Markdown
Contributor Author

@gizas gizas Feb 4, 2026

Choose a reason for hiding this comment

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

Thank you @jsoriano ! @tommyers-elastic , @ishleenk17 do u agree to proceed with above versions and also document the fact that the existing variables will not work in 8.x ?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@tommyers-elastic , @ishleenk17 I did the backport to 8.19. See elastic/beats#48918

So now "^8.19.3 || ~9.2.5 || ^9.3.1" is the final one.
Can I have another review please?

gizas added 3 commits January 30, 2026 11:32
Signed-off-by: Andreas Gkizas <andreas.gkizas@elastic.co>
Signed-off-by: Andreas Gkizas <andreas.gkizas@elastic.co>
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Feb 18, 2026

✅ Vale Linting Results

No issues found on modified lines!


The Vale linter checks documentation changes against the Elastic Docs style guide.

To use Vale locally or report issues, refer to Elastic style guide for Vale.

Signed-off-by: Andreas Gkizas <andreas.gkizas@elastic.co>
@elasticmachine
Copy link
Copy Markdown

💚 Build Succeeded

History

@botelastic
Copy link
Copy Markdown

botelastic bot commented Mar 20, 2026

Hi! We just realized that we haven't looked into this PR in a while. We're sorry! We're labeling this issue as Stale to make it hit our filters and make sure we get back to it as soon as possible. In the meantime, it'd be extremely helpful if you could take a look at it as well and confirm its relevance. A simple comment with a nice emoji will be enough :+1. Thank you for your contribution!

@botelastic
Copy link
Copy Markdown

botelastic bot commented Apr 19, 2026

Hi! This PR has been stale for a while and we're going to close it as part of our cleanup procedure. We appreciate your contribution and would like to apologize if we have not been able to review it, due to the current heavy load of the team. Feel free to re-open this PR if you think it should stay open and is worth rebasing. Thank you for your contribution!

@botelastic botelastic bot closed this Apr 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation. Applied to PRs that modify *.md files. Integration:prometheus Prometheus Stalled Team:obs-ds-hosted-services Observability Hosted Services team [elastic/obs-ds-hosted-services]

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants