usage analytics for a library

35 views
Skip to first unread message

Pedro Cruz

unread,
Jan 25, 2017, 1:02:11 PM1/25/17
to sage-cloud
Hello,

we are building a library (now only working with SageMath) and we want to know what people are using from it in order to improve.

The library is running inside SMC, as a user python library,  or in an Ubuntu desktop.

What possible "software analysis" library can we use (online or offline) to check certain aspects of the usage?

Thank you,
Pedro

William Stein

unread,
Jan 25, 2017, 1:07:07 PM1/25/17
to sage-cloud
We don't currently support or provide anything like this, and don't
even do it ourselves, except watching filetype usage. We definitely
dream of doing so someday, which would really make it easier to
improve open source software!

William

> Thank you,
> Pedro
>
> --
> You received this message because you are subscribed to the Google Groups
> "sage-cloud" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to sage-cloud+...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sage-cloud/0be05934-168e-4758-87cc-8ff23e5c079a%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.



--

Best Regards,
William Stein

CEO, SageMath, Inc.

Harald Schilly

unread,
Jan 25, 2017, 4:28:51 PM1/25/17
to sage-cloud
On Wed, Jan 25, 2017 at 7:02 PM, Pedro Cruz <pedrocr...@gmail.com> wrote:
> What possible "software analysis" library can we use (online or offline) to
> check certain aspects of the usage?

You need a way to send the data somewhere, so I don't know how you
would want to track offline usage. That's impossible.

Besides that, your question has nothing to do with SMC. What you ask
for are in-app metrics. One option is to go with something like
https://deskmetrics.com/features/analytics/
... but you can also use google analytics and send stats via a client lib like
https://github.com/analytics-pros/universal-analytics-python
For GA, the main detail you have to think about is an automatically
generated user id.

I have never used any of the above, so I'm not sure how far this gets you.

-- Harald

William Stein

unread,
Jan 25, 2017, 4:40:53 PM1/25/17
to sage-cloud
On Wed, Jan 25, 2017 at 1:28 PM, Harald Schilly
<harald....@gmail.com> wrote:
> On Wed, Jan 25, 2017 at 7:02 PM, Pedro Cruz <pedrocr...@gmail.com> wrote:
>> What possible "software analysis" library can we use (online or offline) to
>> check certain aspects of the usage?
>
> You need a way to send the data somewhere, so I don't know how you
> would want to track offline usage. That's impossible.
>
> Besides that, your question has nothing to do with SMC.

I think perhaps he's imaging something like us telling him how many
Sage worksheets (say) imported his library during a given period of time.

William

Pedro Cruz

unread,
Jan 26, 2017, 10:57:03 AM1/26/17
to sage-cloud
We are looking for a library to log certain "macroscopic" activities when one uses our library.

I'm considering this:


to collect:

- how many sage worksheets use the library when an import is run (and when)
- time laps between some commands
- usage of bash commands related to the library
- how many "syntax errors" (and type of error) during the execution of a certain command

I've never did this kind of "big brother stuff" but this could help our (very small team) of users to find where they spend most time and to write more on "tutorials" about it. (and improve).

Possibly, all of this could be done using some other technique.
Maybe there is another good suggestion.

Thank you for your attention.
Pedro
Reply all
Reply to author
Forward
0 new messages