Skip to content
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

Not able to see numbers in Analytics screen #300

Closed
anshulbhargava opened this issue Nov 7, 2016 · 5 comments
Closed

Not able to see numbers in Analytics screen #300

anshulbhargava opened this issue Nov 7, 2016 · 5 comments
Milestone

Comments

@anshulbhargava
Copy link

anshulbhargava commented Nov 7, 2016

Hi,
I jus installed API Umbrella on one of Google Cloud Machines. It works fine and the api proxying works as expected. However, when I navigate to any of the analytics-related screens, I see no metrics. The screen renders properly but the numbers are all zeroes. I guess it has something to do with database interaction, and I tried debugging the possible issues a lot, but without any success.

Attaching the screenshot for reference.
screen shot 2016-11-07 at 5 35 42 pm
Can anyone please point out what might the issue be?

@kalyanmulampaka
Copy link

kalyanmulampaka commented Nov 22, 2016

I have the same issue.
No data in the analytics. apis are working fine.
API Umbrella Version 0.13.0

@kalyanmulampaka
Copy link

Restarting the docker container fixed the issue. I can now view the analytics.

@anshulbhargava
Copy link
Author

Thanks Kalyan. My installation was, however, not on docker. It was a Ubuntu install. Not sure how to fix in that one.

@GUI
Copy link
Member

GUI commented Nov 23, 2016

@anshulturvo: Sorry for the trouble and delay. Inside your Ubuntu machine, if you try sudo /etc/init.d/api-umbrella reload and then try making some requests, do the analytics then load? If that doesn't work, what about trying sudo /etc/init.d/api-umbrella restart?

If this is what I think it is, then there might sometimes be a race condition on the very first startup that resolves itself after a single reload or restart. If reloading or restating fixes it for you, that would be useful to know. I believe we might have this possible race condition already fixed in master, so if this is the culprit, it should be part of the next release. But if reloading doesn't work, let us know, and we can try to get to the bottom of it.

@GUI GUI added this to the v0.14.0 milestone Feb 21, 2017
@GUI
Copy link
Member

GUI commented Feb 23, 2017

The analytics issues with docker containers, as well as another possible race condition on startup have been fixed in the v0.14.0 release. So I think this should be fixed, but let us know if you're still seeing any issues.

@GUI GUI closed this as completed Feb 23, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants