engine-heartbeat

command
v0.0.0-...-4ecf446 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 26, 2019 License: AGPL-3.0 Imports: 14 Imported by: 0

README

Engine HeartBeat

Create an Engine_heartbeat queue bound to canopsis.events with routing key # in RabbitMQ.

cd cmd/engine-heartbeat

export CPS_MONGO_URL="mongodb://cpsmongo:canopsis@canopsis:27017/canopsis"
export CPS_AMQP_URL="amqp://cpsrabbit:canopsis@canopsis:5672/canopsis"
export CPS_REDIS_URL="redis://localhost:6379/0"
export CPS_DEFAULT_CFG=../../default_configuration.toml

go build . && ./engine-heartbeat

Configuration

A documents in the heartbeat collection:

{
    "_id": "<HeartbeatID>",
    "pattern" : {"connector" : "myconnector"},
    "expected_interval" : "10s"
}

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL