Giter VIP home page Giter VIP logo

dynatrace-appmon-intellij-idea-integration-plugin's Introduction

Dynatrace IntelliJ Idea Integration Plugin Build Status

The Dynatrace IntelliJ Idea Integration Plugin enables you to:

  • launch applications with an injected Dynatrace Agent directly from IntelliJ
  • retrieve & display the key architectural metrics (such as number of SQL queries, external API calls, exceptions and log messages) from your tests
  • perform lookups of source code files and methods from applications under diagnosis in Dynatrace AppMon

Special thanks to Christian Grimm who contributed to the first version of this plugin.

Table of Contents

Installation

Prerequisites

  • Dynatrace Application Monitoring version: 6.3+
  • IntelliJ version: 15+ (143+)

Find further information in the Dynatrace community.

Installation from JetBrains repository

  • In IntelliJ IDEA, click on File / Settings / Plugin / Browse repositories...
  • In the search box type Dynatrace and select Dynatrace AppMon Integration
  • Click Install and restart IDEA

repository_installation

Manual Installation

  • Download the latest plugin
  • In IntelliJ Idea, click on File / Settings / Plugins / Install plugin from disk...
  • Select the downloaded zip archive

install_plugin

Configuration

Global Settings

The global settings for the plugin are located under File / Settings / Build, Execution, Deployment / Dynatrace

global settings

Run Configurations

run configurations

Using the IntelliJ Idea Integration Plugin

Launcher

The lancher will run applications with an injected Dynatrace Agent using the agent name and additional parameters defined in the run configuration:

launcher

The launcher supports all java run configurations.

The agent will output debug information into the console:

console output

Test Result

When lauching JUnit tests with the Dynatrace launcher, the plug-in will automatically register a test run to the Dynatrace Server. The results and key architectural metrics are automatically retrieved and displayed in the Test Result tab.

edit run configurations

The test results are also visible in the Dynatrace Client for further drill-down to the PurePath level.

edit run configurations

Source Code Look-up

The Dynatrace Client enables you to analyze PurePaths down to the individual methods that have been instrumented in the context of the captured transaction. When you identify a problematic method either in the PurePath view or in the Methods view of the Dynatrace Client, you can use the Source Code Lookup to jump to the source code line if you have the IntelliJ Idea project open.

edit run configurations

Problems? Questions? Suggestions?

Additional Resources

Dynatrace AppMon Documentation

Recorded Webinar

Blogs

dynatrace-appmon-intellij-idea-integration-plugin's People

Contributors

chojna avatar dglugla avatar dynatrace-jonesy avatar ingohackl avatar maciekmm avatar sonjachevre avatar wbachnik avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

yathishns

dynatrace-appmon-intellij-idea-integration-plugin's Issues

Please document how to set the system profile

I was trying to set the plugin up according to the instructions in the README, but then discovered that I also need to set the system profile as part of the run-configuration for unit-tests. Please add that in the description.

Additionally I did not find a setting where I can specify the system profile for normal applications (not unit tests) as there is no "AppMon" tab in the Run-Configuration settings?

Intellij Using wrong port when collector configured to use non standard port

dt appmon local
dt_IntelliJ_22220.0.txt

I'm trying to integrate dynatrace with intellij but I keep getting errors.

I have something else running on the machine that is using port 9998 so I changed the configuration to point to the collector on port 9997 after changing the server configuration. I've attached a screenshot of my configuration as well as the startup log for my run configuration.

Within the log it shows this:

Trying to connect to Collector for up to 30000 seconds
2017-08-16 11:08:05 [000000e4] info [native] Connected to Collector localhost:9998

even though the connection settings are set to use port 9997

2017-08-16 11:08:07 [0000022c] info [native] Agent library ............... c:/program files/dynatrace/dynatrace 7.0/agent/lib64/dtagentcore.dll
2017-08-16 11:08:07 [0000022c] info [native] Options string .............. wait=30000,name=IntelliJ,server=localhost,port=9997

Running with Dynatrace Agent is not actually injecting the agent

I have set up the integration as far as it is documented. When I start a unit test with Dynatrace integration, the eventlog states that it starts a new test-run, but no Agent-Log-output is visible in the normal console and no agent connection is visible in Dynatrace AppMon.

Is there any way I can investigate why this happens?

See screenshots:

visitflow - c__workspaces_visitflow - visitflow_test - _testsrc_demo_escl_2016-08-12_13-31-37
settings_2016-08-12_13-31-53
run_debug configurations_2016-08-12_13-32-08

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.