EaseProbe 使用实验 1.1: 简单 http probe

最纯粹、最抽象的设计难题就是设计桥梁。你面对的问题是: 如何用最少的材料, 跨越给定的距离。 --保罗.格雷汉姆 (知名黑客 硅谷牛人)
· 64字 · 1分钟

实验目的 🔗

  1. 用最简单的配置将 easeprobe 的 http probe 跑起来

docker-compose 配置 🔗

version: "3.9"
services:
  probe:
    image: megaease/easeprobe:v2.0.1
    container_name: probe
    volumes:
      - type: bind
        source: ./config.yaml
        target: /opt/config.yaml
        read_only: true
    ports:
      - 8181:8181

easeprobe 配置 config.yaml 🔗

http:
  - name: Google
    url: https://www.google.com

notify:
  log:
    - name: log file # local log file
      file: /dev/stdout

环境 🔗

验证 🔗

  • 查看日志
  • 查看 8181 端口

视频 🔗