Skip to content

Commit 6f223f8

Browse files
author
Stephan Lammel
committed
update query and parsing for ES cluster split
1 parent e351415 commit 6f223f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

capacity/capacity_admin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ def capa_startd_usage():
274274
# ##################################################### #
275275
# return dictionary of max cores used during last month #
276276
# ##################################################### #
277-
URL_GRAFANA = "https://monit-grafana.cern.ch/api/datasources/proxy/8787/_msearch?filter_path=responses.aggregations.cpus_per_site.buckets.key,responses.aggregations.cpus_per_site.buckets.max_cpus_a.value,responses.aggregations.cpus_per_site.buckets.max_cpus_b.value"
277+
URL_GRAFANA = "https://monit-grafana.cern.ch/api/datasources/proxy/9668/_msearch?filter_path=responses.aggregations.cpus_per_site.buckets.key,responses.aggregations.cpus_per_site.buckets.max_cpus_a.value,responses.aggregations.cpus_per_site.buckets.max_cpus_b.value"
278278
HDR_GRAFANA = {'Authorization': "Bearer eyJrIjoiZWRnWXc1bUZWS0kwbWExN011TGNTN2I2S1JpZFFtTWYiLCJuIjoiY21zLXNzYiIsImlkIjoxMX0=", 'Content-Type': "application/json; charset=UTF-8"}
279279
#
280280
siteRegex = re.compile(r"T\d_[A-Z]{2,2}_\w+")

0 commit comments

Comments
 (0)