Driven User Guide: Configuring Teams for Collaboration
version 2.2.6- 1. Overview of Monitored Applications
-
1.1. Logging In
1.2. Status Views
- 2. Searches, Saved Views, and Accessing Relevant Data
-
2.1. Starting a Search
2.3. My Teams Views
2.5. Customizing Searches
2.6. Periodic Views
- 3. Using the App Details Page
-
3.4. Viewing the Graph
3.6. Details Table
- 4. Understanding the Unit of Work Details Page
- 5. Managing Applications with Tags
- 6. Configuring Teams for Collaboration
-
6.1. Creating and Managing Teams
6.2. Team Details
- 7. Using Annotations
-
7.1. Creating Custom Annotations
7.2. Data Visibility
- 8. Execute Hive Queries as Cascading HiveFlow
-
8.1. Using HiveFlow
8.2. Driven for HiveFlow
- 9. Execute Cascading MapReduce Flows
- 10. User Profile
-
10.1. User Actions
10.2. User Credentials
10.3. User Statistics
10.4. Invitations
10.5. Teams
Configuring Teams for Collaboration
Applications are not deployed and monitored in isolation. Usually, application development is a collaboration between the IT administrators and developers, engineering, business analysts, and other data scientists. When applications become operational, it becomes vital to create collaboration to investigate job behavior and observe characteristics. Organizing application execution data by groups of stakeholders can help you and your colleagues focus on metrics that you are targeting.
On the other hand, most organizations want to categorize and restrict viewing of application metrics for governance, regulatory compliance, developing models for chargebacks, or other reasons. For example, in a bank you may have the Hadoop production cluster as a single enterprise capability, shared between different lines of businesses such as marketing, fraud, operational risk, and across organizations in different geographies. The bank runs many applications that contain confidential data. In this scenario, it is possible that information about the xyz application should be revealed only to the fraud and operational risk business units because the xyz application processes confidential data that needs to be monitored by these units.
Using teams, you can both share and restrict views of specific application metrics. In Driven a team is associated with an API key. For any application using the API key, the data from the application is visible only to users who are team members and to Driven administrators. As a result, when a team member saves a status or application view with programmed API keys, the view is accessible to other team members and the Driven administrator.
Tip
|
For the sake of comparing multiple applications that are restricted by teams, you might need a user with administrator privileges to perform this analysis efficiently, or to configure the discoverability and visibility settings on those teams. For more information, see Application Execution Detail Access |
Access a team view by clicking Teams from the header and selecting one of the links that appear in that section. Alternatively, hover over Teams and select a team from the drop-down menu.
By default, a user who creates a team is the team leader. However, the default team leader can transfer the role to another user on the team. Team leaders can also invite users to join the team, remove users, and delete the team altogether.
Creating and Managing Teams
The following procedure permits users who are not logged in to Driven as an administrator to create a team and assign existing user accounts to the team. See Using the Driven Admin Console in the Driven Administrator Guide for more information about administrator configuration of teams and users.
Create a Team
Perform the following tasks to create a team:
-
Click Teams in the Global Navigation.
-
Click the Create Team button in the Teams table.
-
Enter a name for your team. The newly created team will appear in the Teams table. By default you will become Team Leader of your newly created team.
-
Record or copy the API key that appears next to the newly created team. You need this to configure the Driven Plugin to display application run data to Driven users who belong to the team with the API key.
Team Details
In the Teams table, click on the team name of the team you wish to view the details of. If you are a Driven Admin or are the Team Leader of the team you are viewing, you have options to configure the different aspects of the team. As a regular team member, the information is read only.
-
Team Info
-
Application Execution Detail Access
-
Members
-
Invitations
-
External Issue Tracking
-
Webhook Connections and Email Notifications
-
Messaging Rules
The team details page is the place where you can manage other aspects of the team, such as deleting a team from Driven.
Team Info
If you are are a Driven Admin or the Team Leader, you can click on the Edit Team Name, Change Leader, and Delete Team buttons to perform their respective operations.
Application Execution Detail Access
The Discoverability setting determines who can see this team’s apps in search results. The Visibility setting determines who has access to view this team’s applications' details.
Members
These are all of the members of the team. If you are a Driven Admin or are Team Leader, you can add Driven users directly to the team, or remove members from the team.
To add members to the team, click the Add Member(s) button in the Members table. Choose the user(s) you would like add to the team, and click the Submit button.
To remove members from the team, choose the member(s) you would like to remove, and click the Remove Member(s) button in the Members table. You will be prompted to confirm that you would like to remove the selected members. Click the Remove button to proceed.
Invitations
Driven Admins and members of the team can invite other users to the team.
If SMTP AND Users Account Lookup are enabled: To Invite a Driven user, click the Invite To Team button in the Invitations table. Search for and/or choose which users you would like to invite, and Driven will send them invitation email and an invitation within Driven. If you cannot find the user you are looking for, but know their email address, enter it in the input field below the table and click the plus button to include them.
If SMTP is enabled AND User Account Lookup is disabled: To Invite a Driven user, click the Invite To Team button in the Invitations table. Enter the email address or username of the user you would like to invite, and Driven will send them invitation email.
If SMTP is disabled AND User Account Lookup is enabled: To Invite a Driven user, click the Invite To Team button in the Invitations table. Search for and/or choose which users you would like to invite, and Driven will send them invitation within the Driven application.
If SMTP AND User Account Lookup are disabled: To Invite a Driven user, click the Invite To Team button in the Invitations table. Enter the email address or username of the user you would like to invite, and Driven will send them invitation within the Driven application.
To uninvite a user to the team, choose the user(s) you wish to uninvite and click the Uninvite To Team" button in the Invitations table. You will be prompted to confirm that you would like to uninvite the selected user. Click the Uninvite button to proceed.
External Issue Tracking
Driven has the capability to link directly to Atlassian JIRA if your team reports and track issues with an up-and-running implementation of JIRA. If external issue-tracking is enabled by the team leader or Driven administrator, the link to the JIRA instance appears on views containing application and flow details.
When you click on the link, JIRA opens and prompts you to file an issue. The URL of the page that you are viewing is automatically placed in the description field for the issue. JIRA project ID and issue type are also prepopulated, based on the settings that the team leader or Driven administrator defined.
The JIRA link icon appears on the top right corner of application details and flow details views if external issue-tracking is enabled.
Integrating JIRA Issue Links
Prerequisites: Know the JIRA base URL, project ID number, and issue type ID number that you want to associate with issues that are filed with the JIRA link in Driven.
To enable external issue-tracking links:
-
Open the team details page if you are not there already.
-
Click Add Project button in the Issue Tracking table. The Add External Link modal appears.
-
Enter a name for the link. The name will appear only on the team details page in Driven.
-
Enter the base URL, project ID number, and issue type number.
-
Click Submit. The JIRA link icon appears on pages with application- and flow-level details. Information about the link appears on the team details page, where you can also remove the link if you no longer want it to appear.
Webhook Connections and Email Notifications
If SMTP disabled, no email option.
Driven can be integrated with third-party messaging platforms to automatically notify people when an application reaches one of the following states:
-
SUCCESSFUL status
-
FAILED status
-
Completed state (SUCCESSFUL, FAILED, or STOPPED status)
Driven supports webhooks that communicate with Slack, HipChat, and PagerDuty. The notifications that users receive typically contain a URL hyperlink to the application details page for the event.
The following procedure documents setup of both a new webhook connection and a new messaging ruleset. If you have an existing messaging ruleset that you want to apply to another webhook connection that was created in Driven previously, you can skip the Webhook Connections section and click Add rule to assign the ruleset to the connection.
-
Email
-
HipChat: Refer to https://mydomain.hipchat.com/account/api, replacing "mydomain" with your HipChat domain name. On this web page you can create an access token and find information about API access.
-
PagerDuty: See Creating a Generic API Service for how to generate a service API key, which you use to fill in the Service Key field in the Add Webhook window. The API key enables automatic notification of application events to PagerDuty team members. If you have an existing PagerDuty incident where you want to record application events, you can fill in the Incident Key field to write status messages automatically to the incident log in addition to notifications that are sent to PagerDuty team members.
-
Slack: Refer to Slack API Incoming Webhooks documentation.
-
Click the Add Connection button in the Webhook Connections and Email Notifications table.
-
Of the "Type" options, select the connection type to which you want to apply the message rule.
-
Enter a name for the configuration. The name only appears a reference when viewing the team details page.
-
Optional: Enter a description. The name only appears a reference when viewing the team details page.
-
If Email is selected:
-
Select Entire Team to send emails to all team members, or select Specific Members to designate individual team members rather than the whole team as email recipients.
If HipChat or PagerDuty or Slack is selected:
-
Fill out the required fields
Then:
-
Click the Submit button.
Messaging Rules
-
Click Add Alert button in the Messaging Rules table.
-
In the Add Message Rule modal:
-
Select the application event to trigger a message in the On Event field.
-
Choose which Webhook Connection or Email Notification to apply the alert to.
-
Optional: Enter text in the Description field that will appear in the Messaging Rules part of the team details page.
-
If an Email notification is chosen, enter a subject line for the automatic emails.
-
Accept the default text in the Message Template field, or customize the message. The string "driven_url" in this field is treated as a token for the application details page URL. If you include "driven_URL", it is replaced by a URL hyperlink to the Driven page with specific details about an application event.
-
Click Add. ''' '''
=== Associating an Application with a Team
-
Driven allows applications to be associated with a team to limit access to the application metrics and to simplify segregating application resource usage among teams.
Before you run the application, you need to set the API key that is associated with the team that owns the application. You can set the API key configuring either Driven Agent or Driven Plugin to use it during runtime.
This value can be found by navigating to the team page the current application will be associated with.
When using the cloud version of Driven, a team API key is required to see any application data. If the API key is missing or incorrect, the application cannot be viewed.
To set the Driven API key see:
Note
|
The Driven Plugin is only installed for use with existing Cascading applications. |