mattermost-plugin-analytics icon indicating copy to clipboard operation
mattermost-plugin-analytics copied to clipboard

Should I expect something from the all session button?

Open uhlhosting opened this issue 6 years ago • 6 comments

image

What is the role of the all sessions line chart, looks like a button, yet it cannot be pressed.

uhlhosting avatar Apr 22 '19 21:04 uhlhosting

Its an aggregate chart of all your stored sessions, with nb messages by channel over the time.

You can see an example on the screenshot : https://github.com/manland/mattermost-plugin-analytics/blob/master/screenshot.png

But I guess you haven't session stored (because its the first week). I need to add a check!

Thanks to report this minor issue

manland avatar Apr 23 '19 10:04 manland

@manland hi, thanks for the great plugin. I have a question. What do the stored sessions mean?

tgly307 avatar May 01 '19 12:05 tgly307

@tgly307 hi thanks!

Stored sessions are all previous week recorded in kvstore has analytic :

type Analytic struct {
	// Start of recording
	Start time.Time
	// End of recording metrics (time.Zero by default)
	End time.Time
	// Channels store number of messages by channels id
	Channels map[string]int64
	// ChannelsReply store number of reply by channels id
	ChannelsReply map[string]int64
	// Users store number of messages by user id
	Users map[string]int64
	// UsersReply store number of reply by user id
	UsersReply map[string]int64
	// FilesNb store number of files uploaded
	FilesNb int64
	// FilesSize store weigth of files uploaded
	FilesSize int64
}

So for each week you have nb messages by channel, nb reply by channel, nb files downloaded... And I use all recorded analytic to build a chart of nb messages by channel over time.

I could draw all kind of chart with all this data, but I think messages by channel is the better. If you want other charts just open issue and I will add them ;)

manland avatar May 01 '19 12:05 manland

@manland thanks for reply, I get it.

tgly307 avatar May 02 '19 17:05 tgly307

Also on mobile app in iOS the charts dont show up. Maybe would be great to change them into values or?

uhlhosting avatar May 04 '19 09:05 uhlhosting

@uhlhosting yes I should do better alt messaging. And maybe try png version, maybe it will work on mobile app... I test it ASAP ;)

manland avatar May 07 '19 12:05 manland