Databases & other languages
Step 1: Run the Observability Agent
The Observability Agent provides you with the necessary tools and insights to effectively monitor, manage, and optimize your applications, leading to improved reliability, performance, and user experience.
Run via Docker
Run the following command, replacing YOUR_API_KEY with your actual API key and adjusting the environment variables as needed:
docker run --env otel_collection=true --env api_key=YOUR_API_KEY --env ENV_VARIABLE=VALUE --env mysql_connection_string=root:my-secret-pw@(mysql:3306)/ intergral/observability-agent:latest
Info
Docker automatically pulls the latest version of the Observability Agent image from the Dockerhub repository.
FusionReactor Observability agent Docker installation from FusionReactor APM on Vimeo.
Learn more
Log collection and other databases can be enabled by setting the appropriate environment variables.
Run via Docker Compose
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
- otel_collection=true
- mysql_connection_string=root:my-secret-pw@(mysql:3306)/
ports:
- 12345:12345
Learn more
Log collection and other databases can be enabled by setting the appropriate environment variables.
Step 2: Instrument OpenTelemetry
Instrument your code to support OpenTelemetry on your application (Node.js, Python, Go etc).
Learn more
Configure the endpoint of the OTel application to the Observability Agent at "otel-collector:4317" or "otel-collector:4318" of your machine (depending on whether you're using gRPC or HTTP)s. This ships telemetry data to the Observability Agent, which does the cloud shipping for you.
Note
It is possible to use a dedicated OTel collector or alternative if required, but the Observability Agent is the simplest method for shipping telemetry data.
Need more help?
Contact support in the chat bubble and let us know how we can assist.