🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

botkit-studio-metrics

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

botkit-studio-metrics

a client for botkit studio's enhanced analytics capabilities

latest
Source
npmnpm
Version
0.0.5
Version published
Maintainers
1
Created
Source

DEPRECATED Botkit Studio Advanced Analytics

This module is officially deprecated.

This module enables the advanced analytics and extended metrics available in Botkit Studio.

To enable these features in a Botkit Studio-powered app, install this module with npm, and add it to your Botkit code. This will enable your app to send metrics data to the Botkit Studio APIs.

npm install --save botkit-studio-metrics

Add the following to your code AFTER you initialize your Botkit controller:

var controller = Botkit.slackbot();
require('botkit-studio-metrics')(controller);

More information about using Botkit Studio analytics tools can be found here

Options

Enable debug output:

require('botkit-studio-metrics')(controller, {debug: true});

By default, this module will only send user profile and bot instance information the first time an event is received. To update this information every time an event is received, include the always_update option:

require('botkit-studio-metrics')(controller,{always_update: true});

Data collection

With this module installed and enabled, your Botkit application will automatically send a copy of any message your bot sends or receives to Botkit Studio's analytics API, as well as user profile information and information about each bot instance.

Where applicable, ensure that your terms of service and privacy policy reflect this data collection.

Keywords

botkit

FAQs

Package last updated on 12 Dec 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts