Wilson Mar bio photo

Wilson Mar

Hello. Hire me!

Email me Calendar Skype call 310 320-7878

LinkedIn Twitter Gitter Google+ Youtube

Github Stackoverflow Pinterest

He sees you when you’re sleeping. He knows when you’re awake …

Gitter

Overview

What’s different with this introduction to Dynatrace is I provide a step-by-step hands-on approach to dive deep into the technology and its vendor. This is so you’re not stumbling around wasting time on high-level videos from salespeople. My commentaries are given “just-in-time” after you do each step.

Acronyms

ADK = Application Development Kit

APM = Application Performance Monitoring

AppMon = Application Performance

UEM = User Experience Management (product offering)

SLA = Service Level Agreements

Visit = a group of transactions performed by the same user over a defined time period.

PureModel = PurePath + PureStack

PurePath monitors horizontally across the server tiers

PureStack dives into the vertical infrastructure

Product Editions

There are different editions for the Development Team, Test Center, and Production:

dynatrace across lifecycle 898x527.jpg(Click to pop up larger image)

The product that enables “Shift-Left” is one that enables identification of performance issues during development.

Dashboard


Interact with people

  1. Forums:

    https://community.dynatrace.com/community/display/DL/Downloads

  2. Listen to podcasts:

    https://www.spreaker.com/show/pureformance

  3. Ask a question of pre-sales:

    https://answers.dynatrace.com

  4. Register and attend live webinars at:

    https://bit.ly/onlineperfclinic (https://community.dynatrace.com/community/pages/viewpage.action?pageId=178101202)

  5. View past webinars

    On YouTube

  6. Ways to meet other users:

    https://community.dynatrace.com/community/display/DL/Downloads

  7. Join and attend Meetups:

    https://www.meetup.com/pro/dynatrace

  8. Subscribe, then meet people at the annual conference each Feburary in Vegas:

    https://www.dynatrace.com/perform

  9. Have Dynatrace salespeople look at your Purepath file:

    https://bit.ly/sharepurepath (https://community.dynatrace.com/community/display/EVAL/Share+your+PurePath)

    CAUTION: Many enterprises are fearful of releasing data outside the corporate firewall. Check with your Security people before sending the file out.

  10. LinkedIn Groups

    https://www.linkedin.com/groups/1868499/profile
    Dynatrace APM User Group

  11. Twitter

    @Dynatrace

  12. Look through their GitHub source repositories:

    https://github.com/dynatrace-innovationlab

    https://github.com/Dynatrace/Dynatrace-Docker

    https://github.com/grabnerandi

  13. Get Certified

    https://university.dynatrace.com/certificate/industry
    The “Industry Associate” level validates understanding of APM – the why, core concepts, history, and emerging trends.
    DOWNLOAD: Associate Exam Blueprint.pdf It’s free.

    Other exams are $200:

    AppMon

    DC RUM

    Synthetic

    Master-level.


Free lifetime local license

The following focusing on analysis of server applications running locally on your laptop.

