esrally性能分析结果图形化展示深入详解
0、前提
安装elasticsearch的最新版本,目前是2.3.4版本。
elsticsearch新增扮演的角色是:rally分析结果会存储到elasticsearch。
1、运行esrally 高级配置模式
高级配置模式和普通模式的区别:普通模式只需要配置jdk的环境变量路径。
而高级模式,需要配置:当前本机已安装elasticsearch的监听端口以及ES配置的主机名称。
高级配置模式详情:
[[email protected] root]$ esrally configure --advanced-config ____ ____ / __ \____ _/ / /_ __ / /_/ / __ `/ / / / / / / _, _/ /_/ / / / /_/ //_/ |_|\__,_/_/_/\__, / /____/Running advanced configuration. You can get additional help at: https://esrally.readthedocs.io/en/latest/configuration.htmlWARNING: 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_91Enter a descriptive name for this benchmark environment (ASCII, no spaces): localEnter the host name of the ES metrics store [default: 'localhost']: laoyang#elasticsearch的监听端口Enter the port of the ES metrics store: 9200Use 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: esrallyFor help, type esrally --help or see the user documentation at https://esrally.readthedocs.ioYou have new mail in /var/spool/mail/root
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
- 36
- 37
- 38
- 39
- 40
- 41
- 42
- 43
- 44
- 45
- 46
- 47
- 48
- 49
- 50
2、运行esrally
[elasticsearch@laoyang root]$ esrally ____ ____ / __ \____ _/ / /_ __ / /_/ / __ `/ / / / / / / _, _/ /_/ / / / /_/ //_/ |_|\__,_/_/_/\__, / /____/
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
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.****.net/laoyang360/article/details/52176045
如果感觉本文对您有帮助,请点击‘顶’支持一下,您的支持是我坚持写作最大的动力,谢谢!
再分享一下我老师大神的人工智能教程吧。零基础!通俗易懂!风趣幽默!还带黄段子!希望你也加入到我们人工智能的队伍中来!https://blog.****.net/jiangjunshow
0、前提
安装elasticsearch的最新版本,目前是2.3.4版本。
elsticsearch新增扮演的角色是:rally分析结果会存储到elasticsearch。
1、运行esrally 高级配置模式
高级配置模式和普通模式的区别:普通模式只需要配置jdk的环境变量路径。
而高级模式,需要配置:当前本机已安装elasticsearch的监听端口以及ES配置的主机名称。
高级配置模式详情:
[[email protected] root]$ esrally configure --advanced-config ____ ____ / __ \____ _/ / /_ __ / /_/ / __ `/ / / / / / / _, _/ /_/ / / / /_/ //_/ |_|\__,_/_/_/\__, / /____/Running advanced configuration. You can get additional help at: https://esrally.readthedocs.io/en/latest/configuration.htmlWARNING: 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_91Enter a descriptive name for this benchmark environment (ASCII, no spaces): localEnter the host name of the ES metrics store [default: 'localhost']: laoyang#elasticsearch的监听端口Enter the port of the ES metrics store: 9200Use 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: esrallyFor help, type esrally --help or see the user documentation at https://esrally.readthedocs.ioYou have new mail in /var/spool/mail/root
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
- 36
- 37
- 38
- 39
- 40
- 41
- 42
- 43
- 44
- 45
- 46
- 47
- 48
- 49
- 50
2、运行esrally
[elasticsearch@laoyang root]$ esrally ____ ____ / __ \____ _/ / /_ __ / /_/ / __ `/ / / / / / / _, _/ /_/ / / / /_/ //_/ |_|\__,_/_/_/\__, / /____/
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
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.****.net/laoyang360/article/details/52176045
如果感觉本文对您有帮助,请点击‘顶’支持一下,您的支持是我坚持写作最大的动力,谢谢!