Skip to content

dockerbuddy/dockerbuddy-agent

Repository files navigation

Contributors Stars Issues


Logo

Dockiera agent

Agent for every buddy
Explore the docs »


About The Project

Agent was designed to collect metrics from host and docker containers.

Running agent on host

  1. Get the distribution for your platform: Latest Release
  2. Change agent environments in bash script ./run
    See Environment variables.
  3. Run the bash script ./run

Environment variables

  • AGENT_HOST_ID - Host ID - Available after adding a host.
  • AGENT_BACKEND_ENDPOINT - Metrics endpoint. Should have suffix api/v2/metrics
  • AGENT_FETCH_FREQ - Frequency with which agent sends data

Dev Environment

Agent and can also be run locally using Poetry.
There is mock version of the agent sending fake data.

Prerequisites

  • Docker
  • Poetry

Steps

  1. Clone the repository
  2. Create .env file with Environment variables
  3. Run poetry install to install dependencies

Run normal agent

poetry run normal

Run mock agent

poetry run mock

License

Distributed under the MIT License.

To the top