Skip to content

Commit 5446630

Browse files
author
Stephan Lammel
committed
switch datasource/token
1 parent 9f46144 commit 5446630

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

capacity/capacity_admin.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -274,8 +274,8 @@ 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/8332/_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"
278-
HDR_GRAFANA = {'Authorization': "Bearer eyJrIjoiWGdESVczR28ySGVVNFJMMHpRQ0FiM25EM0dKQm5HNTEiLCJuIjoiZnRzX2NsaSIsImlkIjoyNX0=", 'Content-Type': "application/json; charset=UTF-8"}
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"
278+
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+")
281281
#

0 commit comments

Comments
 (0)