당사의 Aerospike 통합은 Aerospike 데이터 플랫폼의 성능을 모니터링하여 애플리케이션의 문제를 진단하고 코드를 최적화하는 데 도움을 줍니다. 당사의 Aerospike 통합은 가장 중요한 Aerospike 앱 메트릭이 포함된 사전 구축된 대시보드를 제공합니다.
Aerospike 통합을 설정한 후 Aerospike 플랫폼 지표에 대한 대시보드를 제공합니다.
설치
1단계: 인프라 에이전트 설치
인프라 에이전트를 설치하면 앱이 실행 중인 호스트에 대한 중요한 메트릭을 얻을 수 있습니다.
이렇게 하려면 Aerospike 앱이 포함된 호스트에 대한 인프라 에이전트 설치 단계를 따르십시오.
2단계: nri-aerospike 애플리케이션 설치
Prometheus 내보내기 애플리케이션 nri-aerospike
은 apt-get 저장소에서 사용할 수 있습니다.
- nri-aerospike를 설치하려면 아래 명령을 사용하십시오.
sudo apt-get install nri-aerospike
다음과 같은 이유로 nri-aerospike가 성공적으로 설치되었음을 알 수 있습니다.
- Exporter가
/var/db/newrelic-infra/newrelic-integrations/bin
디렉토리에 설치된 것을 볼 수 있습니다. - 샘플 구성 파일이
/etc/newrelic-infra/integrations.d
디렉토리에 생성되었습니다.
- 샘플 구성 파일의 이름을
aerospike-config.yml.sample
에서 다음으로 바꿉니다.aerospike-config.yml
구성 파일은 다음과 같아야 합니다.
integrations: - name: nri-aerospike config: # API URL of the aerospike service aerospike_db_host: localhost aerospike_db_port: 3000
# Port to expose scrape endpoint on, If this is not provided a random port will be used to launch the exporter exporter_port: 9145
# Cluster name is used on the aerospike.prometheus.json.template - all the metrics captured by nri-prometheus will be categorised under this cluster name aerospike_cluster_name: YOUR_DESIRED_CLUSTER_NAME scrape_timeout: 5s
label_type: development label_source: aerospike
exporter_files_path: /tmp
nri-aerospike
) 성공적으로 구성한 후 http://localhost:9145/metrics
에서 모니터링되는 Aerospike 메트릭 목록을 볼 수 있습니다.
- New Relic 인프라 에이전트를 다시 시작하십시오. 자세한 정보가 필요하면 인프라 에이전트 설명서를따르십시오.
데이터 찾기
Aerospike 대시보드를 얻으려면:
- one.newrelic.com에서, 데이터 추가 페이지로 이동합니다.
- 대시보드 를클릭합니다.
- 검색창에
Aerospike
를 입력합니다. - Aerospike 대시보드가 나타납니다. 그것을 클릭하여 설치하십시오.
Aerospike 대시보드는 맞춤형 대시보드로 간주되며 Dashboards UI에서 찾을 수 있습니다. 대시보드 사용 및 편집에 대한 문서는 대시보드 문서 를참조하십시오.
이 통합은 인프라 에이전트형식으로 데이터를 보고합니다.
다음은 네임스페이스에서 사용 가능한 메모리 용량의 백분율을 확인하는 NRQL 쿼리의 예입니다.
FROM Metric SELECT latest (aerospike_namespace_memory_free_pct)
다음은 뭐지?
데이터 쿼리 및 맞춤형 대시보드 생성에 대해 자세히 알아보려면 다음 문서를 확인하세요.