You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As Cronjobs and Jobs have pod status phase lifecycle, there should be a flag for the phase like "Running", "Container creating", "Completed" etc.
Describe a specific use case for the enhancement or feature:
We try to implement annotations based autodiscovery via condition for scraping prometheus metrics. Unfortunately we have cronjobs with metrics, that complete on some point, from which on they should be ignored by the Prometheus integration. To achieve that, a condition for checking completed jobs is necessary.
What is the definition of done?
The kubernetes metadata provider should include this field. As a followup, condition checks can be built, to exclude pods that are completed.
Since the update to 8.16.1, the prometheus integration now goes degraded after a timout, which causes the entire agent to become unhealthy. Is this expected bahviour?
Describe the enhancement:
As Cronjobs and Jobs have pod status phase lifecycle, there should be a flag for the phase like "Running", "Container creating", "Completed" etc.
Describe a specific use case for the enhancement or feature:
We try to implement annotations based autodiscovery via condition for scraping prometheus metrics. Unfortunately we have cronjobs with metrics, that complete on some point, from which on they should be ignored by the Prometheus integration. To achieve that, a condition for checking completed jobs is necessary.
What is the definition of done?
The kubernetes metadata provider should include this field. As a followup, condition checks can be built, to exclude pods that are completed.
As reference the doc, for the currently available metadata fields: https://www.elastic.co/guide/en/fleet/current/kubernetes-provider.html
The text was updated successfully, but these errors were encountered: