APM

오픈소스 애플리케이션 성능 모니터링(APM)

이미 Elasticsearch에 로그와 시스템 메트릭을 보관하고 계신가요? Elastic APM을 이용하여 애플리케이션 메트릭까지 영역을 확장하세요. 4줄의 코드 만으로 더 큰 그림들을 파악하고, 문제를 신속하게 해결하며, 쾌적한 코딩을 할 수 있습니다.

Get the Elastic APM experience. Try It Out

New Elastic APM is GA and introduces a new developer-focused UI to drill into performance issues and resolve them, all with minimal effort. Read More

여러분이 좋아하시는 대시보드에, 이제 APM이 첨가되었습니다

Elastic APM은 Elasticsearch로 성능 메트릭을 전송한 후 Kibana에서 미리 구성된 대시보드로 시각화할 수 있는 도구입니다.

또한, 데이터는 Elasticsearch에 원본 문서 형태로 저장되므로, 애플리케이션 메트릭 데이터를 인프라 로그, 서버 메트릭, 보안 이벤트와 함께 보관이 가능하며, 한 곳에서 모든 데이터를 편리하게 탐색할 수 있습니다.

APM 전용 UI를 통해 성능을 개선하세요

Elastic APM은 전용 UI를 통해 병목현상을 파악하고 문제를 일으킬 수 있는 코드 레벨의 변화에 초점을 맞춥니다. 그 결과, 반복되는 개발-테스트-배포 주기를 가속화하고, 더 빠른 애플리케이션, 더 나은 고객 경험으로 이어지는 더 개선되고 효율적인 코드를 얻을 수 있습니다.

개발자 친화적며, 언어 친화적입니다

Elastic APM은 Node.js 및 Python을 먼저 제공합니다. 또한 앞으로 Ruby, JavaScript를 포함한 다수의 프로그래밍 언어도 지원됩니다. 그리고 확장도 가능합니다. 필요한 언어가 제공되지 않으면 직접 만들거나 오픈 소스 커뮤니티를 활용할 수 있습니다.

4줄의 코드만으로 바로 시작할 수 있습니다

막 설치를 끝낸 Elastic Stack과 약간의 코드만 있으면 앱에 에이전트를 구현하고 Elasticsearch에 데이터를 전송하는 서버를 배포할 수 있습니다.
In Elasticsearch install directory:
Ctrl + C to Copy
In Kibana install directory:
Ctrl + C to Copy
In APM Server install directory:
Ctrl + C to Copy

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 service 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 @
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.

Didn't work for you?

Please refer to the APM documentation.

In Elasticsearch install directory:
Ctrl + C to Copy
In Kibana install directory:
Ctrl + C to Copy
In APM Server install directory:
Ctrl + C to Copy

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 = {
  # 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.

Didn't work for you?

Please refer to the APM documentation.

In Elasticsearch install directory:
Ctrl + C to Copy
In Kibana install directory:
Ctrl + C to Copy
In APM Server install directory:
Ctrl + C to Copy

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'] = {
  # 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.

Didn't work for you?

Please refer to the APM documentation.

In Elasticsearch install directory:
Ctrl + C to Copy
In Kibana install directory:
Ctrl + C to Copy
In APM Server install directory:
Ctrl + C to Copy

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

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

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

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

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

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.

Didn't work for you?

Please refer to the APM documentation.

In Elasticsearch install directory:
Ctrl + C to Copy
In Kibana install directory:
Ctrl + C to Copy
In APM Server install directory:
Ctrl + C to Copy

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

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

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

# Set custom APM Server URL (default: http://localhost:8200)
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, defaults to config/elastic_apm.yml
  )

  run MySinatraApp

  at_exit { ElasticAPM.stop }

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

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.

Didn't work for you?

Please refer to the APM documentation.

APM은 데이터를 나누는 여러 방법중 하나일 뿐입니다

보안 이벤트가 있으십니까? 웹 사이트나 서버 로그 문제입니까? 텍스트가 많은 문서를 처리해야 합니까? 이 모든 것들을 Elastic Stack에 집중시켜 분석을 확대하고, 운영비를 절감하고, 더욱 알찬 사례를 만들어 보세요.

로그분석

빠르고 확장 가능하며 중단되지 않는 실시간 로깅.

더 보기

Metrics

CPU, 메모리 및 그 외의 다양한 수치 분석.

더 보기

사이트 검색

손쉽게 만들고 추가하는 사이트 검색의 경험.

더 보기

보안 분석

빠르고 확장 가능한 상호 교환형 정보 수색.

더 보기

앱 검색

문서, 위치정보 및 그 이상의 검색.

더 보기