Skip to main content

Homebrew Agent Installation

The Costgraph agent can be installed via Homebrew, if you are on a Mac this is the easiest way to install the agent.

Prerequisites

Installation Steps

1

Add the Homebrew tap

brew tap baselinehq/costgraph
2

Install the agent

brew install costgraph-agent
3

Create a configuration file

Create a conf.yaml file with your settings:
prometheus:
  enabled: true
  metrics_port: 9101
  url: "http://localhost:9090"
  timeout: 10s
  interval: 15s
  tenantHeader: ""
  tenantValue: ""
  bearerToken: ""
  tlsInsecure: false
  labels:
    job: costgraph-agent

expected_utilisation:
  cpu: 80
  memory: 80

api_key: ""
metrics_only: true
4

Verify installation

costgraph-agent