Excluding Users from Activity Streams

Larger Helix Versioning Engine installations often have one or more service users that perform automated tasks, such as build systems, continuous integration test servers, integrations with 3rd-party databases via P4DTG, or with Git via Perforce Git Fusion.

As Swarm reports the activity of users, and these service users can generate significant volumes of activity entries, Swarm provides a mechanism to ignore activity from specified users.

Update the SWARM_ROOT/data/config.php file to include the following configuration block:

<?php
    // this block should be a peer of 'p4'
    'activity' => array(
        'ignored_users' => array(
            'git-fusion-user',
            'p4dtguser',
            'system',
        ),
    ),

After SWARM_ROOT/data/config.php is updated, Swarm no longer records activity for any of the listed userids. Any previously recorded activity is included in activity streams.