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

# MongoDB Atlas

<Badge className="hny-badge-enterprise-addon" stroke>Ent+</Badge>

<Note>
  This feature is available as an add-on for the [Honeycomb Enterprise plan](https://www.honeycomb.io/pricing/).
  Please contact your Honeycomb account team for details.
</Note>

## Supported Platforms

| Platform | Metrics | Logs | Traces |
| :------- | :------ | :--- | :----- |
| Linux    | ✓       | ✓    |        |
| Windows  | ✓       | ✓    |        |
| macOS    | ✓       | ✓    |        |

## Configuration Table

| Parameter                 | Type                | Default               | Description                                                                                                                                                                                                                                                 |
| :------------------------ | :------------------ | :-------------------- | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| telemetry\_types          | `telemetrySelector` | `["Logs", "Metrics"]` | Choose Telemetry Type.                                                                                                                                                                                                                                      |
| log\_project\_name\*      | `string`            | ""                    | Project to collect logs for.                                                                                                                                                                                                                                |
| collect\_audit\_logs      | `bool`              | false                 | Enable to collect Audit Logs. It must be enabled on the project, and the API Key must have Organization Owner permissions.                                                                                                                                  |
| log\_filter\_mode\*       | `enum`              | All                   | Mode of filtering clusters. Either collect from all clusters or specify an inclusive list or exclusive list. Valid values: `All`, `Inclusive`, `Exclusive`                                                                                                  |
| log\_include\_clusters    | `strings`           |                       | Clusters in the project to collect logs from. Applicable if `log_filter_mode` is `Inclusive`                                                                                                                                                                |
| log\_exclude\_clusters    | `strings`           |                       | Clusters in the project to exclude from log collection. Applicable if `log_filter_mode` is `Exclusive`                                                                                                                                                      |
| public\_key\*             | `string`            | ""                    | API Public Key with at least Organization Read Only permissions.                                                                                                                                                                                            |
| private\_key\*            | `string`            | ""                    | API Private Key.                                                                                                                                                                                                                                            |
| collection\_interval      | `int`               | 180                   | Sets how often (seconds) to scrape for                                                                                                                                                                                                                      |
| granularity               | `enum`              | PT1M                  | Duration interval between measurement data points. Read more [here](https://www.mongodb.com/docs/api/doc/atlas-admin-api-v2/operation/operation-gethostmeasurements#operation-gethostmeasurements-granularity). Valid values: `PT1M`, `PT5M`, `PT1H`, `P1D` |
| enable\_alerts            | `bool`              | false                 | Enable to collect alerts.                                                                                                                                                                                                                                   |
| alert\_collection\_mode\* | `enum`              | poll                  | Method of collecting alerts. In `poll` mode alerts are scraped from the API. In `listen` mode a server is set up to listen for incoming alerts. Valid values: `poll`, `listen`.                                                                             |
| alert\_project\_name\*    | `string`            | ""                    | Project to collect alerts from. Applicable if `alert_collection_mode` is `poll`.                                                                                                                                                                            |
| alert\_filter\_mode\*     | `enum`              | All                   | Mode of filtering clusters. Either collect from all clusters or specify an inclusive list or exclusive list. Applicable if `alert_collection_mode` is `poll`. Valid values: `All`, `Inclusive`, `Exclusive`.                                                |
| alert\_include\_clusters  | `strings`           |                       | Clusters in the project to collect alerts from. Applicable if `log_filter_mode` is `Inclusive` and `alert_collection_mode` is `poll`.                                                                                                                       |
| alert\_exclude\_clusters  | `strings`           |                       | Clusters in the project to exclude from the alert collection. Applicable if `log_filter_mode` is `Exclusive` and `alert_collection_mode` is `poll`.                                                                                                         |
| page\_size                | `int`               | 100                   | The number of alerts to collect per API request. Applicable if `alert_collection_mode` is `poll`.                                                                                                                                                           |
| max\_pages                | `int`               | 10                    | The limit of how many pages of alerts will be requested per project. Applicable if `alert_collection_mode` is `poll`.                                                                                                                                       |
| listen\_secret\*          | `string`            | ""                    | Secret key configured for push notifications. Applicable if `alert_collection_mode` is `listen`.                                                                                                                                                            |
| listen\_endpoint\*        | `string`            | "0.0.0.0:4396"        | Local "ip:port" to bind to, to listen for incoming webhooks. Applicable if `alert_collection_mode` is `listen`.                                                                                                                                             |
| enable\_listen\_tls       | `bool`              | false                 | Enable TLS for alert webhook server. Applicable if `alert_collection_mode` is `listen`.                                                                                                                                                                     |
| listen\_tls\_key\_file    | `string`            | ""                    | Local path to the TLS key file. Applicable if `enable_listen_tls` is true and `alert_collection_mode` is `listen`.                                                                                                                                          |
| listen\_tls\_cert\_file   | `string`            | ""                    | Local path to the TLS cert file. Applicable if `enable_listen_tls` is true and `alert_collection_mode` is `listen`.                                                                                                                                         |
