Instana PHP Plugin for JetBrains Products

January 17, 2020

Instana - Enterprise Observability and APM for Cloud-Native Applications

Writing support code for creating custom spans can be boring and tedious. For that reason, Instana commonly automates traces and span creation as much as possible. Preventing developers from sprinkling monitoring code over all their codebase.

From time to time, however, you want special, application-specific elements to show up in traces, or add tracing for a non-supported frameworks. In this case, adding custom spans is manual work.

Life Made Easier

To minimize the work for PHP developers, Instana published an extension plugin for the famous JetBrains IDEA based IDEs like IntelliJ or PhpStorm.

The plugin adds code intentions to automatically wrap a piece of code or statement into a span being recognized by the Instana backend.

Instana's JetBrains Plugin provides Intentions to quickly wrap code into a spanFigure 1: Instana’s JetBrains Plugin provides Intentions to quickly wrap code into a span

Just mark the code you want to wrap and select the intent. The Instana for PHP plugin automatically wraps it.

Instana - Enterprise Observability and APM for Cloud-Native ApplicationsFigure 2: Wrapped operation with Instana’s JetBrains Plugin

Beautiful, fast and saving plenty of keystrokes. Just as it should be 🙂

How to find it?

The plugin can be found in JetBrains Plugin repository or, since the source code is open, on Github.

To install the plugin, open up your IDE, go to Preferences…, and under Plugins search for Instana. Hit the Install button and after the restart you’re good to go.

Instana - Enterprise Observability and APM for Cloud-Native ApplicationsFigure 3: Install Instana’s JetBrains IDE Plugin right from the Plugin Marketplace

Open Source

Instana open sourced the plugin and is looking for additional features, code intentions, ideas and pull requests. Feel free to add issues in the Github Issue Tracker and / or provide the team directly with your feature request in the form of code.

Give it a Try

If you don’t have an Instana account yet, jump right into our 14 days trial and get jump-started in the blink of an eye.

Play with Instana’s APM Observability Sandbox

Start your FREE TRIAL today!

Instana, an IBM company, provides an Enterprise Observability Platform with automated application monitoring capabilities to businesses operating complex, modern, cloud-native applications no matter where they reside – on-premises or in public and private clouds, including mobile devices or IBM Z.

Control hybrid modern applications with Instana’s AI-powered discovery of deep contextual dependencies inside hybrid applications. Instana also gives visibility into development pipelines to help enable closed-loop DevOps automation.

This provides actionable feedback needed for clients as they to optimize application performance, enable innovation and mitigate risk, helping Dev+Ops add value and efficiency to software delivery pipelines while meeting their service and business level objectives.

For further information, please visit instana.com.