https://github.com/manland/mattermost-plugin-analytics
A mattermost plugin to show analytics of your instance
https://github.com/manland/mattermost-plugin-analytics
analytics golang mattermost mattermost-plugin
Last synced: 7 months ago
JSON representation
A mattermost plugin to show analytics of your instance
- Host: GitHub
- URL: https://github.com/manland/mattermost-plugin-analytics
- Owner: manland
- License: apache-2.0
- Created: 2019-02-20T20:26:24.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-04-24T09:30:23.000Z (over 6 years ago)
- Last Synced: 2024-06-20T12:51:47.733Z (over 1 year ago)
- Topics: analytics, golang, mattermost, mattermost-plugin
- Language: Go
- Size: 692 KB
- Stars: 17
- Watchers: 3
- Forks: 5
- Open Issues: 25
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Mattermost Plugin Analytics [](https://travis-ci.com/manland/mattermost-plugin-analytics)
This plugin displays analytics for your Mattermost instance. When you enter `/analytics` it responds with :

## Installation
1. Go to the [releases page of this GitHub repository](https://github.com/manland/mattermost-plugin-analytics/releases) and download the latest release for your Mattermost server.
2. Upload this file in the Mattermost **System Console > Plugins > Management** page to install the plugin. To learn more about how to upload a plugin, [see the documentation](https://docs.mattermost.com/administration/plugins.html#plugin-uploads).## Development
```
make
```This will produce a single plugin file (with support for multiple architectures) for upload to your Mattermost server:
```
dist/com.github.manland.mattermost-plugin-analytics-X.X.X.tar.gz
```There is a build target to automate deploying and enabling the plugin to your server, but it requires configuration and [http](https://httpie.org/) to be installed:
```
export MM_SERVICESETTINGS_SITEURL=http://localhost:8065
export MM_ADMIN_USERNAME=admin
export MM_ADMIN_PASSWORD=password
make deploy
```Alternatively, if you are running your `mattermost-server` out of a sibling directory by the same name, use the `deploy` target alone to unpack the files into the right directory. You will need to restart your server and manually enable your plugin.
In production, deploy and upload your plugin via the [System Console](https://about.mattermost.com/default-plugin-uploads).