From 7be24672637837f4004d28be11adce19e15add06 Mon Sep 17 00:00:00 2001 From: nikodemas <47255905+nikodemas@users.noreply.github.com> Date: Fri, 13 Sep 2024 10:27:32 +0200 Subject: [PATCH] Update wma_agent_count_to_opensearch.py --- src/python/CMSSpark/wma_agent_count_to_opensearch.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/python/CMSSpark/wma_agent_count_to_opensearch.py b/src/python/CMSSpark/wma_agent_count_to_opensearch.py index 03dc252..667dbd7 100644 --- a/src/python/CMSSpark/wma_agent_count_to_opensearch.py +++ b/src/python/CMSSpark/wma_agent_count_to_opensearch.py @@ -3,7 +3,7 @@ """ File : wma_agent_count_to_opensearch.py Author : Ceyhun Uzunoglu -Description : Sends historical hourly aggregated WMArchive data to es-cms test tenant for debugging purpose +Description : Sends historical hourly aggregated WMArchive data to os-cms test tenant for debugging purpose Hourly aggregated agent count per host with following fields: "wmats_midday": aggregation is daily, so we use midday timestamp of wmats "day": string yyyy-mm-dd @@ -112,7 +112,7 @@ def send(part, opensearch_host, es_secret_file, es_index_template): @click.option("--start_date", required=False, type=click.DateTime(_VALID_DATE_FORMATS)) @click.option("--end_date", required=False, type=click.DateTime(_VALID_DATE_FORMATS)) @click.option('--es_host', required=True, default=None, type=str, - help='OpenSearch host name without port: es-cms1.cern.ch/es') + help='OpenSearch host name without port: os-cms.cern.ch/os') @click.option('--es_secret_file', required=True, default=None, type=str, help='OpenSearch secret file that contains "user:pass" only') @click.option('--es_index', required=True, default=None, type=str,