> ## Documentation Index
> Fetch the complete documentation index at: https://docs.appsignal.com/llms.txt
> Use this file to discover all available pages before exploring further.

# AppSignal Collector installation

> Install the AppSignal Collector as a Linux package, or as a Docker image for Docker Compose and Kubernetes.

To provide a complete picture of your application's infrastructure, you should monitor all servers your application depends on, such as database servers. You can do this by running the AppSignal Collector on those machines.

## Installation methods

Choose the installation method that works best for your infrastructure. If you're using Docker (Compose) or Kubernetes, use the Docker image.

* [Hosted collector](https://docs.appsignal.com/collector/hosted-vs-self-hosted.md): have AppSignal host the collector.
* [Linux package](https://docs.appsignal.com/collector/installation/linux-package.md): run the collector on the host you want to monitor.
* [Docker image](https://docs.appsignal.com/collector/installation/docker-image.md): run the collector in a Docker container to connect to other containers.
* [Platform as a Service](https://docs.appsignal.com/collector/installation/platform-as-a-service.md): run the collector in a Docker container, hosted by your hosting provider.

If you have more than one application, or instances of an application, we recommend installing the collector to your infrastructure on its own instance, which all applications can report to. This will improve our reporting as we can piece together instrumentation data across different applications (distributed tracing). It is also more resource intensive to install the collector separately on each host.

## Set up a hosted collector

Distributed tracing only works through a hosted collector, and a hosted collector needs no configuration.

1. Open the ["Hosted Collectors"](https://appsignal.com/redirect-to/organization?to=admin/hosted_collectors) page in your organization settings. If the list is empty, create a collector there first.
2. Open a collector and copy its "Collector URL". Your application sends its data to this URL.

## Set up a self-hosted collector

1. Install the collector as a [Linux package](https://docs.appsignal.com/collector/installation/linux-package.md) or run it as a container using our [Docker image](https://docs.appsignal.com/collector/installation/docker-image.md).
2. [Configure](https://docs.appsignal.com/collector/configuration.md) it with the organization-level Push API key from the [API keys settings page](https://appsignal.com/redirect-to/organization?to=admin/api_keys). Without a Push API key, the collector does not start.

By default, the collector listens on port `8099`. Your application sends its data to the collector's address on that port.

## Send data to the collector

With the collector running, point your application at its URL. [Reporting to the collector](https://docs.appsignal.com/collector.md#reporting-to-the-collector) lists the route for each language.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.