1
0
mirror of https://github.com/coreos/prometheus-operator.git synced 2026-02-05 06:45:27 +01:00

Add a filter for non-running pods (#5049)

Add a boolean option to PodMetricsEndpoint to filter out non-running
phases.
* Enable by default.

Fixes: https://github.com/prometheus-operator/prometheus-operator/issues/4816

Signed-off-by: SuperQ <superq@gmail.com>
This commit is contained in:
Ben Kochie
2022-09-28 18:39:29 +02:00
committed by GitHub
parent 9c0a71dcfe
commit edf499e8a2
14 changed files with 230 additions and 32 deletions

View File

@@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
//nolint
// nolint
package log
import (