APM

Die Open-Source-Lösung für das Performance-Monitoring Ihrer Anwendungen

Sie nutzen Elasticsearch bereits für die Speicherung von Logs und Systemmetriken? Erweitern Sie Ihre Lösung mit Elastic APM auf Anwendungsmetriken. Mit nur vier Zeilen Code erhalten Sie einen besseren Überblick und können so Fehler im zu veröffentlichenden Code schnell beheben.

Sehen Sie selbst, was sich unter der Haube unserer APM-Lösung für Entwickler verbirgt. Video ansehen

Neu Unser offizieller gehosteter Elasticsearch Service und Elastic Cloud Enterprise unterstützen jetzt Elastic APM. Außerdem ist das verteilte Tracing jetzt allgemein verfügbar. Weitere Informationen

Suche + APM

Das Finden und Reparieren von Blockaden im Code ist eine Sache der Suche. Über unsere dedizierte Benutzeroberfläche können Sie Engpässe identifizieren und sich auf schwierige Änderungen auf Code-Ebene konzentrieren. Das Ergebnis: besserer, effizienterer Code für ein zügigeres Entwickeln, Testen und Implementieren, schnellere Anwendungen und ein besseres Nutzungserlebnis auf Kundenseite.

Screenshot

Verteiltes Tracing – damit Ihnen kein Detail entgeht

Möchten Sie gern mehr darüber erfahren, welche Wege Anfragen in Ihrer Infrastruktur nehmen? Verteiltes Tracing hilft Ihnen zu verstehen, wie Transaktionen zusammenhängen und Ihre Dienste miteinander interagieren. Sie können so herausfinden, an welchen Stellen es stockt, und die Komponenten ermitteln, die optimiert werden sollten.

Ihre Lieblings-Dashboards jetzt mit APM-Daten

Elastic APM versetzt Ihre Anwendungen in die Lage, Performance-Metriken an Elasticsearch zu senden, wo sie dann in Kibana mit vorkonfigurierten Dashboards visualisiert werden können.

Und weil Elasticsearch Daten in Elasticsearch als Rohdokumente speichert, können zusätzlich zu Ihren Tracing-Daten Infrastruktur-Logs, Servermetriken und Sicherheitsereignisse abgelegt werden, sodass Sie an einem zentralen Ort vollen Zugriff auf all Ihre Daten haben.

Mit Machine Learning Anomalitäten bei Reaktionszeiten ermitteln

Sie können direkt in der APM-Benutzeroberfläche einen Job erstellen und dann mithilfe von Machine-Learning-Features, die automatisch Ihre Daten modellieren, das abnorme Verhalten und die verursachenden Komponenten aufspüren.

Erst informieren lassen, dann reagieren

Unsere Dashboards sind zwar zweifellos sehr attraktiv, aber hin und wieder werden auch Sie mal woandershin schauen müssen. Mit unseren Alerting-Features bleiben Sie hinsichtlich der Performance Ihres Codes immer am Ball. Wenn etwas schiefläuft, erhalten Sie eine E-Mail-Benachrichtigung, und wenn etwas außerordentlich gut läuft, gibt es eine Benachrichtigung bei Slack.

Hohe Entwickler- und
Sprachfreundlichkeit

Elastic APM unterstützt Java, Go, Node.js, Python, Ruby und Real User Monitoring (JavaScript) – und die Liste wird immer länger. Und falls das Gebotene noch nicht genug ist, können Sie entweder selbst etwas entwickeln oder die Hilfe unserer Open-Source-Community in Anspruch nehmen.

Nur vier Zeilen Code und es kann losgehen

Einen bestehenden Cluster oder eine frische Installation des Elastic Stack, einen APM-Server und ein bisschen Code, um die Anwendung mit Agents auszurüsten – mehr braucht es nicht, um Performance-Daten Ihrer Anwendung an Elasticsearch zu senden. Der serverseitige Agent hilft bei der Überwachung der Anwendung und Real User Monitoring (RUM) findet etwaige Probleme im Browser. Haben Sie Fragen oder möchten Sie Ihre Installation optimieren? Sehen Sie sich die APM-Dokumentation an oder besuchen Sie unser APM-Forum.
  • Register for a free trial, if you do not already have an account
  • Log into the Elastic Cloud console
