v5tech
v5tech
ES性能优化
I'm using elasticsearch 1.5 and it is working perfectly the most part of the time, but everyday at the same time it becomes crazy, CPU % goes to ~70% when...
# 平台搭建参考文章 https://www.digitalocean.com/community/tutorials/how-to-install-elasticsearch-logstash-and-kibana-elk-stack-on-centos-7 https://www.digitalocean.com/community/tutorials/how-to-gather-infrastructure-metrics-with-topbeat-and-elk-on-centos-7 https://www.digitalocean.com/community/tutorials/adding-logstash-filters-to-improve-centralized-logging https://www.digitalocean.com/community/tutorials/how-to-use-kibana-dashboards-and-visualizations https://www.digitalocean.com/community/tutorials/how-to-map-user-location-with-geoip-and-elk-elasticsearch-logstash-and-kibana # yml语法校验 http://yaml-online-parser.appspot.com/ http://www.yamllint.com/ # linux tutorials https://www.digitalocean.com/community/tutorials http://www.unixmen.com/ http://linoxide.com/ # tomcat日志分析 https://aggarwalarpit.wordpress.com/2015/12/03/configuring-elk-stack-to-analyse-apache-tomcat-logs/ https://www.systemcodegeeks.com/web-servers/apache/configuring-elk-stack-analyse-apache-tomcat-logs/ http://stackoverflow.com/questions/25429377/how-can-i-integrate-tomcat6s-catalina-out-file-with-logstash-elasticsearch https://blog.codecentric.de/en/2014/10/log-management-spring-boot-applications-logstash-elastichsearch-kibana/ https://blog.lanyonm.org/articles/2014/01/12/logstash-multiline-tomcat-log-parsing.html https://spredzy.wordpress.com/2013/03/02/monitor-your-cluster-of-tomcat-applications-with-logstash-and-kibana/ # log4j日志分析 https://qbox.io/blog https://github.com/logstash/log4j-jsonevent-layout https://www.elastic.co/guide/en/logstash/current/plugins-inputs-log4j.html...
# Elasticsearch安装 ``` rpm --import https://packages.elastic.co/GPG-KEY-elasticsearch ``` /etc/yum.repos.d/elasticsearch.repo ``` [elasticsearch-2.x] name=Elasticsearch repository for 2.x packages baseurl=https://packages.elastic.co/elasticsearch/2.x/centos gpgcheck=1 gpgkey=https://packages.elastic.co/GPG-KEY-elasticsearch enabled=1 ``` ``` yum install elasticsearch chkconfig --add elasticsearch ``` centos 7...
# 安装文档 https://k3d.io/ https://k3s.io/ https://doc.traefik.io/traefik/ # 安装k3d ```bash brew install k3d brew install kubectl brew install kubecm ``` # 创建集群 * 禁用 traefik、metrics-server ```bash k3d cluster create dev \ -p...
Make sure the node could be joined to cluster after calling docker-compose restart Rabbitmq Reference: https://docs.openstack.org/openstack-ansible/pike/admin/maintenance-tasks/rabbitmq-maintain.html
 如图所示。另建议添加上拉加载历史数据的功能。
#### 温馨提示:iOS Animation已创建独立库[awesome-ios-animation](https://github.com/sxyx2008/awesome-ios-animation),此处不在更新维护,有兴趣的话请大家关注[awesome-ios-animation](https://github.com/sxyx2008/awesome-ios-animation) repo > 收集整理了下iOS平台下比较主流炫酷的几款动画框架。该列表不定期更新。。。 > 排名先后顺序按个人喜好,不代表大众意愿。望见谅 https://github.com/facebook/pop  https://github.com/schneiderandre/popping   https://github.com/MengTo/Spring    https://github.com/jwilling/JNWSpringAnimation  https://github.com/daltoniam/DCAnimationKit Tada  Bounce  Pulse  Shake...
Vagrant
# 配置示例 ``` bash Vagrant.configure("2") do |config| config.vm.define :master do |master| master.vm.provider "virtualbox" do |v| v.customize ["modifyvm", :id, "--name", "master", "--memory", "1024"] end master.vm.box = "ubuntu/trusty64" master.vm.hostname = "master" master.vm.network...
* SkyWalking APM ```bash -javaagent:/Users/amz/develop/skywalking-apm/agent/skywalking-agent.jar=agent.service_name=CMDB,collector.backend_service=127.0.0.1:11800 ``` ```bash -javaagent:/Users/amz/develop/skywalking-apm/agent/skywalking-agent.jar -Dskywalking.agent.service_name=CMDB -Dskywalking.collector.backend_service=127.0.0.1:11800 ``` https://github.com/apache/skywalking https://github.com/apache/skywalking-docker https://github.com/apache/skywalking/blob/master/docs/en/setup/service-agent/java-agent/README.md https://github.com/apache/skywalking/blob/master/docs/en/setup/service-agent/java-agent/Specified-agent-config.md https://github.com/apache/skywalking/blob/master/docs/en/setup/service-agent/java-agent/Setting-override.md * Pinpoint APM ```bash -javaagent:/Users/amz/develop/pinpoint-agent-2.1.0/pinpoint-bootstrap.jar -Dpinpoint.agentId=CMDB -Dpinpoint.applicationName=CMDB -Dpinpoint.zookeeper.address=localhost ``` http://naver.github.io/pinpoint/installation.html https://github.com/naver/pinpoint-docker