/smart-gateway

Smart gateway for telemetry framework

Primary LanguageGoApache License 2.0Apache-2.0

smart-gateway build status Go Report Card

Smart gateway for service assurance. Includes applications for both metrics and events gathering.

Provides middleware that connects to an AMQP 1.0 message bus, pulling data off the bus and exposing it as a scrape target for Prometheus. Metrics are provided via the OPNFV Barometer project (collectd). Events are provided by the various event plugins for collectd, including connectivity, procevent and sysevent.

Dependencies

Dependencies are managed using dep. Clone this project, then obtain the dependencies with the following commands.

go get -u github.com/redhat-service-assurance/smart-gateway
cd $GOPATH/src/github.com/redhat-service-assurance/smart-gateway
dep ensure -v -vendor-only

Building

Build the smart_gateway with Golang using the following command.

cd $GOPATH/src/github.com/redhat-service-assurance/smart-gateway
go build -o smart_gateway cmd/main.go