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

Question: Does this have a webinterface? #51

Open
amenk opened this issue Jul 20, 2018 · 7 comments
Open

Question: Does this have a webinterface? #51

amenk opened this issue Jul 20, 2018 · 7 comments

Comments

@amenk
Copy link
Contributor

amenk commented Jul 20, 2018

Thanks for the code :-) Especially I like that it is able to collect events offline and upload them later.

I was wondering how the statistics are analysed ? Is there a GUI for this or how is it done?

@biodranik
Copy link
Owner

There is no GUI at the moment ) You write a small C++ script to analyze statistics and it's results are displayed in the console. Of course, you can send results into any UI or another visual system.
MAPS.ME team in Moscow has added python bindings to analyze statistics in Python, you can check their fork too.

@amenk
Copy link
Contributor Author

amenk commented Jul 24, 2018

tried their python bindings:

  • used date_splitter bin/date_splitter by_date/ < data/alohalytics_messages
  • zipped the results to .gz
  • ~/Alohalytics/snippets/pyaloha/examples# python2.7 run.py count_users_and_events 20180725 20180725

Now getting

 ValueError: No JSON object could be decoded

But actually there is almost no data in the messages file ... maybe that's why .. I keep trying

@amenk
Copy link
Contributor Author

amenk commented Jul 24, 2018

Actuall I can not get the date_splitter running anymore:

 # cat data/alohalytics_messages | bin/date_splitter  by_date/
 Failed to read 4 bytes from input stream! Read 0

@biodranik
Copy link
Owner

Do you get any output from demo binary in examples/server/build ?
$ cat data/alohalytics_messages | path_to_alohalytics/examples/server/build/demo

@amenk
Copy link
Contributor Author

amenk commented Jul 27, 2018

That one seems to work without errors (get lots of timestamped log entries)

@biodranik
Copy link
Owner

That’s strange. How did you collect events in data/alohalytics_messages?

@amenk
Copy link
Contributor Author

amenk commented Jul 27, 2018

AS mentioned before, I am using the maps.me fork --- and the events are also collected using a maps.me fork (Alohalytics Code not touched)

Dushistov pushed a commit to Dushistov/Alohalytics that referenced this issue Sep 22, 2020
fix for deserialization of SerializableDate in protocol
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

2 participants