agent-host-go

command module
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2023 License: Apache-2.0 Imports: 36 Imported by: 0

README

Golang Host Agent

Project Structure

agent-host-go
    ├───configyamls: Set of otel-config.yamls based on MW_COLLECTION_TYPE filter
    ├───installables: Contains files required to install agent on Client system
    |       └───docker: Contains Docker deployable script
    |       └───apt: Contains files required to build APT package (Used in workflow)
    └───Dockerfile: To create multistage docker image for Golang package

Docker Installation

docker run -e MW_API_KEY=<fetch_token_from_account> -e TARGET=<refer target list> -d --pid host --restart always ghcr.io/middleware-labs/agent-host-go:dev

OR create a docker-compose.yml with content given below :

version: "3.4"
services:  
  mw-agent-host-go:
    image: ghcr.io/middleware-labs/agent-host-go:dev
    restart: always
    pid: host
docker-compose up -d

APT Installation

MW_API_KEY=<fetch_token_from_your_account> TARGET=<refer target list> bash -c "$(curl -L https://host-go.melt.so/apt-install.sh)"

Advanced Options
ENV variables Usage
MW_COLLECTION_TYPE Select among metrics, traces & logs to enable only a single pipeline

Target List

List available at https://github.com/middleware-labs/agent-host-rs README.md


Data collection

https://www.notion.so/Kubernetes-mw-c8826e2b20ac4a48b91fd98066924a13

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