To create a cluster, in Elastic Cloud console:
  • Select Create Deployment, and specify the deployment name
  • Click Create Deployment
  • Wait until deployment creation completes, click the deployment name
  • Under the new deployment click APM
  • Save the APM Secret Token, we will refer to it as <apm_token> below
  • Note the APM Server URL, we will refer to it as <apm_server_url> below

Download the Java agent:

Download the agent jar from Maven Central. Do not add the agent as a dependency to your application.

Start your application with javaagent flag:

Add the -javaagent flag and configure the agent with system properties.

java \
 -javaagent:/.../elastic-apm-agent-<version>.jar\
 -Delastic.apm.service_name=my-application\
 -Delastic.apm.server_url=<apm_endpoint>\
 -Delastic.apm.secret_token=<apm_token>\
 -Delastic.apm.application_packages=org.example\
 -jar my-application.jar
Open Kibana from Kibana section of the Elastic Cloud console (login: elastic/<password>)
Launch the APM app OR navigate to the APM-* dashboards
What just happened?

The APM agent installed in your application collects and streams application performance metrics to your APM server, where they are processed and stored in Elasticsearch. In a matter of minutes you can start viewing your performance data either in the dedicated APM UI or prebuilt dashboards.

Advanced configuration?

Please refer to the APM documentation.

  • Register for a free trial, if you do not already have an account
  • Log into the Elastic Cloud console
To create a cluster, in Elastic Cloud console:
  • Select Create Deployment, and specify the deployment name
  • Click Create Deployment
  • Wait until deployment creation completes, click the deployment name
  • Under the new deployment click APM
  • Save the APM Secret Token, we will refer to it as <apm_token> below
  • Note the APM Server URL, we will refer to it as <apm_server_url> below

Install the APM Agent for Node.js as a dependency to your application.

Configure the agent to run inside your application process.

Specify the following in configuration

// Add this to the VERY top of the first 
// file loaded in your app
var apm = require('elastic-apm-node').start({
  // Override service name from package.json
  // Allowed characters: a-z, A-Z, 0-9, -, _, 
  // and space
  serviceName: '',


  // Use if APM Server requires a token
  secretToken: '<apm_token>',


  // Set custom APM Server URL
  // Default: http://localhost:8200
  serverUrl: '<apm_server_url>'
})
Open Kibana from Kibana section of the Elastic Cloud console (login: elastic/<password>)
Launch the APM app OR navigate to the APM-* dashboards
What just happened?

The APM agent installed in your application collects and streams application performance metrics to your APM server, where they are processed and stored in Elasticsearch. In a matter of minutes you can start viewing your performance data either in the dedicated APM UI or prebuilt dashboards.

Advanced configuration?

Please refer to the APM documentation.

  • Register for a free trial, if you do not already have an account
  • Log into the Elastic Cloud console
To create a cluster, in Elastic Cloud console:
  • Select Create Deployment, and specify the deployment name
  • Click Create Deployment
  • Wait until deployment creation completes, click the deployment name
  • Under the new deployment click APM
  • Save the APM Secret Token, we will refer to it as <apm_token> below
  • Note the APM Server URL, we will refer to it as <apm_server_url> below

Install the APM agent for Python as a dependency.

Configure the agent.

Specify the following in configuration

# Add the agent to the installed apps
INSTALLED_APPS = (
   'elasticapm.contrib.django',
   #...
 
)


ELASTIC_APM = {
  # Set required service name. 
  # Allowed characters:
  # a-z, A-Z, 0-9, -, _, and space
  'SERVICE_NAME': '',

  # Use if APM Server requires a token
  'SECRET_TOKEN': '<apm_token>',

  # Set custom APM Server URL (
  # default: http://localhost:8200)
  'SERVER_URL': '<apm_server_url>',
}
# To send performance metrics, add our 
# tracing middleware:
MIDDLEWARE = (
   'elasticapm.contrib.django.middleware.TracingMiddleware',
   #...
)
Open Kibana from Kibana section of the Elastic Cloud console (login: elastic/<password>)
Launch the APM app OR navigate to the APM-* dashboards
What just happened?

The APM agent installed in your application collects and streams application performance metrics to your APM server, where they are processed and stored in Elasticsearch. In a matter of minutes you can start viewing your performance data either in the dedicated APM UI or prebuilt dashboards.