QUESTION: Is there a package to Homebrew for Mac and Chocolatey for Windows?

  1. Register for download at:

    https://bit.ly/dtpersonal (https://www.dynatrace.com/en/products/dynatrace-personal-license.html)

    PROTIP: My Gmail address was accepted in the “Business email” field.

  2. Confirm email subject “Please confirm your Dynatrace Trial account”.

    NOTE: The public face of Dynatrace is Andreas Grabner (<a target=”_blank” href=”https://twitter.com/@grabnerandi”@grabnerandi</a>, agrabner@dynatrace.com, https://github.com/grabnerandi

    The US address of Dynatrace is 404 Wyman Street - Suite 500, Waltham, MA 02451

    Dynatrace has offices in Detroit, Michigan, Linz, Austria, and Gdańsk, Poland.

  3. Click Register and Start Trial.

    WARNING: You can’t get back to this page again?

  4. Get the license from email “Your Dynatrace trial license” file such as:

    dynaTrace_license_201703161023.key

    NOTE: The video mentioned in the email (https://www.youtube.com/watch?v=2ycuNlYUl9E) What is Dynatrace AppMon and How to Get Started – January 2016

  5. PROTIP: Run a Dockerized image in a server (in a cloud) because that’s how production will work. And it won’t muck up your local machine’s settings and disk space.

    http://dynatrace.github.io/Dynatrace-Docker

    https://github.com/Dynatrace/Dynatrace-Docker

    NOTE: The Github home for Dynatrace is:

    https://github.com/dynaTrace

  6. If you want to do it the hard way and install locally, click the operating system icon to download installer.

    OS File Ver. Size
    Mac dynatrace-full-darwin-x86.jar 6.5 995.8 MB
    Windows dynatrace- 6.5 995.8 MB

    PROTIP: If you want to keep installers, find out the version and add it to the file name. You would need to keep installers for vetting by corporate Security.

    Security-conscious enterprises have their people download from a vetted repository such as an internal Artifactory or Nexus rather than direct download because changes by the vendor (or someone pretending to be them) can have security problems.

  7. Use Mac Archiver utility to extract the jar file to file dynatrace-full-darwin-x86.jar.cpgz.
  8. dynatrace-full-darwin-x86.jar.cpgz.

Provisioning

Docker, VMWare, EC2, Azure, CloudFoundry

Scripts: Chef, Puppet, Ansible, PowerShell

Overprovisioned?

Troubled sample apps

Source code to programs that exhibit:

memory leaks

CPU hotspots

n+1 problem

The n+1 problem is when regression test finds client makes many more API calls to server.

https://github.com/grabnerandi/SpringBootBookstoreWithProblems

SQL statements

Too many, slow.

API “FireAndIce”

http://anapioficeandfire.com/Documentation#library-graphql

https://www.youtube.com/watch?v=O0SQL8DJxaI Online Perf Clinic – Shift-Left Performance with Spring Boot Microservices, Jenkins and Dynatrace

Agents

dynatrace tech analyzed 1454x510

For infrastructure monitoring:

During the 30-day free trial period, install up to 5 distributed servers (in the cloud).

After the 30-day trial period, install only on local machines.

Use the “Add Tier” wizard.

On Apache, IIS: -agentpath:PATH/dtagent.dll=name=MyAppTier,server=collector1

Desktop

### IntelliJ

  1. Use within IntelliJ

  2. Without changing a line of code get 100% end-to-end code-level performance visibility: Browser, Web-, App- and (No)SQL Activity

  3. See every SQL Statement, Exception, Log message and HTTP Request detail

SaaS server

  1. Provide your email to:

    https://www.dynatrace.com/trial/

Product Offerings

Dynatrace AppMon Personal & UEM ???

Two Dynatrace products have downloads:

  • Application Monitoring rich client AppMon
  • Data Center RUM (Real User Monitor) captures traffic and analyzes it

SaaS = Software as a Service:

  • Application Monitoring Appmon web
  • Synthetic Monitoring has fake users logging in, etc.
  • Dynatrace adds HTTP header
  • Keynote monitors what end-users experience through the public network
  • Dynatrace Load
  • Business Service Management

Competition

Gartner …

http://blog.takipi.com/splunk-vs-elk-the-log-management-tools-decision-making-guide/


Crash Dump Analysis

https://github.com/Dynatrace/superdump (Not A replacement for in-depth analysis tools such as WinDbg.)

can be triggered via web-frontend (HTTP-upload) or via REST-API.

Application Monitoring

Baselines

https://help.dynatrace.com/intelligent-problem-detection/
https://help.dynatrace.com/intelligent-problem-detection/prediction/prediction/

ADK

To send dynatrace tags

Data management

To view data in ES within Splunk:

  • https://github.com/hvandenb/splunk-elasticsearch
  • https://answers.splunk.com/answers/372999/is-there-anyway-to-push-data-from-elasticsearch-or.html

Integrate


Videos

https://www.youtube.com/watch?v=wExU-AQ0ydk&index=1&list=PLqt2rd0eew1bmDn54E2_M2uvbhm_WxY_6

  • https://www.youtube.com/watch?v=O0SQL8DJxaI

http://bit.ly/dttutorials (https://www.youtube.com/playlist?list=PLqt2rd0eew1bmDn54E2_M2uvbhm_WxY_6)

Mainly high-level “smoke and mirrors” hype speak with a few technical points:


In AWS

You can use Dynatrace in place of or in addition to Amazon CloudWatch logging. Here are the steps:

  1. Download the installer from Dynatrace.com.

    BLAH: I wish Dynatrace have its own on S3.

    This can be either/both a Windows or Linux instance.

  2. Put the Dynatrace installer in an S3 instance so that Ansible scripts to build up a server have a stable reference.

  3. Create a new AWS instance.

    Again, this can be either a Windows or Linux instance.

  4. Install the Dynatrace agent on the server.

  5. Connect the agents to the Dynatrace controller so you see metrics being recorded.

  6. Impose some artificial load on the machine to see metrics in their full glory.

  7. Repeat the above in an automated script:

    1. Jankins invoked when a commit occurs to a branch on GitHub
    2. The Jenkins v2 Pipeline Groovy script downloads build script from GitHub
    3. The build downloads installers to assemble
    4. The build script creates image in DockerHub
    5. Instantiate AWS with Docker image
    6. Sends an email when the image is ready for use
    7. Start a performance testing run
    8. Sends SMS texts with the results of test run
    9. If all is well, commits into the next branch in GitHub

Internals

Protocol is protobuf

https://community.dynatrace.com/community/display/DOCDT65/Test+Automation+Explained

https://www.infoq.com/articles/Diagnose-Microservice-Performance-Anti-Patterns

https://www.infoq.com/articles/Diagnosing-Common-Java-Database-Performance-Hotspots

More on cloud

This is one of a series on cloud computing: