mirror of
https://github.com/zulip/zulip.git
synced 2025-10-27 01:53:59 +00:00
Update generate-activity-metrics to use new graphite url
(imported from commit 4664e9f389d05edb014ddb3b7f271cfc32245f3f)
This commit is contained in:
@@ -27,7 +27,7 @@ def get_data_url(buckets, realm):
|
|||||||
# This is the slightly-cleaned up JSON api version of https://graphiti.zulip.net/graphs/945c7aafc2d
|
# This is the slightly-cleaned up JSON api version of https://graphiti.zulip.net/graphs/945c7aafc2d
|
||||||
#
|
#
|
||||||
# Fetches 1 month worth of data
|
# Fetches 1 month worth of data
|
||||||
DATA_URL="https://graphite.zulip.net/render/?from=-1000d&format=json"
|
DATA_URL="https://stats1.zulip.net:444/render/?from=-1000d&format=json"
|
||||||
for bucket in buckets:
|
for bucket in buckets:
|
||||||
if realm != 'all':
|
if realm != 'all':
|
||||||
statsd_target = "stats.gauges.staging.users.active.%s.%s" % (realm_key, bucket)
|
statsd_target = "stats.gauges.staging.users.active.%s.%s" % (realm_key, bucket)
|
||||||
|
|||||||
Reference in New Issue
Block a user