Skip to content

Commit

Permalink
mapic: Skip unknown pushes
Browse files Browse the repository at this point in the history
just in case we ever change the push url logic
  • Loading branch information
victorges committed Nov 14, 2022
1 parent a62a21d commit 729de88
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/app/mistapiconnector/stats_collector.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,8 @@ func createMetricsEvent(nodeID, region string, info *streamInfo, metrics *stream
for i, push := range metrics.pushes {
pushInfo := info.pushStatus[push.OriginalURI]
if pushInfo == nil {
pushInfo = &pushStatus{}
info.pushStatus[push.OriginalURI] = pushInfo
glog.Infof("Mist exported metrics from unknown push. streamId=%q pushURL=%q", info.id, push.OriginalURI)
continue
}
var metrics *data.MultistreamMetrics
if push.Stats != nil {
Expand Down

0 comments on commit 729de88

Please sign in to comment.