Advanced configuration?

Please refer to the APM documentation.

  • Register for a free trial, if you do not already have an account
  • Log into the Elastic Cloud console
To create a cluster, in Elastic Cloud console:
  • Select Create Deployment, and specify the deployment name
  • Click Create Deployment
  • Wait until deployment creation completes, click the deployment name
  • Under the new deployment click APM
  • Save the APM Secret Token, we will refer to it as <apm_token> below
  • Note the APM Server URL, we will refer to it as <apm_server_url> below

Install the APM Agent for Python as a dependency.

Configure the agent.

Specify the following in configuration

# initialize using environment variables 
from elasticapm.contrib.flask import ElasticAPM
app = Flask(__name__)
apm = ElasticAPM(app)

# or configure to use ELASTIC_APM in your 
# application's settings
#
from elasticapm.contrib.flask import ElasticAPM
app.config['ELASTIC_APM'] = {
  # Set required service name. 
  # Allowed characters:
  # a-z, A-Z, 0-9, -, _, and space
  'SERVICE_NAME': '',

  # Use if APM Server requires a token
  'SECRET_TOKEN': '<apm_token>',

  # Set custom APM Server URL (
  # default: http://localhost:8200)
  #
  'SERVER_URL': '<apm_server_url>',
}
apm = ElasticAPM(app)
Open Kibana from Kibana section of the Elastic Cloud console (login: elastic/<password>)
Launch the APM app OR navigate to the APM-* dashboards
What just happened?

The APM agent installed in your application collects and streams application performance metrics to your APM server, where they are processed and stored in Elasticsearch. In a matter of minutes you can start viewing your performance data either in the dedicated APM UI or prebuilt dashboards.

Advanced configuration?

Please refer to the APM documentation.

  • Register for a free trial, if you do not already have an account
  • Log into the Elastic Cloud console
To create a cluster, in Elastic Cloud console:
  • Select Create Deployment, and specify the deployment name
  • Click Create Deployment
  • Wait until deployment creation completes, click the deployment name
  • Under the new deployment click APM
  • Save the APM Secret Token, we will refer to it as <apm_token> below
  • Note the APM Server URL, we will refer to it as <apm_server_url> below

Install the APM agent by adding the agent to your Gemfile

Configure the agent by creating the config file config/elastic_apm.yml

Specify the following in configuration

# Set service name - allowed characters: 
# a-z, A-Z, 0-9, -, _ and space
# Defaults to the name of your Rails app
# service_name: 'my-service'

# Use if APM Server requires a token
#
secret_token: '<apm_token>'

# Set custom APM Server URL (
# default: http://localhost:8200)
#
server_url: '<apm_server_url>'
Open Kibana from Kibana section of the Elastic Cloud console (login: elastic/<password>)
Launch the APM app OR navigate to the APM-* dashboards
What just happened?

The APM agent installed in your application collects and streams application performance metrics to your APM server, where they are processed and stored in Elasticsearch. In a matter of minutes you can start viewing your performance data either in the dedicated APM UI or prebuilt dashboards.

Advanced configuration?

Please refer to the APM documentation.

  • Register for a free trial, if you do not already have an account
  • Log into the Elastic Cloud console
To create a cluster, in Elastic Cloud console:
  • Select Create Deployment, and specify the deployment name
  • Click Create Deployment
  • Wait until deployment creation completes, click the deployment name
  • Under the new deployment click APM
  • Save the APM Secret Token, we will refer to it as <apm_token> below
  • Note the APM Server URL, we will refer to it as <apm_server_url> below

Install the APM agent by adding the agent to your Gemfile

Configure the agent

Specify the following in configuration file config/elastic_apm.yml

# Set service name - allowed characters: 
# a-z, A-Z, 0-9, -, _ and space
#
# Defaults to the name of your Rails app
# service_name: 'my-service'

# Use if APM Server requires a token
#
secret_token: '<apm_token>'

# Set custom APM Server URL (
# default: http://localhost:8200)
#
server_url: '<apm_server_url>'
Initialize the agent by including the middleware in your app and start the agent. Rack or compatible frameworks (like Sinatra):
# config.ru
  require 'sinatra/base'

  class MySinatraApp < Sinatra::Base
    use ElasticAPM::Middleware

    # ...
  end

  ElasticAPM.start(
    app: MySinatraApp, # required
    config_file: '' # optional
  )

  run MySinatraApp

  at_exit { ElasticAPM.stop }
