APM

Monitoring de la performance applicative (APM)

Vous hébergez déjà des logs et des indicateurs système dans Elasticsearch ? Voyez plus grand et ajoutez les indicateurs de performance applicative avec Elastic APM. Quatre lignes à ajouter dans votre code vous permettent d'avoir une vue d'ensemble et de corriger les erreurs rapidement ; cela vous permet aussi d'être confiant vis-à-vis du code que vous déployez.

Découvrez l'expérience Elastic APM. Essayer

Nouveau Elastic APM est disponible et propose une nouvelle UI orientée développeur pour explorer et résoudre les problèmes de performance, tout ça sans trop d'efforts. En savoir plus

Des tableaux de bord avec une touche d'APM

Elastic APM organise vos applications pour envoyer des indicateurs de performance vers Elasticsearch, afin qu'ils puissent être visualisés dans Kibana à l'aide de tableaux de bord préconfigurés.

Et puisque les données sont stockées en tant que documents bruts dans Elasticsearch, les indicateurs de votre application peuvent coexister avec vos logs d'infrastructure, vos indicateurs serveur, vos événements de sécurité, simplifiant ainsi l'analyse de toutes vos données dans un seul et même endroit.

Une interface utilisateur efficace

Une interface utilisateur APM dédiée vous permet d'identifier les goulets d'étranglement et de trouver rapidement les changements problématiques au niveau du code. Par conséquent, vous obtenez un meilleur code, plus efficace, qui donne lieu à un cycle de développement-test-déploiement plus réactif, des applications plus rapides et une meilleure expérience client.

S'adapte aux développeurs et à leurs langages

Elastic APM supporte aujourd’hui Node.js et Python — mais d'autres langages de programmation y compris Java, Ruby et JavaScript seront bientôt disponibles. En outre, il est évolutif. Si vous ne trouvez pas ce dont vous avez besoin, vous pouvez toujours le créer ou tirer parti de la communauté open source.

Démarrage avec seulement quatre lignes de code

Procurez-vous la nouvelle version de la Suite Elastic et un peu de code pour instrumenter votre application avec des agents et déployer un serveur qui envoie les données APM à Elasticsearch.
In Elasticsearch install directory:
Once Elasticsearch starts, in Elasticsearch install directory (separate window):

Note the password for elastic user as <es_pw>

Note the password for kibana user as <kibana_pw>

In Kibana install directory:

Modify config/kibana.yml to set credentials for Elasticsearch

elasticsearch.username: "kibana"
elasticsearch.password: "<kibana_pw>"
			
In APM Server install directory:

