[Metricbeat] Add state_statefulset replicas.ready#26088
Conversation
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.
|
Pinging @elastic/integrations (Team:Integrations) |
|
cc @eedugon |
💚 Build Succeeded
Expand to view the summary
Build stats
Test stats 🧪
Trends 🧪💚 Flaky test reportTests succeeded. Expand to view the summary
Test stats 🧪
|
ChrsMark
left a comment
There was a problem hiding this comment.
lgtm, thanks @Jarpy!
It will require a change in https://github.com/elastic/integrations/tree/master/packages/kubernetes too to add the extra field.
Can you open an issue there @Jarpy please and assign it to me so as not to forget about it?
|
Thanks, @ChrsMark. <3 Not sure how to handle backports, is that all automated these days? |
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)
|
Nope, we still handle the backports manually. I opened the backport for 7.14 so we are just fine here! |
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) Co-authored-by: Toby McLaughlin <toby@jarpy.net>
|
Sweet. Thanks so much, @ChrsMark. |
* master: (26 commits) Report total and free CPU for vSphere virtual machines (elastic#26167) [filebeat] Add preserve_original_event option to o365audit input (elastic#26273) Change xml processor names in script processor to match convention (elastic#26263) [Oracle] Fixing default values for paths in config template (elastic#26276) Add more ECS fields to logs (elastic#25998) [Heartbeat] Fix broken invocation of synth package (elastic#26228) rename sqs file name (elastic#26227) Populate the agent action result if there is no matching action handlers (elastic#26152) Add ISO8601 as supported timestamp type (elastic#25564) Move Filebeat azure module to GA (elastic#26168) Filebeat azure module pipeline fixes and changes (elastic#26148) libbeat: monitor version (elastic#26214) Add new parser to filestream input: container (elastic#26115) [Metricbeat] Add state_statefulset replicas.ready (elastic#26088) Disable test processors system test for windows 10 (elastic#26216) Fix startup with failing configuration (elastic#26126) Remove 32 bits version of Elastic Agent. (elastic#25708) Chane fleetmode detection to ony use management.enabled (elastic#26180) Make `filestream` input GA (elastic#26127) libbeat/idxmgmt/ilm: fix alias creation (elastic#26146) ...
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.readyfield to the Kubernetesstate_statefulsetmetricset.Why is it important?
Allows the operator to define alerts on ready/unready replicas in a StatefulSet.
Checklist
I have commented my code, particularly in hard-to-understand areasI have made corresponding change to the default configuration filesCHANGELOG.next.asciidocorCHANGELOG-developer.next.asciidoc.How to test this PR locally
Related issues