Open Kibana from Kibana section of the Elastic Cloud console (login: elastic/<password>)
Launch the APM app OR navigate to the APM-* dashboards
What just happened?

The APM agent installed in your application collects and streams application performance metrics to your APM server, where they are processed and stored in Elasticsearch. In a matter of minutes you can start viewing your performance data either in the dedicated APM UI or prebuilt dashboards.

Advanced configuration?

Please refer to the APM documentation.

  • Register for a free trial, if you do not already have an account
  • Log into the Elastic Cloud console
To create a cluster, in Elastic Cloud console:
  • Select Create Deployment, and specify the deployment name
  • Click Create Deployment
  • Wait until deployment creation completes, click the deployment name
  • Under the new deployment click APM
  • Save the APM Secret Token, we will refer to it as <apm_token> below
  • Note the APM Server URL, we will refer to it as <apm_server_url> below

Install the APM agent for JavaScript as a dependency to your application:

Configure the agent:

Specify the following in configuration

import { init as initApm } from 'elastic-apm-js-base'
var apm = initApm({

  // Set required service name 
  // (allowed characters: a-z, A-Z, 0-9, -, _, 
  // and space)
  serviceName: '',

  // Set custom APM Server URL (
  // default: http://localhost:8200)
  serverUrl: '<apm_server_url>',

  // Set service version (required for sourcemap 
  // feature)
  serviceVersion: ''
})
Open Kibana from Kibana section of the Elastic Cloud console (login: elastic/<password>)
Launch the APM app OR navigate to the APM-* dashboards
What just happened?

The APM agent installed in your application collects and streams application performance metrics to your APM server, where they are processed and stored in Elasticsearch. In a matter of minutes you can start viewing your performance data either in the dedicated APM UI or prebuilt dashboards.

Advanced configuration?

Please refer to the APM documentation.

  • Register for a free trial, if you do not already have an account
  • Log into the Elastic Cloud console
To create a cluster, in Elastic Cloud console:
  • Select Create Deployment, and specify the deployment name
  • Click Create Deployment
  • Wait until deployment creation completes, click the deployment name
  • Under the new deployment click APM
  • Save the APM Secret Token, we will refer to it as <apm_token> below
  • Note the APM Server URL, we will refer to it as <apm_server_url> below

Install the APM agent packages for Go.

Configure the agent:

Specify the following in configuration

# Set the service name. Allowed characters: 
# a-z, A-Z, 0-9, -, _, and space.
# If ELASTIC_APM_SERVICE_NAME is not specified,
# the executable name will be used.
export ELASTIC_APM_SERVICE_NAME=


# Set custom APM Server URL
# (default: http://localhost:8200)
export ELASTIC_APM_SERVER_URL= <apm_server_url> 

# Set if APM Server requires a token.
export ELASTIC_APM_SECRET_TOKEN= <apm_token>
Instrument your Go application by using one of the provided instrumentation modules or by using the tracer API directly:
import (
        "net/http"

        "go.elastic.co/apm/module/apmhttp"
)

func main() {
        mux := http.NewServeMux()
        ...
        http.ListenAndServe(":8080", apmhttp.Wrap(mux))
}

See the documentation for a detailed guide to instrumenting Go source code.

Open Kibana from Kibana section of the Elastic Cloud console (login: elastic/<password>)
Launch the APM app OR navigate to the APM-* dashboards
What just happened?

The APM agent installed in your application collects and streams application performance metrics to your APM server, where they are processed and stored in Elasticsearch. In a matter of minutes you can start viewing your performance data either in the dedicated APM UI or prebuilt dashboards.

Advanced configuration?

Please refer to the APM documentation.

Download the Java agent:

Download the agent jar from Maven Central. Do not add the agent as a dependency to your application.

Start your application with javaagent flag:

Add the -javaagent flag and configure the agent with system properties.

java \
 -javaagent:/.../elastic-apm-agent-<version>.jar\
 -Delastic.apm.service_name=my-application\
 -Delastic.apm.server_url=http://localhost:8200\
 -Delastic.apm.application_packages=org.example\
 -jar my-application.jar
