Wrapper for the Grafana Agent to automatically configure exporters and ship to FusionReactor
640
The Observability Agent autoconfiguration and installer tool is a wrapper for Grafana Alloy that will automatically configure exporters to ship to the FusionReactor Cloud
In Docker, you will not be prompted for any information. Therefore, you must specify any required configuration in the environment before running
⚠️ The agent will not ship to FusionReactor without setting the
api_keyvariable
docker run --env api_key=1234567890 --env mysql_connection_string=root:my-secret-pw@(mysql:3306)/ intergral/observability-agent:latest
docker run --env-file .env intergral/observability-agent:latest
version: "3.2"
services:
#database
mysql:
image: mysql:latest
ports:
- "3306:3306"
environment:
- MYSQL_ROOT_PASSWORD=my-secret-pw
#agent
agent:
image: intergral/observability-agent:latest
environment:
- api_key=1234567890
- mysql_connection_string=root:my-secret-pw@(mysql:3306)/
ports:
- 12345:12345
To access Grafana Alloy's UI on localhost:12345 you must expose ports 12345:12345 in your docker run command or docker compose file as shown above
Set the relevant environment variables for whichever services you have running, so they can be configured. We support the following environment variables for configuration:
| Variable | Type | Description |
|---|---|---|
api_key | string | API Key to authenticate with your FusionReactor Cloud Account |
logs_user | string | Username to authenticate with your FusionReactor Cloud Account |
To change the endpoints for metrics and logs, you can use these environment variables:
| Variable | Type | Default |
|---|---|---|
metrics_endpoint | string | https://api.fusionreactor.io/v1/metrics |
logs_endpoint | string | https://api.fusionreactor.io/v1/logs |
| Variable | Type | Example (Defaults) |
|---|---|---|
mysql_connection_string | string | <username>:<password>@(<host>:3306)/ |
mssql_connection_string | string | sqlserver://<username>:<password>@<host>:1433 |
postgres_connection_string | string | postgresql://<username>:<password>@<host>:5432/shop? |
rabbitmq_scrape_target | string | <host>:15692 |
redis_connection_string | string | <host>:6379 |
kafka_connection_string | string | <host>:9092 |
elasticsearch_connection_string | string | http://<username>:<password@<host>:9200 |
mongo_connection_string | string | mongodb://<username>:<password>@127.0.0.1:27017/ |
oracledb_connection_string | string | oracle://<username>:<password>@<host>:1521/ORCLCDB |
| Variable | Type | Description |
|---|---|---|
log_collection | bool | Enables log collection |
service_name | string | Set a name for you log collection service |
log_path | string | Set a file path for your log collection service |
If you wish to enable Open Telemetry metrics and traces, the following environment variables must be set:
| Variable | Type | Example | Description |
|---|---|---|---|
otel_collection | bool | true | Enables Open Telemetry metrics and traces |
At present, there are some integrations we don't support out the box. Use of these integrations is via a scrape endpoint. To scrape these exporters, you can use the following environment variable to set a list of exporters and their corresponding endpoints to be scraped. The list must be wrapped in double quotes and each value must be separated by a comma and a space.
| Variable | Type | Example | Description |
|---|---|---|---|
scrape_targets | string | "nginxexporter:9113, iisexporter:1234" | List of endpoints for the exporters |
For further information on addressing docker networks, your host network and additional networking capabilities, see Docker networking features
Read the docs for more information or contact FR support.
Content type
Image
Digest
sha256:55a5b4376…
Size
143.6 MB
Last updated
almost 2 years ago
docker pull intergral/observability-agent