Giter VIP home page Giter VIP logo

juno-agent's Introduction

Build Status codecov go.dev reference Go Report Card license

Juno-Agent

Juno-Agent是一个提供服务代理、应用配置下发、应用配置解析、shell沙箱、探活、消息总线的Agent。

Juno-Agent的设计目标主要是让开发能够通过可插拔的组件,观测和治理自己的系统。

最小依赖

  • Linux kernel version 2.6.23 or later
  • Windows 7 or later
  • FreeBSD 11.2 or later
  • MacOS 10.11 El Capitan or later

快速开始

查看帮助文档

Juno-agent --help

生成默认配置

Juno-agent config > Juno-agent.toml

使用文本配置,启用一个test组件

Juno-agent --config=Juno-agent.toml --test

使用文本配置,启用全部组件

Juno-agent --config=Juno-agent.toml

组件

  • 代理模块
  • 配置模块
  • Shell沙箱
  • 探活
  • 消息总线
  • HTTP模块
  • 依赖探活(提供HTTP接口,针对应用依赖的组件进行探活)

Document

juno-agent's People

Contributors

askuy avatar dependabot[bot] avatar feixiao avatar hjxp avatar kl7sn avatar link-duan avatar linthan avatar liyue201 avatar lzc1104 avatar sysulq avatar younglifestyle avatar zhangmingke avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

juno-agent's Issues

windows 启动报错

$ ./juno-agent --config=Juno-agent.toml

() _ _ __ () | ___ _ __
| | | | | '_ | | / _ \ '|
| | || | |) | | || / |
/ |_,_| .
/||__|_|
|
/ |_|

Welcome to jupiter, starting application ...

1605781712 INFO auto max procs {"mod": "proc", "procs": 4}
panic:
msg: new engine
loc: E:/workspace/goProjects/src/juno-agent-master/pkg/core/engine.go:92
err: exec: "/bin/bash": file does not exist
1605781712 INFO plugin {"reportAgentStatus": "start"}
1605781712 INFO plugin {"process": "start"}
1605781712 PANIC new engine {"err": "exec: "/bin/bash": file does not exist"}
github.com/douyu/jupiter/pkg/xlog.(*Logger).Panic
E:/workspace/goProjects/pkg/mod/github.com/douyu/[email protected]/pkg/xlog/log.go:325
github.com/douyu/jupiter/pkg/xlog.Panic
E:/workspace/goProjects/pkg/mod/github.com/douyu/[email protected]/pkg/xlog/api.go:65
github.com/douyu/juno-agent/pkg/core.NewEngine
E:/workspace/goProjects/src/juno-agent-master/pkg/core/engine.go:92
main.main
E:/workspace/goProjects/src/juno-agent-master/cmd/juno-agent/main.go:82
runtime.main
c:/go/src/runtime/proc.go:203
panic: new engine

goroutine 1 [running]:
go.uber.org/zap/zapcore.(*CheckedEntry).Write(0xc0004fc840, 0xc0005749c0, 0x1, 0x1)
E:/workspace/goProjects/pkg/mod/go.uber.org/[email protected]/zapcore/entry.go:230 +0x54c
go.uber.org/zap.(*Logger).Panic(0xc0004c70e0, 0xc000442380, 0x20, 0xc0005749c0, 0x1, 0x1)
E:/workspace/goProjects/pkg/mod/go.uber.org/[email protected]/logger.go:225 +0x86
github.com/douyu/jupiter/pkg/xlog.(*Logger).Panic(0xc000144460, 0x113fe14, 0xa, 0xc0005749c0, 0x1, 0x1)
E:/workspace/goProjects/pkg/mod/github.com/douyu/[email protected]/pkg/xlog/log.go:325 +0x77
github.com/douyu/jupiter/pkg/xlog.Panic(...)
E:/workspace/goProjects/pkg/mod/github.com/douyu/[email protected]/pkg/xlog/api.go:65
github.com/douyu/juno-agent/pkg/core.NewEngine(0x12cf200)
E:/workspace/goProjects/src/juno-agent-master/pkg/core/engine.go:92 +0x621
main.main()
E:/workspace/goProjects/src/juno-agent-master/cmd/juno-agent/main.go:82 +0x61

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.