Open browser @
Launch the APM app OR navigate to the APM-* dashboards
What just happened?

The APM agent installed in your application collects and streams application performance metrics to your APM server, where they are processed and stored in Elasticsearch. In a matter of minutes you can start viewing your performance data either in the dedicated APM UI or prebuilt dashboards.

Advanced configuration?

Please refer to the APM documentation.

Install the APM Agent for Node.js as a dependency to your application.

Configure the agent to run inside your application process.

// Add this to the VERY top of the first 
// file loaded in your app
var apm = require('elastic-apm-node').start({
  // Override service name from package.json 
  // Allowed characters: a-z, A-Z, 0-9, -, _, 
  // and space
  serviceName: '',
  
  // Use if APM Server requires a token
  secretToken: '',
  
  // Set custom APM Server URL
  // Default: http://localhost:8200
  serverUrl: ''
})
Open browser @
Launch the APM app OR navigate to the APM-* dashboards
What just happened?

The APM agent installed in your application collects and streams application performance metrics to your APM server, where they are processed and stored in Elasticsearch. In a matter of minutes you can start viewing your performance data either in the dedicated APM UI or prebuilt dashboards.

Advanced configuration?

Please refer to the APM documentation.

Install the APM agent for Python as a dependency.

Configure the agent.

# Add the agent to the installed apps
INSTALLED_APPS = (
   'elasticapm.contrib.django',
   #...
 
)


ELASTIC_APM = {
  # Set required service name. 
  # Allowed characters:
  # a-z, A-Z, 0-9, -, _, and space
  'SERVICE_NAME': '',

  # Use if APM Server requires a token
  'SECRET_TOKEN': '',

  # Set custom APM Server URL (
  # default: http://localhost:8200)
  #
  'SERVER_URL': '',
}
# To send performance metrics, add our tracing middleware:
MIDDLEWARE = (
   'elasticapm.contrib.django.middleware.TracingMiddleware',
   #...
)
Open browser @
Launch the APM app OR navigate to the APM-* dashboards
What just happened?

The APM agent installed in your application collects and streams application performance metrics to your APM server, where they are processed and stored in Elasticsearch. In a matter of minutes you can start viewing your performance data either in the dedicated APM UI or prebuilt dashboards.

Advanced configuration?

Please refer to the APM documentation.

Install the APM agent for Python as a dependency.

Configure the agent.

# initialize using environment variables 
from elasticapm.contrib.flask import ElasticAPM
app = Flask(__name__)
apm = ElasticAPM(app)

# or configure to use ELASTIC_APM in your 
# application's settings
#
from elasticapm.contrib.flask import ElasticAPM
app.config['ELASTIC_APM'] = {
  # Set required service name. 
  # Allowed characters:
  # a-z, A-Z, 0-9, -, _, and space
  'SERVICE_NAME': '',

  # Use if APM Server requires a token
  'SECRET_TOKEN': '',

  # Set custom APM Server URL (
  # default: http://localhost:8200)
  #
  'SERVER_URL': '',
}
apm = ElasticAPM(app) 
Open browser @
Launch the APM app OR navigate to the APM-* dashboards
What just happened?

The APM agent installed in your application collects and streams application performance metrics to your APM server, where they are processed and stored in Elasticsearch. In a matter of minutes you can start viewing your performance data either in the dedicated APM UI or prebuilt dashboards.

Advanced configuration?

Please refer to the APM documentation.

Install the APM agent by adding the agent to your Gemfile

Configure the agent by creating the config file config/elastic_apm.yml

# Set service name - allowed characters: 
# a-z, A-Z, 0-9, -, _ and space
# Defaults to the name of your Rails app
# service_name: 'my-service'

# Use if APM Server requires a token
#
# secret_token: ''

# Set custom APM Server URL (
# default: http://localhost:8200)
#
# server_url: 'http://localhost:8200'
Open browser @
Launch the APM app OR navigate to the APM-* dashboards
What just happened?

The APM agent installed in your application collects and streams application performance metrics to your APM server, where they are processed and stored in Elasticsearch. In a matter of minutes you can start viewing your performance data either in the dedicated APM UI or prebuilt dashboards.

