From 7016e71473d91a1474dce3bafeda19f7df6802f7 Mon Sep 17 00:00:00 2001 From: Prince Chaddha Date: Tue, 19 Oct 2021 20:27:46 +0530 Subject: [PATCH] Update prometheus-config-endpoint.yaml --- exposures/configs/prometheus-config-endpoint.yaml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/exposures/configs/prometheus-config-endpoint.yaml b/exposures/configs/prometheus-config-endpoint.yaml index 4f23f90587..7b6150eb2e 100644 --- a/exposures/configs/prometheus-config-endpoint.yaml +++ b/exposures/configs/prometheus-config-endpoint.yaml @@ -21,8 +21,12 @@ requests: - type: word words: - - "job_name:" - - "params:" - - "module:" - - "targets:" + - 'job_name:' + - '{"status":"success","data":' + - 'targets:' condition: and + + - type: word + part: header + words: + - 'application/json'