其他分享
首页 > 其他分享> > kibana 监控rabbitmq

kibana 监控rabbitmq

作者:互联网

1. 先启动 ES 和  kibana:

version: '3.8'
services:
  es:
    image: docker.elastic.co/elasticsearch/elasticsearch:7.14.1
    networks:
      - elastic
    hostname: 'es{{.Task.Slot}}'
    environment:
      discovery.type: single-node
    ports:
      - "9200:9200"
      - "9300:9300"
    deploy:
      mode: replicated
      replicas: 1
      placement:
        max_replicas_per_node: 1
      update_config:
        parallelism: 1
        delay: 10s
      restart_policy:
        condition: on-failure
        max_attempts: 3
        window: 30s

kibana:
image: docker.elastic.co/kibana/kibana:7.14.1
networks:
- elastic
hostname: 'es{{.Task.Slot}}'
environment:
ELASTICSEARCH_HOSTS: http://es:9200
ports:
- "5601:5601"
deploy:
mode: replicated
replicas: 1
placement:
max_replicas_per_node: 1
update_config:
parallelism: 1
delay: 10s
restart_policy:
condition: on-failure
max_attempts: 3
window: 30s

networks:
elastic:
name: elastic

View Code

docker stack deploy -c docker-compose.yml elk

2. 点击下面的Metric. 根据导航,可以监控

2. 

 

 

 

 

TRANSLATE with x English
Arabic Hebrew Polish
Bulgarian Hindi Portuguese
Catalan Hmong Daw Romanian
Chinese Simplified Hungarian Russian
Chinese Traditional Indonesian Slovak
Czech Italian Slovenian
Danish Japanese Spanish
Dutch Klingon Swedish
English Korean Thai
Estonian Latvian Turkish
Finnish Lithuanian Ukrainian
French Malay Urdu
German Maltese Vietnamese
Greek Norwegian Welsh
Haitian Creole Persian  
  TRANSLATE with COPY THE URL BELOW Back EMBED THE SNIPPET BELOW IN YOUR SITE Enable collaborative features and customize widget: Bing Webmaster Portal Back

标签:elastic,replicas,max,kibana,rabbitmq,监控,docker,es
来源: https://www.cnblogs.com/qgbo/p/15226334.html