the-algorithm/timelineranker/server/src/main/scala/com/twitter/timelineranker/config/RequestScopes.scala
twitter-team ef4c5eb65e Twitter Recommendation Algorithm
Please note we have force-pushed a new initial commit in order to remove some publicly-available Twitter user information. Note that this process may be required in the future.
2023-03-31 17:36:31 -05:00

14 lines
674 B
Scala

package com.twitter.timelineranker.config
import com.twitter.timelines.util.stats.RequestScope
object RequestScopes {
val HomeTimelineMaterialization: RequestScope = RequestScope("homeMaterialization")
val InNetworkTweetSource: RequestScope = RequestScope("inNetworkTweet")
val RecapHydrationSource: RequestScope = RequestScope("recapHydration")
val RecapAuthorSource: RequestScope = RequestScope("recapAuthor")
val ReverseChronHomeTimelineSource: RequestScope = RequestScope("reverseChronHomeTimelineSource")
val EntityTweetsSource: RequestScope = RequestScope("entityTweets")
val UtegLikedByTweetsSource: RequestScope = RequestScope("utegLikedByTweets")
}