---
title: "Integrations: Configuration"
description: "Configuration keys for the SNMP and OpenTelemetry monitoring integrations."
url: "https://docs.ravendb.net/7.2/monitoring/integrations/configuration"
version: "7.2"
---

# Integrations: Configuration

> RavenDB publishes an official agent skill for coding assistants at https://docs.ravendb.net/skills/ravendb/SKILL.md (also installable with `npx skills add ravendb/skills`). The skill describes itself as: "Read this before writing any RavenDB query, client call or /databases/ request. Covers server setup, document modelling, the Node.js, .NET and Python clients, RQL, indexes, vector search and AI agents. Code written from recall tends to run and return the wrong rows, because RQL resembles SQL and the clients take field names as plain strings."

## Integrations: Configuration

> **Note**
>
> - Use the configuration keys listed below to set the SNMP and OpenTelemetry integration
>   options for your RavenDB server.
>
> - Learn how to set these keys in the [configuration overview](https://docs.ravendb.net/7.2/server/configuration/configuration-options.md).
>
> - The general monitoring keys (CPU and disk metrics collection) are listed in the
>   [monitoring configuration](https://docs.ravendb.net/7.2/monitoring/configuration.md) page.
>
> - In this article:
>   - [SNMP configuration keys](#snmp-configuration-keys)  
>     [Monitoring.Snmp.AuthenticationPassword](#monitoringsnmpauthenticationpassword)  
>     [Monitoring.Snmp.AuthenticationPassword.Secondary](#monitoringsnmpauthenticationpasswordsecondary)  
>     [Monitoring.Snmp.AuthenticationProtocol](#monitoringsnmpauthenticationprotocol)  
>     [Monitoring.Snmp.AuthenticationProtocol.Secondary](#monitoringsnmpauthenticationprotocolsecondary)  
>     [Monitoring.Snmp.AuthenticationUser](#monitoringsnmpauthenticationuser)  
>     [Monitoring.Snmp.AuthenticationUser.Secondary](#monitoringsnmpauthenticationusersecondary)  
>     [Monitoring.Snmp.Community](#monitoringsnmpcommunity)  
>     [Monitoring.Snmp.DisableTimeWindowChecks](#monitoringsnmpdisabletimewindowchecks)  
>     [Monitoring.Snmp.Enabled](#monitoringsnmpenabled)  
>     [Monitoring.Snmp.Port](#monitoringsnmpport)  
>     [Monitoring.Snmp.PrivacyPassword](#monitoringsnmpprivacypassword)  
>     [Monitoring.Snmp.PrivacyPassword.Secondary](#monitoringsnmpprivacypasswordsecondary)  
>     [Monitoring.Snmp.PrivacyProtocol](#monitoringsnmpprivacyprotocol)  
>     [Monitoring.Snmp.PrivacyProtocol.Secondary](#monitoringsnmpprivacyprotocolsecondary)  
>     [Monitoring.Snmp.SupportedVersions](#monitoringsnmpsupportedversions)
>   - [OpenTelemetry configuration keys](#opentelemetry-configuration-keys)  
>     [Monitoring.OpenTelemetry.ConsoleExporter](#monitoringopentelemetryconsoleexporter)  
>     [Monitoring.OpenTelemetry.Enabled](#monitoringopentelemetryenabled)  
>     [Monitoring.OpenTelemetry.Meters.AspNetCore.Enabled](#monitoringopentelemetrymetersaspnetcoreenabled)  
>     [Monitoring.OpenTelemetry.Meters.Runtime.Enabled](#monitoringopentelemetrymetersruntimeenabled)  
>     [Monitoring.OpenTelemetry.Meters.Server.CPUCredits.Enabled](#monitoringopentelemetrymetersservercpucreditsenabled)  
>     [Monitoring.OpenTelemetry.Meters.Server.Enabled](#monitoringopentelemetrymetersserverenabled)  
>     [Monitoring.OpenTelemetry.Meters.Server.GC.Enabled](#monitoringopentelemetrymetersservergcenabled)  
>     [Monitoring.OpenTelemetry.Meters.Server.General.Enabled](#monitoringopentelemetrymetersservergeneralenabled)  
>     [Monitoring.OpenTelemetry.Meters.Server.Requests.Enabled](#monitoringopentelemetrymetersserverrequestsenabled)  
>     [Monitoring.OpenTelemetry.Meters.Server.Resources.Enabled](#monitoringopentelemetrymetersserverresourcesenabled)  
>     [Monitoring.OpenTelemetry.Meters.Server.Storage.Enabled](#monitoringopentelemetrymetersserverstorageenabled)  
>     [Monitoring.OpenTelemetry.Meters.Server.TotalDatabases.Enabled](#monitoringopentelemetrymetersservertotaldatabasesenabled)  
>     [Monitoring.OpenTelemetry.OpenTelemetryProtocol.Enabled](#monitoringopentelemetryopentelemetryprotocolenabled)  
>     [Monitoring.OpenTelemetry.OpenTelemetryProtocol.Endpoint](#monitoringopentelemetryopentelemetryprotocolendpoint)  
>     [Monitoring.OpenTelemetry.OpenTelemetryProtocol.ExportProcessorType](#monitoringopentelemetryopentelemetryprotocolexportprocessortype)  
>     [Monitoring.OpenTelemetry.OpenTelemetryProtocol.Headers](#monitoringopentelemetryopentelemetryprotocolheaders)  
>     [Monitoring.OpenTelemetry.OpenTelemetryProtocol.Protocol](#monitoringopentelemetryopentelemetryprotocolprotocol)  
>     [Monitoring.OpenTelemetry.OpenTelemetryProtocol.Timeout](#monitoringopentelemetryopentelemetryprotocoltimeout)  
>     [Monitoring.OpenTelemetry.ServiceInstanceId](#monitoringopentelemetryserviceinstanceid)  
>     [Monitoring.OpenTelemetry.ServiceName](#monitoringopentelemetryservicename)  
>     [Monitoring.OpenTelemetry.ServiceNamespace](#monitoringopentelemetryservicenamespace)

## SNMP configuration keys {#snmp-configuration-keys}

### Monitoring.Snmp.AuthenticationPassword

Authentication password used for SNMP v3 authentication.  
When set to `null`, the value from `Monitoring.Snmp.Community` is used.

- **Type**: `string`
- **Default**: `null`
- **Scope**: Server-wide only

### Monitoring.Snmp.AuthenticationPassword.Secondary

Authentication password used by secondary user for SNMP v3 authentication.

- **Type**: `string`
- **Default**: `null`
- **Scope**: Server-wide only

### Monitoring.Snmp.AuthenticationProtocol

Authentication protocol used for SNMP v3 authentication.

- **Type**: `SnmpAuthenticationProtocol`
- **Default**: `SHA1`
- **Scope**: Server-wide only

### Monitoring.Snmp.AuthenticationProtocol.Secondary

Authentication protocol used by secondary user for SNMP v3 authentication.

- **Type**: `SnmpAuthenticationProtocol`
- **Default**: `SHA1`
- **Scope**: Server-wide only

### Monitoring.Snmp.AuthenticationUser

Authentication user used for SNMP v3 authentication.

- **Type**: `string`
- **Default**: `"ravendb"`
- **Scope**: Server-wide only

### Monitoring.Snmp.AuthenticationUser.Secondary

Authentication secondary user used for SNMP v3 authentication.

- **Type**: `string`
- **Default**: `null (disabled)`
- **Scope**: Server-wide only

### Monitoring.Snmp.Community

Community string used for SNMP v2c authentication.

- **Type**: `string`
- **Default**: `"ravendb"`
- **Scope**: Server-wide only

### Monitoring.Snmp.DisableTimeWindowChecks

EXPERT ONLY.  
Disables time window checks, which are problematic for some SNMP engines.

- **Type**: `bool`
- **Default**: `false`
- **Scope**: Server-wide only

### Monitoring.Snmp.Enabled

Indicates if SNMP endpoint is enabled or not.

- **Type**: `bool`
- **Default**: `false`
- **Scope**: Server-wide only

### Monitoring.Snmp.Port

Port at which SNMP listener will be active.

- **Type**: `int`
- **Default**: `161`
- **Scope**: Server-wide only

### Monitoring.Snmp.PrivacyPassword

Privacy password used for SNMP v3 privacy.

- **Type**: `string`
- **Default**: `"ravendb"`
- **Scope**: Server-wide only

### Monitoring.Snmp.PrivacyPassword.Secondary

Privacy password used by secondary user for SNMP v3 privacy.

- **Type**: `string`
- **Default**: `null`
- **Scope**: Server-wide only

### Monitoring.Snmp.PrivacyProtocol

Privacy protocol used for SNMP v3 privacy.

- **Type**: `SnmpPrivacyProtocol`
- **Default**: `SnmpPrivacyProtocol.None`
- **Scope**: Server-wide only

### Monitoring.Snmp.PrivacyProtocol.Secondary

Privacy protocol used by secondary user for SNMP v3 privacy.

- **Type**: `SnmpPrivacyProtocol`
- **Default**: `SnmpPrivacyProtocol.None`
- **Scope**: Server-wide only

### Monitoring.Snmp.SupportedVersions

List of supported SNMP versions. Values must be semicolon separated.

- **Type**: `string[]`
- **Default**: `V2C;V3`
- **Scope**: Server-wide only

## OpenTelemetry configuration keys {#opentelemetry-configuration-keys}

### Monitoring.OpenTelemetry.ConsoleExporter

Indicates if metrics should be exported to the console output.

- **Type**: `bool`
- **Default**: `false`
- **Scope**: Server-wide only

### Monitoring.OpenTelemetry.Enabled

Indicates if OpenTelemetry is enabled or not.

- **Type**: `bool`
- **Default**: `false`
- **Scope**: Server-wide only

### Monitoring.OpenTelemetry.Meters.AspNetCore.Enabled

Indicates if AspNetCore metric is enabled or not.

- **Type**: `bool`
- **Default**: `false`
- **Scope**: Server-wide only

### Monitoring.OpenTelemetry.Meters.Runtime.Enabled

Indicates if Runtime metric is enabled or not.

- **Type**: `bool`
- **Default**: `false`
- **Scope**: Server-wide only

### Monitoring.OpenTelemetry.Meters.Server.CPUCredits.Enabled

Expose metrics related to CPU credits.

- **Type**: `bool`
- **Default**: `false`
- **Scope**: Server-wide only

### Monitoring.OpenTelemetry.Meters.Server.Enabled

Indicates if RavenDB's OpenTelemetry metrics are enabled or not.

- **Type**: `bool`
- **Default**: `true`
- **Scope**: Server-wide only

### Monitoring.OpenTelemetry.Meters.Server.GC.Enabled

Expose metrics related to GC.

- **Type**: `bool`
- **Default**: `false`
- **Scope**: Server-wide only

### Monitoring.OpenTelemetry.Meters.Server.General.Enabled

Expose metrics related to general information about the cluster and its licensing.

- **Type**: `bool`
- **Default**: `true`
- **Scope**: Server-wide only

### Monitoring.OpenTelemetry.Meters.Server.Requests.Enabled

Expose metrics related to requests.

- **Type**: `bool`
- **Default**: `true`
- **Scope**: Server-wide only

### Monitoring.OpenTelemetry.Meters.Server.Resources.Enabled

Expose metrics related to resources usage.

- **Type**: `bool`
- **Default**: `true`
- **Scope**: Server-wide only

### Monitoring.OpenTelemetry.Meters.Server.Storage.Enabled

Expose metrics related to server storage.

- **Type**: `bool`
- **Default**: `true`
- **Scope**: Server-wide only

### Monitoring.OpenTelemetry.Meters.Server.TotalDatabases.Enabled

Expose metrics related to aggregated database statistics.

- **Type**: `bool`
- **Default**: `true`
- **Scope**: Server-wide only

### Monitoring.OpenTelemetry.OpenTelemetryProtocol.Enabled

Indicates if metrics should be exported via the OpenTelemetry protocol.

- **Type**: `bool`
- **Default**: `true`
- **Scope**: Server-wide only

### Monitoring.OpenTelemetry.OpenTelemetryProtocol.Endpoint

Endpoint where OpenTelemetryProtocol should sends data.

- **Type**: `string`
- **Default**: `null` (internal OTLP default settings)
- **Scope**: Server-wide only

### Monitoring.OpenTelemetry.OpenTelemetryProtocol.ExportProcessorType

OpenTelemetryProtocol export processor type.

- **Type**: `enum ExportProcessorType` (Simple | Batch)
- **Default**: `null`
- **Scope**: Server-wide only

### Monitoring.OpenTelemetry.OpenTelemetryProtocol.Headers

OpenTelemetryProtocol custom headers.

- **Type**: `string`
- **Default**: `null`
- **Scope**: Server-wide only

### Monitoring.OpenTelemetry.OpenTelemetryProtocol.Protocol

Defines the protocol that OpenTelemetryProtocol should use to send data.

- **Type**: `enum OtlpExportProtocol` (Grpc | HttpProtobuf)
- **Default**: `null` (internal OTLP default settings)
- **Scope**: Server-wide only

### Monitoring.OpenTelemetry.OpenTelemetryProtocol.Timeout

OpenTelemetryProtocol timeout value.

- **Type**: `int?`
- **Default**: `null`
- **Scope**: Server-wide only

### Monitoring.OpenTelemetry.ServiceInstanceId

- OpenTelemetry monitoring requires a service instance ID for initialization.  
  You can set the OpenTelemetry service instance ID using this configuration option.

- If this configuration key is not set, RavenDB will default to using the server's public URL hostname.  
  If the public hostname is unavailable, RavenDB will use the node tag as the identifier.

* **Type**: `string`
* **Default**: `null`
* **Scope**: Server-wide only

### Monitoring.OpenTelemetry.ServiceName

- Sets the OpenTelemetry **service name**.
  This value is reported as the `service.name` resource attribute and is used to identify the RavenDB service in observability tools, such as the .NET Aspire dashboard.

- If [Monitoring.OpenTelemetry.Enabled](#monitoringopentelemetryenabled) is set to `true`,
  the effective value must not be `null`, empty, or whitespace.  
  Otherwise, the server will fail to start.

---

- **Type**: `string`
- **Default**: `server`
- **Scope**: Server-wide only

### Monitoring.OpenTelemetry.ServiceNamespace

- Sets the OpenTelemetry **service namespace**.
  This value is reported as the `service.namespace` resource attribute and is used to group related services together in observability tools.

- If [Monitoring.OpenTelemetry.Enabled](#monitoringopentelemetryenabled) is set to `true`,
  the effective value must not be `null`, empty, or whitespace.  
  Otherwise, the server will fail to start.

---

- **Type**: `string`
- **Default**: `ravendb`
- **Scope**: Server-wide only
