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
For example: set a specific interval for the metrics endpoint scrape, in my case the default scrape interval in prometheus is 60s, but I need that my camel-k integrations to be scrape each 15 seconds.
A suggestion for use in command line:
kamel run Integration.java --trait prometheus.pod-monitor.spec.pod-metrics-endpoints.interval=15s
So this would be a nice pattern to customize any parameter in the PodMonitor definition.
The text was updated successfully, but these errors were encountered:
But in the case if I need different intervals, this will not fit, or just about the simple case that I just not want to manually manage the PodMonitors.
This issue has been automatically marked as stale due to 90 days of inactivity.
It will be closed if no further activity occurs within 15 days.
If you think that’s incorrect or the issue should never stale, please simply write any comment.
Thanks for your contributions!
Currently the only thing is possible to configure at the prometheus trait is the labels, as we can see here: https://camel.apache.org/camel-k/1.7.x/traits/prometheus.html
Would be a nice feature , if we would be able to configure prometheus
PodMonitor
specs (https://github.com/prometheus-operator/prometheus-operator/blob/release-0.39/Documentation/api.md#podmetricsendpoint).For example: set a specific interval for the metrics endpoint scrape, in my case the default scrape interval in prometheus is 60s, but I need that my camel-k integrations to be scrape each 15 seconds.
A suggestion for use in command line:
kamel run Integration.java --trait prometheus.pod-monitor.spec.pod-metrics-endpoints.interval=15s
So this would be a nice pattern to customize any parameter in the PodMonitor definition.
The text was updated successfully, but these errors were encountered: