<commit_before>---
title: "metrics.target"
---

`metrics.target` configures the backend the metrics values are sent to.

Possible values are:

* `<empty>`:  do not report metrics
* `stdout`:   report metrics to stdout
* `graphite`: report metrics to Graphite on [metrics.graphite.addr](/ref/metrics.graphite.addr/)
* `statsd`: legacy statsd support, used in v1.5.5 and lower - removed in v1.6
* `statsd_raw`: report metrics to StatsD on [metrics.statsd.addr](/ref/metrics.statsd.addr/) - this was 
  intentionally renamed because anyone upgrading to 1.6 will need to revisit their configuration anyway due to 
  rewrite of this backend.  It was quite broken before, the counters never reset, it did not follow the spec so the info was 
  likely wrong or people using this were doing some workarounds they'll need to remove anyway.
* `circonus`: report metrics to Circonus (https://circonus.com/)
* `prometheus`: use prometheus metrics. (https://prometheus.io)  Must be used in conjuction with a prometheus 
  listener in [proxy.addr](/ref/proxy.addr/])
* `dogstatsd`: use with datadog dogstatsd (https://www.datadoghq.com/)

The default is<commit_msg>fix link in metrics.target docs<commit_after>---
title: "metrics.target"
---

`metrics.target` configures the backend the metrics values are sent to.

Possible values are:

* `<empty>`:  do not report metrics
* `stdout`:   report metrics to stdout
* `graphite`: report metrics to Graphite on [metrics.graphite.addr](/ref/metrics.graphite.addr/)
* `statsd`: legacy statsd support, used in v1.5.5 and lower - removed in v1.6
* `statsd_raw`: report metrics to StatsD on [metrics.statsd.addr](/ref/metrics.statsd.addr/) - this was 
  intentionally renamed because anyone upgrading to 1.6 will need to revisit their configuration anyway due to 
  rewrite of this backend.  It was quite broken before, the counters never reset, it did not follow the spec so the info was 
  likely wrong or people using this were doing some workarounds they'll need to remove anyway.
* `circonus`: report metrics to Circonus (https://circonus.com/)
* `prometheus`: use prometheus metrics. (https://prometheus.io)  Must be used in conjuction with a prometheus 
  listener in [proxy.addr](/ref/proxy.addr/)
* `dogstatsd`: use with datadog dogstatsd (https://www.datadoghq.com/)

The default is
{'fraction_non_alphanumeric': 0.10176800344976283, 'fraction_numerical': 0.00603708495040966, 'mean_word_length': 4.225225225225225, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 6, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1989095', 'n_tokens_mistral': 727, 'n_tokens_neox': 677, 'n_words': 281}