esrally性能分析结果图形化展示深入详解
2016-08-10 20:40
513 查看
0、前提
安装elasticsearch的最新版本,目前是2.3.4版本。elsticsearch新增扮演的角色是:rally分析结果会存储到elasticsearch。
1、运行esrally 高级配置模式
高级配置模式和普通模式的区别:普通模式只需要配置jdk的环境变量路径。而高级模式,需要配置:当前本机已安装elasticsearch的监听端口以及ES配置的主机名称。
高级配置模式详情:
[elasticsearch@laoyang root]$ esrally configure --advanced-config ____ ____ / __ \____ _/ / /_ __ / /_/ / __ `/ / / / / / / _, _/ /_/ / / / /_/ / /_/ |_|\__,_/_/_/\__, / /____/ Running advanced configuration. You can get additional help at: https://esrally.readthedocs.io/en/latest/configuration.html WARNING: Will overwrite existing config file at [/home/elasticsearch/.rally/rally.ini] [✓] Autodetecting available third-party software git : [✓] gradle : [✓] JDK 8 : [✕] (You cannot benchmark Elasticsearch 5.x without a JDK 8 installation) [✓] Setting up benchmark data directory in [/home/elasticsearch/.rally/benchmarks] (needs several GB). Enter your Elasticsearch project directory: [default: '/home/elasticsearch/.rally/benchmarks/src']: Using default value '/home/elasticsearch/.rally/benchmarks/src' Enter the JDK 8 root directory:: /opt/jdk1.8.0_91 Enter a descriptive name for this benchmark environment (ASCII, no spaces): local Enter the host name of the ES metrics store [default: 'localhost']: laoyang #elasticsearch的监听端口 Enter the port of the ES metrics store: 9200 Use secure connection (True, False) [default: 'False']: Using default value 'False' Username for basic authentication (empty if not needed) [default: '']: Using default value '' Password for basic authentication (empty if not needed) [default: '']: Using default value '' [✓] Configuration successfully written to [/home/elasticsearch/.rally/rally.ini]. Happy benchmarking! To benchmark the currently checked out version of Elasticsearch with the default benchmark run: esrally For help, type esrally --help or see the user documentation at https://esrally.readthedocs.io You have new mail in /var/spool/mail/root
2、运行esrally
[elasticsearch@laoyang root]$ esrally ____ ____ / __ \____ _/ / /_ __ / /_/ / __ `/ / / / / / / _, _/ /_/ / / / /_/ / /_/ |_|\__,_/_/_/\__, / /____/
3、在head插件前端和kibana前端看输出结果。
head插件会显示:新增的索引:rally-2016.kibana配置参考:
https://elasticsearch-benchmark-analytics.elastic.co/app/kibana#/visualize/edit/Index-disk-usage (官网esrally性能测试)
下图信息,如果每天运行一次性能测试,就能够跑出性能曲线。(横轴:日期,纵轴:性能指标)
4. 细节与rally源码作者讨论如下
https://discuss.elastic.co/t/the-detail-meaning-of-esrally-final-score/57454/10——————————————————————————————————
更多ES相关实战干货经验分享,请扫描下方【铭毅天下】微信公众号二维码关注。
(每周至少更新一篇!)
和你一起,死磕Elasticsearch!
——————————————————————————————————
作者:铭毅天下
转载请标明出处,原文地址:
http://blog.csdn.net/laoyang360/article/details/52176045
如果感觉本文对您有帮助,请点击‘顶’支持一下,您的支持是我坚持写作最大的动力,谢谢!
相关文章推荐
- 《LoadRunner 没有告诉你的》之二——描述性统计与性能结果分析(续)
- PGA自动管理原理深入分析及性能调整
- 描述性统计与性能结果分析-LoadRunner
- Linux性能分析工具详解
- loadrunner性能测试结果分析总结
- 《LoadRunner 没有告诉你的》之一——描述性统计与性能结果分析
- 软件测试中性能测试结果分析
- WebService性能测试回顾版-结果分析和项目总结
- .NET深入学习笔记(2):C#中判断空字符串的4种方法性能比较与分析
- 性能测试结果分析
- Oracle - PGA自动管理原理深入分析及性能调整(6)
- Shared pool深入分析及性能调整
- 图形化基因分析结果
- Oracle - PGA自动管理原理深入分析及性能调整(3)
- Shared pool深入分析及性能调整
- 《LoadRunner 没有告诉你的》之二——描述性统计与性能结果分析(续)
- Oracle - PGA自动管理原理深入分析及性能调整(5)
- Oracle - PGA自动管理原理深入分析及性能调整(2)
- 描述性统计与性能结果分析-LoadRunner
- 《LoadRunner 没有告诉你的》之二——描述性统计与性能结果分析(续)