Use balena analytics project name

It's needed to properly integrate CLI with balena
analytics proxy service.

Change-type: patch
Signed-off-by: Roman Mazur <roman@balena.io>
This commit is contained in:
Roman Mazur 2019-09-18 18:00:22 +03:00
parent 606b6c88ab
commit c1ba73a2da
No known key found for this signature in database
GPG Key ID: 9459886EFE6EE2F6

View File

@ -25,7 +25,7 @@ import packageJSON = require('../package.json');
const getBalenaSdk = _.once(() => BalenaSdk.fromSharedOptions());
const getMixpanel = _.once<any>(() => {
const settings = require('balena-settings-client');
return Mixpanel.init('00000000000000000000000000000000', {
return Mixpanel.init('balena-main', {
host: `api.${settings.get('balenaUrl')}`,
path: '/mixpanel',
protocol: 'https',