engine-heartbeat

command
v0.0.0-...-d841f61 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2021 License: AGPL-3.0 Imports: 19 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"

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