Microsoft Azure App Service

개요

Azure App Service는 웹, 모바일, API 및 비즈니스 로직 애플리케이션을 실행하고 해당 앱에 필요한 리소스를 자동으로 관리하는 PaaS(Platform as a Service)입니다.

Azure App Service에서 메트릭을 얻으면 다음을 수행할 수 있습니다.

  • 앱 성능 시각화
  • Azure Apps 성능과 나머지 앱 간의 상관 관계 파악

Azure App Service 보기

Azure App Service 프리셋 대시보드 외에 전용 Azure App Service 보기를 사용할 수도 있습니다.

Azure App Service 보기를 사용하면 다음을 수행할 수 있습니다.

  • 지연 시간이 길거나 오류가 있는 앱을 빠르게 식별할 수 있습니다.

  • 웹 앱, 함수 앱, 앱 서비스 플랜 사용을 추적할 수 있습니다.

  • 활성 인스턴스 수를 시각화하고 어떤 앱이 실행 중이며, 어떤 앱이 Datadog에 트레이스 또는 로그를 제출하는지 확인하여 앱 서비스 요금제 비용에 대한 인사이트를 얻을 수 있습니다.

  • App Service Plans에서 실행 중인 앱을 매핑하여 비용이나 성능에 영향을 미칠 수 있는 앱을 식별할 수 있습니다.

Azure App Service에서 실행되는 애플리케이션에 대해 Datadog APM 및 커스텀 메트릭을 활성화하려면 Datadog Azure App Service 확장에 대한 설명서를 참조하세요.

설정

설치

아직 설정하지 않았다면 Microsoft Azure 통합을 먼저 설정하세요. 다른 설치 단계는 없습니다.

로그 및 트레이스 ID 삽입을 포함한 추가 모니터링 옵션은 Azure App Service 확장을 참조하세요.

수집한 데이터

메트릭