Optional: Use apm-server setup to import APM dashboards. If you're using an X-Pack secured version of Elastic Stack, you need to specify credentials in the apm-server.yml config file.

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({
  // Required app name (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 @
http://localhost:5601 (login: elastic/<es_pw>)
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 these performance metrics either in prebuilt dashboards or in the dedicated APM UI.

Didn't work for you?

Please refer to the APM documentation.

In Elasticsearch install directory:
Once Elasticsearch starts, in Elasticsearch install directory (separate window):

Note the password for elastic user as <es_pw>

Note the password for kibana user as <kibana_pw>

In Kibana install directory:

Modify config/kibana.yml to set credentials for Elasticsearch

elasticsearch.username: "kibana"
elasticsearch.password: "<kibana_pw>"
			
In APM Server install directory:

Optional: Use apm-server setup to import APM dashboards. If you're using an X-Pack secured version of Elastic Stack, you need to specify credentials in the apm-server.yml config file.

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 = {
   'SERVICE_NAME': '<SERVICE-NAME>', 
   'SECRET_TOKEN': '<SECRET-TOKEN>',
}
# To send performance metrics, add our tracing middleware:
MIDDLEWARE = (
'elasticapm.contrib.django.middleware.TracingMiddleware',
   #...
)
				
Open browser @
http://localhost:5601 (login: elastic/<es_pw>)
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 these performance metrics either in prebuilt dashboards or in the dedicated APM UI.

Didn't work for you?

Please refer to the APM documentation.

In Elasticsearch install directory:
Once Elasticsearch starts, in Elasticsearch install directory (separate window):

Note the password for elastic user as <es_pw>

Note the password for kibana user as <kibana_pw>

In Kibana install directory:

Modify config/kibana.yml to set credentials for Elasticsearch

elasticsearch.username: "kibana"
elasticsearch.password: "<kibana_pw>"
			
In APM Server install directory:

Optional: Use apm-server setup to import APM dashboards. If you're using an X-Pack secured version of Elastic Stack, you need to specify credentials in the apm-server.yml config file.

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'] = {
   'SERVICE_NAME': '',
   'SECRET_TOKEN': '',
}

apm = ElasticAPM(app)
Open browser @
http://localhost:5601 (login: elastic/<es_pw>)
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 these performance metrics either in prebuilt dashboards or in the dedicated APM UI.

Didn't work for you?

Please refer to the APM documentation.

In Elasticsearch install directory:
Once Elasticsearch starts, in Elasticsearch install directory (separate window):

Note the password for elastic user as <es_pw>

Note the password for kibana user as <kibana_pw>

In Kibana install directory:

Modify config/kibana.yml to set credentials for Elasticsearch

elasticsearch.username: "kibana"
elasticsearch.password: "<kibana_pw>"
			
In APM Server install directory:

Optional: Use apm-server setup to import APM dashboards. If you're using an X-Pack secured version of Elastic Stack, you need to specify credentials in the apm-server.yml config file.

Install the APM agent by adding the agent to your Gemfile

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

# config/elastic_apm.yml
server_url: 'http://localhost:8200'
				

Note: The Ruby agent is currently in Beta and not meant for production use.

Open browser @
http://localhost:5601 (login: elastic/<es_pw>)
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 these performance metrics either in prebuilt dashboards or in the dedicated APM UI.

Didn't work for you?

Please refer to the APM documentation.

In Elasticsearch install directory:
Once Elasticsearch starts, in Elasticsearch install directory (separate window):

Note the password for elastic user as <es_pw>

Note the password for kibana user as <kibana_pw>

In Kibana install directory:

Modify config/kibana.yml to set credentials for Elasticsearch

elasticsearch.username: "kibana"
elasticsearch.password: "<kibana_pw>"
			
In APM Server install directory:

Optional: Use apm-server setup to import APM dashboards. If you're using an X-Pack secured version of Elastic Stack, you need to specify credentials in the apm-server.yml config file.

Install the APM agent by adding the agent to your Gemfile

Configure the agent by include 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
# Takes optional ElasticAPM::Config values
ElasticAPM.start(
  app: MySinatraApp, # required
  server_url: 'http://localhost:8200'
)
run MySinatraApp
at_exit { ElasticAPM.stop }

Note: The Ruby agent is currently in Beta and not meant for production use.

Open browser @
http://localhost:5601 (login: elastic/<es_pw>)
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 these performance metrics either in prebuilt dashboards or in the dedicated APM UI.

Didn’t work for you?

Please refer to the APM documentation.

APM n'est qu'un des outils disponibles pour décortiquer vos données

Vous avez des évènements de sécurité ? Des logs de site Internet ou de serveur ? Des documents avec des tonnes de texte ? Centralisez le tout dans la Suite Elastic pour élargir vos analyses, réduire vos coûts d'exploitation, et rendre votre cas d'utilisation encore plus riche.

Logging

Un logging rapide et évolutif qui ne vous laissera pas tomber.

En savoir plus

Indicateurs

Supervisez processeur, mémoire, et bien plus.

En savoir plus

Recherche Web

Créez facilement une excellente expérience de recherche.

En savoir plus

Analyses de sécurité

Analyse interactive rapide et évolutive.

En savoir plus

Recherche applicative

Recherchez à travers tous vos documents.

En savoir plus