Skip to content

Commit

Permalink
fix(eap-alerts): Fix subscriptions referrer for eap alerts (#6662)
Browse files Browse the repository at this point in the history
We weren't setting the correct referrer, copy it onto the
timeseries request.
  • Loading branch information
shruthilayaj authored Dec 12, 2024
1 parent 5fc3d7d commit 5a2faee
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions snuba/subscriptions/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,8 @@ def build_request(
request_class.meta.start_timestamp.CopyFrom(start_time_proto)
request_class.meta.end_timestamp.CopyFrom(end_time_proto)

request_class.meta.referrer = referrer

request_class.granularity_secs = self.time_window_sec

return request_class
Expand Down

0 comments on commit 5a2faee

Please sign in to comment.