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 Variable | YAML Config | Type | Required | Description |
---|---|---|---|---|
INIGO_EGRESS_URL | EgressURL | string | Yes | URL of the proxied application (GraphQL Endpoint) |
INIGO_SERVICE_TOKEN | ServiceToken | string | Yes | Service token obtained from Inigo |
INIGO_EGRESS_AUTH_HEADERS_1 | string | No | Headers to add to call GraphQL Endpoint. Format: {header}:{value} .You can add more variables by increasing the counter starting from 1 | |
INIGO_LOG_LEVEL | LogLevel | string | No default: info | Logging level |
INIGO_LOG_TYPE | LogType | string | No default: text | Logging format [json , text ] |
INIGO_LISTEN_PORT | ListenPort | integer | No default: 80 | TCP port to bind the agent to |