azure.app_services.cpu_time
(gauge)
The amount of CPU consumed by the app, in seconds. For more information about this metric. Please see:https://aka.ms/website-monitor-cpu-time-vs-cpu-percentage(CPU time vs CPU percentage). For WebApps only.
Shown as second
azure.app_services.cpu_time.max
(gauge)
The maximum amount of cpu time of the app (Max Aggregated)
Shown as second
azure.app_services.bytes_received
(count)
The amount of incoming bandwidth consumed by the app, in MiB. For WebApps and FunctionApps.
Shown as byte
azure.app_services.bytes_sent
(count)
The amount of outgoing bandwidth consumed by the app, in MiB. For WebApps and FunctionApps.
Shown as byte
azure.app_services.memory_working_set
(gauge)
The average memory used by the app
Shown as byte
azure.app_services.memory_working_set.max
(gauge)
The maximum memory used by the app (Max Aggregated)
Shown as byte
azure.app_services.response_time
(gauge)
The time taken for the app to serve requests
Shown as second
azure.app_services.response_time.max
(gauge)
The maximum time taken for the app to serve requests (Max Aggregated)
Shown as second
azure.app_services.status
(gauge)
The status of Azure App Services (deprecated)
azure.app_services.count
(gauge)
The count of Azure App Services resources
azure.app_services.total_app_domains
(gauge)
The current number of App Domains loaded in this application
azure.app_services.total_app_domains_unloaded
(gauge)
The total number of App Domains unloaded since the start of the application
azure.app_services.requests
(count)
The total number of requests regardless of their resulting HTTP status code. For WebApps and FunctionApps.
azure.app_services.requests_in_application_queue
(gauge)
The number of requests in the application request queue. For WebApps and FunctionApps.
azure.app_services.thread_count
(gauge)
The number of threads currently active in the app process. For WebApps and FunctionApps.
azure.app_services.webjob_count
(gauge)
The current number of WebJobs configured per WebApp.
azure.web_serverfarms.maximum_number_of_workers
(gauge)
The maximum number of workers configured for an App Service Plan
azure.web_serverfarms.number_of_sites
(gauge)
The number of sites configured for an App Service Plan
azure.web_serverfarms.target_worker_count
(gauge)
The target number of workers configured for an App Service Plan
azure.web_serverfarms.current_instance_count
(gauge)
The current number of instances running inside an App Service Plan
azure.web_serverfarms.status
(gauge)
Status of App Service Plan (deprecated)
azure.web_serverfarms.count
(gauge)
The count of all App Service Plan resources
azure.web_sites_slots.app_connections
(gauge)
The number of bound sockets existing in the sandbox (w3wp.exe and its child processes). A bound socket is created by calling bind()/connect() APIs and remains until said socket is closed with CloseHandle()/closesocket().
azure.web_sites_slots.average_memory_working_set
(gauge)
The average amount of memory used by the app, in megabytes (MiB).
Shown as byte
azure.app_services.handle_count
(gauge)
The total number of handles currently open by the app process. For WebApps and FunctionApps.
azure.web_sites_slots.average_response_time
(gauge)
The average time taken for the app to serve requests, in seconds.
Shown as second
azure.web_sites_slots.cpu_time
(gauge)
The amount of CPU consumed by the app, in seconds. For more information about this metric. Please see:https://aka.ms/website-monitor-cpu-time-vs-cpu-percentage(CPU time vs CPU percentage).
Shown as second
azure.web_sites_slots.current_assemblies
(gauge)
The current number of Assemblies loaded across all AppDomains in this application.
azure.web_sites_slots.file_system_usage
(gauge)
Percentage of filesystem quota consumed by the app.
Shown as byte
azure.web_sites_slots.function_execution_count
(count)
Function Execution Count
azure.web_sites_slots.function_execution_units
(count)
Function Execution Units
azure.web_sites_slots.gen0_collections
(count)
The number of times the generation 0 objects are garbage collected since the start of the app process. Higher generation GCs include all lower generation GCs.
azure.web_sites_slots.gen1_collections
(count)
The number of times the generation 1 objects are garbage collected since the start of the app process. Higher generation GCs include all lower generation GCs.
azure.web_sites_slots.gen2_collections
(count)
The number of times the generation 2 objects are garbage collected since the start of the app process.
azure.web_sites_slots.handles
(gauge)
The total number of handles currently open by the app process.
azure.web_sites_slots.health_check_status
(gauge)
Health check status
azure.web_sites_slots.http101
(count)
The count of requests resulting in an HTTP status code 101.
azure.web_sites_slots.http2xx
(count)
The count of requests resulting in an HTTP status code = 200 but < 300.
azure.web_sites_slots.http3xx
(count)
The count of requests resulting in an HTTP status code = 300 but < 400.
azure.web_sites_slots.http401
(count)
The count of requests resulting in HTTP 401 status code.
azure.web_sites_slots.http403
(count)
The count of requests resulting in HTTP 403 status code.
azure.web_sites_slots.http404
(count)
The count of requests resulting in HTTP 404 status code.
azure.web_sites_slots.http406
(count)
The count of requests resulting in HTTP 406 status code.
azure.web_sites_slots.http4xx
(count)
The count of requests resulting in an HTTP status code = 400 but < 500.
azure.web_sites_slots.http5xx
(count)
The count of requests resulting in an HTTP status code = 500 but < 600.
azure.web_sites_slots.http_response_time
(gauge)
The time taken for the app to serve requests, in seconds.
Shown as second
azure.web_sites_slots.io_other_bytes_per_second
(count)
The rate at which the app process is issuing bytes to I/O operations that don't involve data, such as control operations.
Shown as byte
azure.web_sites_slots.io_other_operations_per_second
(count)
The rate at which the app process is issuing I/O operations that aren't read or write operations.
Shown as byte
azure.web_sites_slots.io_read_bytes_per_second
(count)
The rate at which the app process is reading bytes from I/O operations.
Shown as byte
azure.web_sites_slots.io_read_operations_per_second
(count)
The rate at which the app process is issuing read I/O operations.
Shown as byte
azure.web_sites_slots.io_write_bytes_per_second
(count)
The rate at which the app process is writing bytes to I/O operations.
Shown as byte
azure.web_sites_slots.io_write_operations_per_second
(count)
The rate at which the app process is issuing write I/O operations.
Shown as byte
azure.web_sites_slots.memory_working_set
(gauge)
The current amount of memory used by the app, in MiB.
Shown as byte
azure.web_sites_slots.private_bytes
(gauge)
Private Bytes is the current size, in bytes, of memory that the app process has allocated that can't be shared with other processes.
Shown as byte
azure.web_sites_slots.requests
(count)
The total number of requests regardless of their resulting HTTP status code.
azure.web_sites_slots.requests_in_application_queue
(gauge)
The number of requests in the application request queue.
azure.web_sites_slots.scm_cpu_time
(count)
ScmCpuTime
Shown as second
azure.web_sites_slots.scm_private_bytes
(gauge)
ScmPrivateBytes
Shown as byte
azure.web_sites_slots.threads
(gauge)
The number of threads currently active in the app process.
azure.web_sites_slots.total_app_domains
(gauge)
The current number of AppDomains loaded in this application.
azure.web_sites_slots.total_app_domains_unloaded
(gauge)
The total number of AppDomains unloaded since the start of the application.
azure.web_sites_slots.status
(gauge)
Status of app deployment slots (deprecated)
azure.web_sites_slots.count
(gauge)
The count of all app deployment slots resources

이벤트

Azure App Service 통합에는 이벤트가 포함되지 않습니다.

서비스 점검

Azure App Service 통합에는 서비스 점검이 포함되지 않습니다.

트러블슈팅

도움이 필요하신가요? Datadog 지원 팀에 문의하세요.