clasp metrics

Created on 18 Oct 2018  路  9Comments  路  Source: google/clasp

Expected Behavior

Be able to view metrics such as # of executions, active users, active processes.

Maybe a metrics dashboard:

  • clasp metrics

Actual Behavior

Does not exist. We don't use these API methods. Could they be interesting?

good first issue help wanted new command

Most helpful comment

I decided to pick this up. I am looking for some input on how the output of the command should look like. Does this output style look reasonable?

$ clasp metrics
2020-03-18:  0 users,  0 executions,  0 failed
2020-03-17:  0 users,  0 executions,  0 failed
2020-03-16:  0 users,  0 executions,  0 failed
2020-03-15:  1 users,  1 executions,  0 failed
2020-03-14:  2 users, 21 executions,  2 failed
2020-03-13:  0 users,  0 executions,  0 failed
2020-03-12:  0 users,  0 executions,  0 failed

All 9 comments

I want this command!
Currently, We should use GUI on web to check up if there are problems in clasp project .
By using this function, We can investigate the problem with CUI only.

It could be a useful command. I don't have any add-ons with significant users, so it's less useful for me.

It's a good first issue.

Useful for at least for these metrics:

"activeUsers"
"totalExecutions"
"failedExecutions"

I decided to pick this up. I am looking for some input on how the output of the command should look like. Does this output style look reasonable?

$ clasp metrics
2020-03-18:  0 users,  0 executions,  0 failed
2020-03-17:  0 users,  0 executions,  0 failed
2020-03-16:  0 users,  0 executions,  0 failed
2020-03-15:  1 users,  1 executions,  0 failed
2020-03-14:  2 users, 21 executions,  2 failed
2020-03-13:  0 users,  0 executions,  0 failed
2020-03-12:  0 users,  0 executions,  0 failed

@kalmi

Is it possible get output without any separate signs? : & , are redundant.

@contributorpw Thanks, good idea. Dropped them. Which one do you prefer?

2020-03-20 0 users  0 executions 0 failed
2020-03-19 0 users  0 executions 0 failed
2020-03-18 0 users  0 executions 0 failed
2020-03-17 0 users  0 executions 0 failed
2020-03-16 0 users  0 executions 0 failed
2020-03-15 1 user   1 execution  0 failed
2020-03-14 2 users 21 executions 2 failed
2020-03-20  0 users   0 executions  0 failed
2020-03-19  0 users   0 executions  0 failed
2020-03-18  0 users   0 executions  0 failed
2020-03-17  0 users   0 executions  0 failed
2020-03-16  0 users   0 executions  0 failed
2020-03-15  1 user    1 execution   0 failed
2020-03-14  2 users  21 executions  2 failed
2020-03-20 0 users 0 executions 0 failed
2020-03-19 0 users 0 executions 0 failed
2020-03-18 0 users 0 executions 0 failed
2020-03-17 0 users 0 executions 0 failed
2020-03-16 0 users 0 executions 0 failed
2020-03-15 1 user 1 execution 0 failed
2020-03-14 2 users 21 executions 2 failed

Also, is the pluralisation (user/users) a good idea? Or is it just confusing?

I'd like the second one.

I can't say something best about pluralisation =) I'd like simple stuff.

I am glad. I prefer that one too.

@kalmi, I look forward to your suggestions. I would really like this feature.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dustinmichels picture dustinmichels  路  4Comments

arichardsmith picture arichardsmith  路  6Comments

dskeithbuck picture dskeithbuck  路  5Comments

coccoinomane picture coccoinomane  路  5Comments

freddy-daniel picture freddy-daniel  路  7Comments