From 9bfb86bdc192a9846b2f69c1e7efe39c6216f948 Mon Sep 17 00:00:00 2001 From: saurabh3460 Date: Wed, 31 Jan 2024 13:58:17 +0530 Subject: [PATCH] remove OPTIONAL_HEADERS from sli.robot --- codebundles/rds-mysql-conn-count/sli.robot | 8 -------- 1 file changed, 8 deletions(-) diff --git a/codebundles/rds-mysql-conn-count/sli.robot b/codebundles/rds-mysql-conn-count/sli.robot index 7c1441e..19cf0a1 100644 --- a/codebundles/rds-mysql-conn-count/sli.robot +++ b/codebundles/rds-mysql-conn-count/sli.robot @@ -15,12 +15,6 @@ Suite Initialization ... pattern=\w* ... example=curl-service.shared ... default=curl-service.shared - ${OPTIONAL_HEADERS}= RW.Core.Import Secret OPTIONAL_HEADERS - ... type=string - ... description=A json string of headers to include in the request against the Prometheus instance. This can include your token. - ... pattern=\w* - ... default="{"my-header":"my-value"}" - ... example='{"my-header":"my-value", "Authorization": "Bearer mytoken"}' RW.Core.Import User Variable PROMETHEUS_HOSTNAME ... type=string ... description=The prometheus endpoint to perform requests against. @@ -63,13 +57,11 @@ Suite Initialization ... default=0 ... example=0 Set Suite Variable ${CURL_SERVICE} ${CURL_SERVICE} - Set Suite Variable ${OPTIONAL_HEADERS} ${OPTIONAL_HEADERS} Set Suite Variable ${NO_RESULT_OVERWRITE} ${NO_RESULT_OVERWRITE} Set Suite Variable ${NO_RESULT_VALUE} ${NO_RESULT_VALUE} *** Tasks *** Querying Prometheus Instance And Pushing Aggregated Data - Log ${ENV_QUERY} ${rsp}= RW.Prometheus.Query Instant ... api_url=${PROMETHEUS_HOSTNAME} ... query=${QUERY}