APM

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

Elasticsearch에 로그와 시스템 메트릭을 보관하고 계신가요? Elastic APM을 이용하여 애플리케이션 메트릭으로 영역을 확장하세요. 단 4줄의 코드로 더욱 큰 그림을 그리며 문제를 신속하게 해결하고 효율적인 코딩을 진행할 수 있습니다.

获得 Elastic APM 体验。 试试看

New Elastic APM의 GA 버전이 출시되었습니다. 개발자 중심의 새로운 UI를 통해 최소한의 비용으로 성능 문제를 탐색하고 해결하세요.더 보기

대시보드에 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.

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, 메모리 및 그 외의 다양한 수치 분석.

더 보기

사이트 검색

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

더 보기

보안 분석

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

더 보기

앱 검색

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

더 보기