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

# Riak

> OpenTelemetry receiver for Riak

# Riak Receiver

![Status](https://img.shields.io/badge/status-beta-yellow)

**Available in:** `contrib`

**Maintainers:** [@armstrmi](https://github.com/armstrmi)

**Source:** [opentelemetry-collector-contrib](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/receiver/riakreceiver)

## Supported Telemetry

![Metrics](https://img.shields.io/badge/metrics-beta-green)

## Overview

Riak metrics will be collected from the [/stats](https://docs.riak.com/riak/kv/2.2.3/developing/api/http/status) endpoint.

This Riak receiver will collect metrics for [3.x+](https://github.com/basho/riak/releases)

## Configuration

The following configuration settings are required:

* `username`
* `password`

The following configuration settings are optional:

* `endpoint` (default: `http://localhost:8098`): The URL of the node to be monitored.
* `collection_interval` (default = `60s`): This receiver collects metrics on an interval. Valid time units are `ns`, `us` (or `µs`), `ms`, `s`, `m`, `h`.
* `initial_delay` (default = `1s`): defines how long this receiver waits before starting.
* `tls`: TLS control. [By default, insecure settings are rejected and certificate verification is on](https://github.com/open-telemetry/opentelemetry-collector/blob/main/config/configtls/README.md).

### Example Configuration

```yaml theme={null}
receivers:
  riak:
    endpoint: http://localhost:8098
    username: otelu
    password: ${env:RIAK_PASSWORD}
    collection_interval: 60s
```

## Metrics

Details about the metrics produced by this receiver can be found in [metadata.yaml](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/receiver/riakreceiver/metadata.yaml)

## Metrics

| Metric Name | Description | Unit | Type | Attributes |
| - | - | - | - | - |
| ✅ `riak.memory.limit` | The amount of memory allocated to the node. | By | UpDownCounter | |
| ✅ `riak.node.operation.count` | The number of operations performed by the node. | \{operation} | Counter | request |
| ✅ `riak.node.operation.time.mean` | The mean time between request and response for operations performed by the node over the last minute. | us | Gauge | request |
| ✅ `riak.node.read_repair.count` | The number of read repairs performed by the node. | \{read\_repair} | Counter | |
| ✅ `riak.vnode.index.operation.count` | The number of index operations performed by vnodes on the node. | \{operation} | UpDownCounter | operation |
| ✅ `riak.vnode.operation.count` | The number of operations performed by vnodes on the node. | \{operation} | Counter | request |

## Attributes

| Attribute Name | Description | Type | Values |
| - | - | - | - |
| `operation` | The operation type for index operations. | string | `read`, `write`, `delete` |
| `request` | The request operation type. | string | `put`, `get` |

## Resource Attributes

| Attribute Name | Description | Type | Enabled |
| - | - | - | - |
| `riak.node.name` | The name this node uses to identify itself. | string | ✅ |

## Configuration

### Example Configuration

```yaml theme={null}
riak:
  endpoint: http://localhost:8098
  username: otelu
  password: ${env:RIAK_PASSWORD}
  collection_interval: 10s
```

***

*Last generated: 2026-10-05*
