-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
octavia-cli [Telemetry]: High MTU usage on Segment #18065
Comments
@rileybrook We just received a warning from Segment that we're close to exceeding our monthly threshold again, after doubling it last month. Looking at the different sources, it appears to be correctly calculating MTUs from sources like our website, backend and frontend but the CLI remains high (24k) compared to the actual number of users that are using it. Could we prioritize looking into this to avoid continued overages from Segment? |
@nataliekwong We can look at this during the week of Dec 5-9. Until then we are heads-down working towards shipping the Cloud API alpha on Dec 5th. |
@nataliekwong my working theory of why this is currently happening is we might be creating a new anonymous user per CLI action. Was curious though how you pulled the June numbers:
When I look at the graphs etc. in segment currently I see this:
|
@alafanechere pulled the original numbers and would have more context on how it was pulled. I think it might have been from BigQuery. Augustin also suggested at the time that maybe the problem is due to not having an identify call. |
Hey @JonsSpaghetti and @alafanechere - is there any additional context I can help provide here to resolve the MTU overcounting? We just received another Segment overage bill for $1600 for the month of October, and I imagine that means their November invoice will be about the same (& future invoices until we resolve). |
@nataliekwong I have a fix that I'm PR'ing now so I am hopeful we'll have this resolved within the week. |
Thank you! I'll monitor MTUs in Segment from here. |
Current Behavior
The telemetry built-in the CLI relies on Segment.
It appears that it's consuming too many Monthly Tracked Users (MTU):
In June 2022 we consumed 18K MTUs on the CLI. Which is closely matching the number of CLI command run.
But in June we had on octavia-cli:
Which should correspond to ~5275 MTUs.
Expected Behavior
A single MTU is consume for each unique user id / anymous id.
Resource
What's an MTU and how it is tracked
The text was updated successfully, but these errors were encountered: