<commit_before># Metrics

Traefik supports 4 metrics backends:

- [Datadog](./datadog.md)
- [InfluxDB](./influxdb.md)
- [Prometheus](./prometheus.md)
- [StatsD](./statsd.md)

## Configuration

To enable metrics:

```yaml tab="File (YAML)"
metrics: {}
```

```toml tab="File (TOML)"
[metrics]
```

```bash tab="CLI"
--metrics=true
```

## Server Metrics

| Metric                                                                  | DataDog | InfluxDB | Prometheus | StatsD |
|-------------------------------------------------------------------------|---------|----------|------------|--------|
| [Configuration reloads](#configuration-reloads)                         | ✓       | ✓        | ✓          | ✓      |
| [Configuration reload failures](#configuration-reload-failures)         | ✓       | ✓        | ✓          | ✓      |
| [Last Configuration Reload Success](#last-configuration-reload-success) | ✓       | ✓        | ✓          | ✓      |
| [Last Configuration Reload Failure](#last-configuration-reload-failure) | ✓       | ✓        | ✓          | ✓      |

### Configuration Reloads
The total count of configuration reloads.

```dd tab="Datadog"
config.reload.total
```

```influxdb tab="InfluDB"
traefik.config.reload.total
```

```prom tab="Prometheus"
traefik_config_reloads_total
```<commit_msg>docs: remove misleading metrics overview configuration<commit_after># Metrics

Traefik supports 4 metrics backends:

- [Datadog](./datadog.md)
- [InfluxDB](./influxdb.md)
- [Prometheus](./prometheus.md)
- [StatsD](./statsd.md)

## Server Metrics

| Metric                                                                  | DataDog | InfluxDB | Prometheus | StatsD |
|-------------------------------------------------------------------------|---------|----------|------------|--------|
| [Configuration reloads](#configuration-reloads)                         | ✓       | ✓        | ✓          | ✓      |
| [Configuration reload failures](#configuration-reload-failures)         | ✓       | ✓        | ✓          | ✓      |
| [Last Configuration Reload Success](#last-configuration-reload-success) | ✓       | ✓        | ✓          | ✓      |
| [Last Configuration Reload Failure](#last-configuration-reload-failure) | ✓       | ✓        | ✓          | ✓      |

### Configuration Reloads
The total count of configuration reloads.

```dd tab="Datadog"
config.reload.total
```

```influxdb tab="InfluDB"
traefik.config.reload.total
```

```prom tab="Prometheus"
traefik_config_reloads_total
```
{'fraction_non_alphanumeric': 0.23132241310427487, 'fraction_numerical': 0.0007990411506192569, 'mean_word_length': 1.6330178759200842, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 8, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3305227', 'n_tokens_mistral': 765, 'n_tokens_neox': 674, 'n_words': 148}