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

Create a reporter for app usage stats #9

Open
usernamenumber opened this issue Apr 15, 2015 · 6 comments
Open

Create a reporter for app usage stats #9

usernamenumber opened this issue Apr 15, 2015 · 6 comments

Comments

@usernamenumber
Copy link

ARBTT looks promising for this.

For details on what a reporter is, see here.

@jasonmule
Copy link

arbtt can generate csv output as shown:

Tag,Time,Percentage
Program:Firefox,3:28:00,77.90
Program:Scratch,0:35:00,13.11
Program:rxvt,0:12:00,4.49
[...]

Then it looks like this can be transformed to:

{
    "actor": {
      "name": "Linux username",
      "mbox": "mailto:"
  },
    "verb": {
      "id": "http://adlnet.gov/expapi/verbs/interacted",
      "display": { "en-US": "interacted" }
  },
    "object": {
        "id": "http://tunapanda.com/swag/activities/programming",
        "definition": {
            "name": { "en-US": "Programming" }
        },
        "extensions": {
            "http://tunapanda.com/swag/duration": "35:33"
        }
  },
    "context": {
        "application": "Scratch"
    }
}

Was there a discussion about what base urls to use for ids?

@usernamenumber
Copy link
Author

@limikael's ktouch reporter uses tunapanda.org/ktouch (example), but I don't think there's been extensive discussion on this, though there should be. It makes sense to me to use a /swag prefix (or maybe swag.tunapanda.org for the "host"?), but Micke's spent the most time with this, so I'd like to hear his opinions if he has any.

@limikael
Copy link

What I did was to sort of push this decision, the ktouchxapi program is
independent and configurable. Look here for configuration options:

https://github.com/tunapanda/ktouchxapi/blob/master/src/ktouchxapi.js

And the option specifically related to the base url is the --targetPrefix
option. The file that Brad referred to is more a test rather than something
that is actually used when the program is actually running, as you can see
it is in the test/lab directory of the project.

So yes it is an important discussion, but I think we should make it
configurable in the reporting agents, so the discussion will be a
deployment discussion, rather than a development discussion. Also, it will
make the reporters usable by other people and organizations which hopefully
means that other people are more likely to pitch in work later on. Makes
sense?

// Micke

On Thu, Apr 23, 2015 at 5:42 AM, Brad Smith [email protected]
wrote:

@limikael https://github.com/limikael's ktouch reporter uses
tunapanda.org/ktouch (example
https://github.com/tunapanda/ktouchxapi/blob/master/test/lab/tincantest.insert.js),
but I don't think there's been extensive discussion on this, though there
should be. It makes sense to me to use a /swag prefix (or maybe
swag.tunapanda.org for the "host"?), but Micke's spent the most time with
this, so I'd like to hear his opinions if he has any.


Reply to this email directly or view it on GitHub
tunapanda/wikonnect#9 (comment).

@jasonmule
Copy link

@limikael Got it. Thanks!

@usernamenumber
Copy link
Author

Agreed. Good plan!
On Apr 23, 2015 8:44 AM, "Jason Mule" [email protected] wrote:

@limikael https://github.com/limikael Got it. Thanks!


Reply to this email directly or view it on GitHub
tunapanda/wikonnect#9 (comment).

@limikael
Copy link

limikael commented May 4, 2015

Issue moved here:

tunapanda/wikonnect#3

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