Comments (8)
I have started working on exposing Job metrics. I have a dev build working, I think, though it hasn't been thoroughly tested to ensure there are no edge cases (or cases simply unlike the state of my test clusters) where the code blows up. I haven't started on the unit tests, either. I'm about to start looking at CronJobs to see what can/should be exposed there.
Quite frankly I'm sort of hacking at this. It's going well but if anyone is interested in reviewing code and/or helping write the unit tests, that'd be swell. Otherwise I'll try to get it all done. I'm working here: https://github.com/vdavidoff/kube-state-metrics
from kube-state-metrics.
Might also be worth having the PodStatuses for Jobs ( for the number of failures )
from kube-state-metrics.
@vdavidoff feel free to open a PR already, that exactly the situation what they're for 🙂. Reviews aren't there to make anyone feel bad or unqualified, we can all learn from them and we can track progress a lot better. There is no need for it to be completely done, it's perfectly fine to be work in progress.
If you can't manage to finish the unit tests, but the rest of the implementation is more or less done, we may just pick it up from where you left off - no work is wasted work. Thanks a lot for your effort!
from kube-state-metrics.
Closed by #131
from kube-state-metrics.
Cronjobs are being promoted to beta in 1.6 kubernetes/enhancements#19
this would be super nice to have
from kube-state-metrics.
Is there any progress on this?
from kube-state-metrics.
I am currently not aware of anyone working on this, if anyone wants to grab it, go head! 🙂
from kube-state-metrics.
I have Job and CronJob metrics working. I think the metrics I'm exposing, and how I'm exposing them, makes sense, but feedback on that as well as coding choices etc. is most welcome. In fact I highly recommend it.
I can assure you that someone who is more familiar with the tests than I am will be much quicker at getting the _test files done. My plan is to do them as I have time, but I don't know how long that'll be, and I realize that nothing I have done will get merged until those are complete. Or, I assume that's the case, at least.
from kube-state-metrics.
Related Issues (20)
- Node selection for fully qualified node-names fails (--node=ip-xx-xx-xx-xx.myzone.com) HOT 2
- Cut 2.12.1 HOT 9
- Purpose of `kube_pod_status_ready{condition="unknown"}` HOT 13
- `kube_job_failed` should have `reason` label HOT 5
- Image link in README is outdated HOT 2
- Custom resource state metrics wildcard not working HOT 1
- Flux custom metrics monitoring broken in 2.12 HOT 2
- Duplicate tolerations causing issue with prometheus >= 2.52.0 HOT 2
- failed to list *v2.HorizontalPodAutoscaler: the server could not find the requested resource HOT 3
- CVE-2023-45288 in golang.org/x/net HOT 2
- kube_pod_spec_volumes_persistentvolumeclaims only report the first PVC when there are more than one PVC mounted to the same Pod. HOT 3
- K-S-M job stops when all (*) Label and annotations are allowed HOT 1
- When using limited privilege environment (roles) empty metrics endpoint HOT 3
- Duplicate kube_horizontalpodautoscaler_spec_target_metric HOT 2
- [node metrics] add message field to kube_node_status_condition HOT 5
- Duplicate sample for HPA metrics using multiple external metrics with same metric name HOT 2
- When is the next release scheduled? Will it be based on "Debian GNU/Linux 12 (Bookworm)"? HOT 4
- default log level should be shown in usage information HOT 2
- kube_endpoint_address duplicates with Prometheus 2.52 HOT 10
- Scrapes hang when deadlocked HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kube-state-metrics.