[9.1](backport #48218) [Prometheus] Remote - Write: Enforce Maxdecoding Length check#48361
Closed
mergify[bot] wants to merge 1 commit into
Closed
[9.1](backport #48218) [Prometheus] Remote - Write: Enforce Maxdecoding Length check#48361mergify[bot] wants to merge 1 commit into
mergify[bot] wants to merge 1 commit into
Conversation
* fix the snappy decompression Signed-off-by: Andreas Gkizas <andreas.gkizas@elastic.co> * merging new config vars Signed-off-by: Andreas Gkizas <andreas.gkizas@elastic.co> --------- Signed-off-by: Andreas Gkizas <andreas.gkizas@elastic.co> Co-authored-by: Brandon Morelli <brandon.morelli@elastic.co> (cherry picked from commit 38cc702)
6 tasks
Contributor
🤖 GitHub commentsJust comment with:
|
Contributor
|
Pinging @elastic/obs-ds-hosted-services (Team:obs-ds-hosted-services) |
Contributor
🔍 Preview links for changed docs |
Contributor
|
Close this as we documented that backport will be done in ga 9.2.5, ga 9.3.1, ga 9.4 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Proposed commit message
Checklist
stresstest.shscript to run them under stress conditions and race detector to verify their stability../changelog/fragmentsusing the changelog tool.How to test this PR locally
Follow the steps of doc to deploy elastic stack and metricbeat locally
Specifically add the following configuration for remote-write prometheus module:
Prometheus Module Config
apiVersion: v1 kind: ConfigMap metadata: name: metricbeat-daemonset-modules namespace: kube-system labels: k8s-app: metricbeat data: prometheus.yml: |- - module: prometheus metricsets: - remote_write host: "0.0.0.0" port: 9201 period: 10sInstall prometheus in your kind cluster
Install the following service in order to be able your prometheus server to send remote-write metrics to metricbeat
Metricbeat Service
--- apiVersion: v1 kind: Service metadata: name: metricbeat-remote-write namespace: kube-system labels: k8s-app: metricbeat spec: ports: - port: 9201 protocol: TCP targetPort: 9201 selector: k8s-app: metricbeat sessionAffinity: None type: ClusterIPConfigure prometheus server with remote write
Metricbeat Service
Save following to the trigger-pod.yaml. Install following pod to be able to create snappy requests and test the new configs
kubeclt apply -f trigger-pod.yaml
Related issues
Screenshots
The metrics ingestion from prometheus remote write works fine with no problems
No restars of metricbeat during our tests:
Logs
This is an automatic backport of pull request #48218 done by [Mergify](https://mergify.com).