2.X/7. Administration Monitoring Deployment

7-1-1. Marvel for Monitoring

drscg 2017. 9. 23. 12:49

Marvel enables you to easily monitor Elasticsearch through Kibana. You can view your cluster’s health and performance in real time as well as analyze past cluster, index, and node metrics.

Marvel은 Kibana를 통해 Elasticsearch를 쉽게 모니터할 수 있다. 이전의 cluster, index, 그리고 node metrics를 분석하는 것과 마찬가지로, 실시간으로 cluster의 상태, 성능을 살펴볼 수 있다.

While you can access a large number of statistics through the APIs described in this chapter, they only show you what’s going on at a single point in time. Knowing memory usage at this instant is helpful, but knowing memory usage over time is much more useful. Marvel queries and aggregates the metrics so you can visualize your cluster’s behavior over time, which makes it easy to spot trends.

이 장에서 소개되는 API들을 통해 아주 많은 통계에 접근할 수 있지만, 이런 API들은 어떤 순간에 무슨 일이 일어나고 있는지 만을 보여준다. 이 순간의 메모리 사용량을 아는 것도 유용하지만, 시간에 따른 메모리 사용량을 아는 것이 훨씬 더 유용하다. marvel은 지표를 query하고 aggregation한다. 그래서 여러분들은 시간에 따른 cluster의 움직임을 시각화할 수 있는데, 이것으로 추세를 쉽게 알 수 있다.

As your cluster grows, the output from the stats APIs can get truly hairy. Once you have a dozen nodes, let alone a hundred, reading through stacks of JSON becomes very tedious. Marvel lets your explore the data interactively and makes it easy to zero in on what’s going on with particular nodes or indices.

cluster가 커질수록, stats API들의 출력은 정말 이해하기가 어렵다. 백 개는 고사하고 십여 개의 node를 가지고 있는 경우에도, JSON을 통해 읽는 것은 매우 지루한 작업이다. marvel을 이용하여, 대화형으로 데이터를 탐색할 수 있고, 특정 node 또는 index에 무슨 일이 일어나는지 쉽게 집중할 수 있다.

Marvel uses the same stats APIs that are available to you—it does not expose any statistics that you can’t access through the APIs. However, Marvel greatly simplifies the collection and visualization of those statistics.

marvel은 누구나 이용할 수 있는 동일한 stats API를 사용한다.(API들을 통해 접근할 수 없는 어떠한 통계도 나타나지 않는다.) 하지만, marvel은 해당 통계의 수집과 시각화를 크게 간소화하였다.

Marvel is free to use (even in production!), so you should definitely try it out! For installation instructions, see Getting Started with Marvel.

marvel은 (심지어 제품에 조차) 사용이 무료이다. 그러니 여러분은 분명히 테스트해 봐야 한다. 설치 방법은 Getting Started with Marvel을 참고하자.

'2.X > 7. Administration Monitoring Deployment' 카테고리의 다른 글

7. Administration, Monitoring, and Deployment  (0) 2017.09.23
7-1. Monitoring  (0) 2017.09.23
7-1-2. Cluster Health  (0) 2017.09.23
7-1-3. Monitoring Individual Nodes  (0) 2017.09.23
7-1-4. Cluster Stats  (0) 2017.09.23