Skip to content

Cherry-pick #26088 to 7.x: [Metricbeat] Add state_statefulset replicas.ready#26219

Merged
ChrsMark merged 1 commit intoelastic:7.xfrom
ChrsMark:backport_26088_7.x
Jun 10, 2021
Merged

Cherry-pick #26088 to 7.x: [Metricbeat] Add state_statefulset replicas.ready#26219
ChrsMark merged 1 commit intoelastic:7.xfrom
ChrsMark:backport_26088_7.x

Conversation

@ChrsMark
Copy link
Copy Markdown
Member

@ChrsMark ChrsMark commented Jun 9, 2021

Cherry-pick of PR #26088 to 7.x branch. Original message:

Add a "replicas.ready" field to the state_statefulset metricset of the
Kubernetes module.

This is drawn from the "readyReplicas" value in the Kubernetes
StatefulSetStatus API response.

What does this PR do?

Adds a replicas.ready field to the Kubernetes state_statefulset metricset.

Why is it important?

Allows the operator to define alerts on ready/unready replicas in a StatefulSet.

Checklist

  • My code follows the style guidelines of this project
  • [] I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • [] I have made corresponding change to the default configuration files
  • I have added tests that prove my fix is effective or that my feature works
  • I have added an entry in CHANGELOG.next.asciidoc or CHANGELOG-developer.next.asciidoc.

How to test this PR locally

MODULE=kubernetes mage -v test

Related issues

Add a "replicas.ready" field to the state_statefulset metricset of the
Kubernetes module.

This is drawn from the "readyReplicas" value in the Kubernetes
StatefulSetStatus API response.

(cherry picked from commit dbde7db)
@ChrsMark ChrsMark added [zube]: In Review backport Team:Integrations Label for the Integrations team labels Jun 9, 2021
@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label Jun 9, 2021
@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/integrations (Team:Integrations)

@botelastic botelastic bot removed the needs_team Indicates that the issue/PR needs a Team:* label label Jun 9, 2021
@elasticmachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

the below badges are clickable and redirect to their specific view in the CI or DOCS
Pipeline View Test View Changes Artifacts preview

Expand to view the summary

Build stats

  • Build Cause: Pull request #26219 opened

  • Start Time: 2021-06-09T07:15:52.890+0000

  • Duration: 95 min 5 sec

  • Commit: 9a56174

Test stats 🧪

Test Results
Failed 0
Passed 8166
Skipped 2267
Total 10433

Trends 🧪

Image of Build Times

Image of Tests

💚 Flaky test report

Tests succeeded.

Expand to view the summary

Test stats 🧪

Test Results
Failed 0
Passed 8166
Skipped 2267
Total 10433

@ChrsMark ChrsMark merged commit 240062b into elastic:7.x Jun 10, 2021
@zube zube bot removed the [zube]: Done label Sep 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport Team:Integrations Label for the Integrations team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants