Skip to main content

Standalone Agent

The Inigo plugin for the Standalone Agent provides full observability and controls on all individual graphs. Follow the instructions to get up and running.

Installation

Download the inigo agent binary for your platform from the artifacts page. Set correct the binary permissions with chmod +x in order to execute the agent.

Get token

  • Set up a service and a token. If you still need one, follow Getting Started.

Basic Configuration

Configuring the agent can be done using a yaml config file named config.yml or using environment variables.
You can use both configuration methods together. For instance you should not store your token in your repository, you can use the environment variable for the token and the config.yml for the other coniguration knobs.
In case a configuration knob is present in both the yaml and environment, the environment variable will take higher precedence.

yaml

EgressURL: https://localhost:4000/query
ServiceToken: "YOUR-INIGO-SERVICE-TOKEN"

environment variable

INIGO_EGRESS_URL = "https://localhost:4000/query"
INIGO_SERVICE_TOKEN = "YOUR-INIGO-SERVICE-TOKEN"

All Configurations

The table below contains a detailed description of all the available toggles and buttons of the agent.

Environment VariableYAML ConfigTypeRequiredDescription
INIGO_EGRESS_URLEgressURLstringYesURL of the proxied application (GraphQL Endpoint)
INIGO_SERVICE_TOKENServiceTokenstringYesService token obtained from Inigo
INIGO_EGRESS_AUTH_HEADERS_1stringNoHeaders to add to call GraphQL Endpoint.
Format: {header}:{value}.
You can add more variables by increasing the counter starting from 1
INIGO_LOG_LEVELLogLevelstringNo
default: info
Logging level
INIGO_LOG_TYPELogTypestringNo
default: text
Logging format [json, text]
INIGO_LISTEN_PORTListenPortintegerNo
default: 80
TCP port to bind the agent to