Advanced configuration?

Please refer to the APM documentation.

Install the APM agent by adding the agent to your Gemfile

Configure the agent by creating the config file config/elastic_apm.yml

# Set service name - allowed characters: 
# a-z, A-Z, 0-9, -, _ and space
#
# Defaults to the name of your Rails app
# service_name: 'my-service'

# Use if APM Server requires a token
#
# secret_token: ''

# Set custom APM Server URL (
# default: http://localhost:8200)
#
# server_url: 'http://localhost:8200'

Initialize the agent by including the middleware in your app and start the agent. Rack or compatible frameworks (like Sinatra):

# config.ru
  require 'sinatra/base'

  class MySinatraApp < Sinatra::Base
    use ElasticAPM::Middleware

    # ...
  end

  ElasticAPM.start(
    app: MySinatraApp, # required
    config_file: '' # optional
  )

  run MySinatraApp

  at_exit { ElasticAPM.stop }

Open browser @
Launch the APM app OR navigate to the APM-* dashboards
What just happened?

The APM agent installed in your application collects and streams application performance metrics to your APM server, where they are processed and stored in Elasticsearch. In a matter of minutes you can start viewing your performance data either in the dedicated APM UI or prebuilt dashboards.

Advanced configuration?

Please refer to the APM documentation.

Install the APM agent for JavaScript as a dependency to your application:

Configure the agent:

import { init as initApm } from 'elastic-apm-js-base'
var apm = initApm({

  // Set required service name 
  // (allowed characters: a-z, A-Z, 0-9, -, _, 
  // and space)
  serviceName: '',

  // Set custom APM Server URL (
  // default: http://localhost:8200)
  serverUrl: '',

  // Set service version (required for sourcemap 
  // feature)
  serviceVersion: ''
})

Open browser @
Launch the APM app OR navigate to the APM-* dashboards
What just happened?

The APM agent installed in your application collects and streams application performance metrics to your APM server, where they are processed and stored in Elasticsearch. In a matter of minutes you can start viewing your performance data either in the dedicated APM UI or prebuilt dashboards.

Advanced configuration?

Please refer to the APM documentation.

Install the APM agent packages for Go.

Configure the agent:

# Set the service name. Allowed characters: 
# a-z, A-Z, 0-9, -, _, and space.
# If ELASTIC_APM_SERVICE_NAME is not specified,
# the executable name will be used.
export ELASTIC_APM_SERVICE_NAME=

# Set custom APM Server URL 
# (default: http://localhost:8200)
export ELASTIC_APM_SERVER_URL=

# Set if APM Server requires a token.
export ELASTIC_APM_SECRET_TOKEN=

Instrument your Go application by using one of the provided instrumentation modules or by using the tracer API directly:

import (
 "net/http"

 "go.elastic.co/apm/module/apmhttp"
)

func main() {
 mux := http.NewServeMux()
 ...
 http.ListenAndServe(":8080", apmhttp.Wrap(mux))
}

See the documentation for a detailed guide to instrumenting Go source code.

Open browser @
Launch the APM app OR navigate to the APM-* dashboards
What just happened?

The APM agent installed in your application collects and streams application performance metrics to your APM server, where they are processed and stored in Elasticsearch. In a matter of minutes you can start viewing your performance data either in the dedicated APM UI or prebuilt dashboards.

Advanced configuration?

Please refer to the APM documentation.

APM ist nur eine Möglichkeit, Daten zu betrachten

Haben Sie Sicherheitsereignisse? Website- oder Server-Logs? Dokumente mit Unmengen von Text? Zentralisieren Sie all diese Daten im Elastic Stack – um Ihre Analysen auszudehnen, die Betriebskosten zu senken und noch mehr aus Ihrem Anwendungsfall herauszuholen.

Logging

Schnelles und skalierbares Logging – ohne Unterbrechung.

Mehr erfahren

Metriken

Erhalte Einblick in Zahlen: CPU, Speicher, usw.

Mehr erfahren

Site Search

Optimiere das Sucherlebnis auf deiner Website.

Mehr erfahren

Sicherheitsanalysen

Interaktive Untersuchung – schnell und skalierbar.

Mehr erfahren

App Search

Suche nach Dokumenten, Geodaten usw.

Mehr erfahren