appdynamics advanced bt configuration

21
AppDynamics Webinars: Advanced BT Configuration Todd Radel, Senior Manager – Customer Advocacy

Upload: todd-radel

Post on 15-Apr-2017

653 views

Category:

Software


8 download

TRANSCRIPT

Page 1: AppDynamics Advanced BT Configuration

AppDynamics Webinars:Advanced BT ConfigurationTodd Radel, Senior Manager – Customer Advocacy

Page 2: AppDynamics Advanced BT Configuration

Agenda

• Why is BT configuration important?• Creating custom BT rules and exclude rules• Using “BT lockdown” (new since 4.0)

• Using “BT discovery tool” (new since 4.1)

• Office hours

Page 3: AppDynamics Advanced BT Configuration

WHY IS BT CONFIGURATION IMPORTANT?

Page 4: AppDynamics Advanced BT Configuration

Why is it important to configure business transactions?

• Faster and easier to find the code causing problems if your BTs are organized nicely

• Metrics are computed per BT• Baselines are computed per BT• Health Rules alert on a particular BT

Page 5: AppDynamics Advanced BT Configuration

Copyright © 2015 AppDynamics. All rights reserved. 5

Default BT discovery rules

• Where is “rent a movie”?

• Where is “pay for a movie”?

Page 6: AppDynamics Advanced BT Configuration

Copyright © 2015 AppDynamics. All rights reserved. 6

Simple customizations

• Changing the default naming rules

• Deleting or excluding BT’s one at a time

• Renaming• Grouping

Page 7: AppDynamics Advanced BT Configuration

Copyright © 2015 AppDynamics. All rights reserved. 7

Advanced customization

• Creating your own custom rules• Splitting BT’s by URL, parameter, or payload• Using exclude rules

Page 8: AppDynamics Advanced BT Configuration

Copyright © 2015 AppDynamics. All rights reserved. 8

“The more effort you put into configuring Business Transactions, the more AppDynamics will help you.”

– Todd Radel, 2012

Page 9: AppDynamics Advanced BT Configuration

CREATING CUSTOM BT RULES

Page 10: AppDynamics Advanced BT Configuration

Copyright © 2015 AppDynamics. All rights reserved. 10

Use cases

• Excluding all pages that match a certain pattern• Naming BT’s based on parameters or payload

– Part of the URL (by segment or regex)– GET or POST parameters– Cookies, session variables, header values– XML or JSON payload– Class name/method name

Page 11: AppDynamics Advanced BT Configuration

Copyright © 2015 AppDynamics. All rights reserved. 11

Movieztream example

• Search form with several different search types:– By movie title– By category– By year released

• Each type follows a different code path

• How do I create separate BT’s for each search type?

Page 12: AppDynamics Advanced BT Configuration

USING BT LOCKDOWN

Page 13: AppDynamics Advanced BT Configuration

Copyright © 2015 AppDynamics. All rights reserved. 13

What is “BT lockdown”?

• New feature added in 4.0 (Java and .NET)• Prevents new BT’s from being registered• New BT’s will go into “All Other Traffic” instead• Use the “View Traffic” button to select new BT’s and

promote them to the BT list• Keeps your BT list clean

Page 14: AppDynamics Advanced BT Configuration

Copyright © 2015 AppDynamics. All rights reserved. 14

Catch-all rules

• Custom rule, priority 20, matches “/movie/search.htm”• Custom rule, priority 10, matches “/movie”• Custom rule, priority 0, matches “/”

Page 15: AppDynamics Advanced BT Configuration

Copyright © 2015 AppDynamics. All rights reserved. 15

BT lockdown vs. “catch-all” rules

Registering new candidate BT’s Can be instantly promoted to BT list

Visibility Easy to see what has been excluded

Flexibility All-or-nothing approach

Result Clean BT list + “All Other Traffic”

Must create a higher-priority custom rule first

Need to inspect snapshots to find out what has been excluded

Can create “tiers” of catch-all rules with different levels of specificity

Clean BT list + “Catch-All Bucket”

BT lockdown Catch-all rules

Page 16: AppDynamics Advanced BT Configuration

USING THE BT DISCOVERY TOOL

Page 17: AppDynamics Advanced BT Configuration

What is the “BT discovery tool”?

• New feature added in 4.1 (Java only)• Interactive console to help discover and refine BT’s• Like a “sandbox”

Page 18: AppDynamics Advanced BT Configuration

Copyright © 2015 AppDynamics. All rights reserved. 18

How it improves your workflow

The Old Way1. Create custom BT rules2. Generate load3. Look at discovered BT’s4. Stop load5. Delete discovered BT’s6. Adjust custom BT rules7. Repeat steps 2-7

The New Way1. Start discovery session2. Generate load3. Look at discovered BT’s4. Adjust custom BT rules5. Click “Apply”

Page 19: AppDynamics Advanced BT Configuration

FURTHER READING

Page 21: AppDynamics Advanced BT Configuration

Thank You