---
title: Kapacitor measurements and fields
description: Understand internal Kapacitor measurements and fields and use them to monitor Kapacitor servers.
url: https://docs.influxdata.com/platform/monitoring/influxdata-platform/tools/kapacitor-measurements/
estimated_tokens: 1871
publisher: InfluxData
canonical: https://docs.influxdata.com/platform/monitoring/influxdata-platform/tools/kapacitor-measurements/
date: '2023-09-22T11:35:04-06:00'
lastmod: '2023-09-22T11:35:04-06:00'
---

Kapacitor exposes internal performance through the `/kacapitor/v1/debug/vars` endpoint.
Use the Telegraf `kapacitor` plugins to capture these metrics and store them in InfluxDB.

Enable the Kapacitor input plugin in your Telegraf configuration file:

```toml
# ...
[[inputs.kapacitor]]
  ## Multiple URLs from which to read Kapacitor-formatted JSON
  ## Default is "http://localhost:9092/kapacitor/v1/debug/vars".
  urls = [
    "http://localhost:9092/kapacitor/v1/debug/vars"
  ]
# ...
```

### Visualize Kapacitor metrics

Use the [Kapacitor Monitor dashboard](/platform/monitoring/influxdata-platform/monitoring-dashboards/#monitor-kapacitor)to visualize Kapacitor metrics.

## Kapacitor measurements & fields

Kapacitor exposes the following measurements and fields through the`/kacapitor/v1/debug/vars` endpoint.

* [kapacitor](#kapacitor)
  * [num\_enabled\_tasks](#num-enabled-tasks)
  * [num\_subscriptions](#num-subscriptions)
  * [num\_tasks](#num-tasks)

* [kapacitor\_edges](#kapacitor-edges)
  * [collected](#collected)
  * [emitted](#emitted)

* [kapacitor\_ingress](#kapacitor-ingress)
  * [points\_received](#points-received)

* [kapacitor\_load](#kapacitor-load)
  * [errors](#errors)

* [kapacitor\_memstats](#kapacitor-memstats)
  * [alloc\_bytes](#alloc-bytes)
  * [buck\_hash\_sys\_bytes](#buck-hash-sys-bytes)
  * [frees](#frees)
  * [gc\_sys\_bytes](#gc-sys-bytes)
  * [gcc\_pu\_fraction](#gcc-pu-fraction)
  * [heap\_alloc\_bytes](#heap-alloc-bytes)
  * [heap\_idle\_bytes](#heap-idle-bytes)
  * [heap\_in\_use\_bytes](#heap-in-use-bytes)
  * [heap\_objects](#heap-objects)
  * [heap\_released\_bytes](#heap-released-bytes)
  * [heap\_sys\_bytes](#heap-sys-bytes)
  * [last\_gc\_ns](#last-gc-ns)
  * [lookups](#lookups)
  * [mallocs](#mallocs)
  * [mcache\_in\_use\_bytes](#mcache-in-use-bytes)
  * [mcache\_sys\_bytes](#mcache-sys-bytes)
  * [mspan\_in\_use\_bytes](#mspan-in-use-bytes)
  * [mspan\_sys\_bytes](#mspan-sys-bytes)
  * [next\_gc\_ns](#next-gc-ns)
  * [num\_gc](#num-gc)
  * [other\_sys\_bytes](#other-sys-bytes)
  * [pause\_total\_ns](#pause-total-ns)
  * [stack\_in\_use\_bytes](#stack-in-use-bytes)
  * [stack\_sys\_bytes](#stack-sys-bytes)
  * [sys\_bytes](#sys-bytes)
  * [total\_alloc\_bytes](#total-alloc-bytes)

* [kapacitor\_nodes](#kapacitor-nodes)
  * [alerts\_inhibited](#alerts-inhibited)
  * [alerts\_triggered](#alerts-triggered)
  * [avg\_exec\_time\_ns](#avg-exec-time-ns)
  * [crits\_triggered](#crits-triggered)
  * [errors](#errors)
  * [infos\_triggered](#infos-triggered)
  * [oks\_triggered](#oks-triggered)
  * [points\_written](#points-written)
  * [warns\_triggered](#warns-triggered)
  * [write\_errors](#write-errors)

* [kapacitor\_topics](#kapacitor-topics)
  * [collected](#collected)

### kapacitor

The `kapacitor` measurement stores fields with information related to[Kapacitor tasks](/kapacitor/v1/introduction/getting-started/#kapacitor-tasks)and [subscriptions](/kapacitor/v1/administration/subscription-management/).

#### num\_enabled\_tasks

The number of enabled Kapacitor tasks.

#### num\_subscriptions

The number of Kapacitor/InfluxDB subscriptions.

#### num\_tasks

The total number of Kapacitor tasks.

### kapacitor\_edges

The `kapacitor_edges` measurement stores fields with information related to[edges](/kapacitor/v1/reference/tick/introduction/#pipelines)in Kapacitor TICKscripts.

#### collected

The number of messages collected by TICKscript edges.

#### emitted

The number of messages emitted by TICKscript edges.

### kapacitor\_ingress

The `kapacitor_ingress` measurement stores fields with information related to data
coming into Kapacitor.

#### points\_received

The number of points received by Kapacitor.

### kapacitor\_load

The `kapacitor_load` measurement stores fields with information related to the[Kapacitor Load Directory service](/kapacitor/v1/guides/load_directory/).

#### errors

The number of errors reported from the load directory service.

### kapacitor\_memstats

The `kapacitor_memstats` measurement stores fields related to Kapacitor memory usage.

#### alloc\_bytes

The number of bytes of memory allocated by Kapacitor that are still in use.

#### buck\_hash\_sys\_bytes

The number of bytes of memory used by the profiling bucket hash table.

#### frees

The number of heap objects freed.

#### gc\_sys\_bytes

The number of bytes of memory used for garbage collection system metadata.

#### gcc\_pu\_fraction

The fraction of Kapacitor’s available CPU time used by garbage collection since
Kapacitor started.

#### heap\_alloc\_bytes

The number of reachable and unreachable heap objects garbage collection has
not freed.

#### heap\_idle\_bytes

The number of heap bytes waiting to be used.

#### heap\_in\_use\_bytes

The number of heap bytes in use.

#### heap\_objects

The number of allocated objects.

#### heap\_released\_bytes

The number of heap bytes released to the operating system.

#### heap\_sys\_bytes

The number of heap bytes obtained from `system`.

#### last\_gc\_ns

The nanosecond epoch time of the last garbage collection.

#### lookups

The total number of pointer lookups.

#### mallocs

The total number of mallocs.

#### mcache\_in\_use\_bytes

The number of bytes in use by mcache structures.

#### mcache\_sys\_bytes

The number of bytes used for mcache structures obtained from `system`.

#### mspan\_in\_use\_bytes

The number of bytes in use by mspan structures.

#### mspan\_sys\_bytes

The number of bytes used for mspan structures obtained from `system`.

#### next\_gc\_ns

The nanosecond epoch time of the next garbage collection.

#### num\_gc

The number of completed garbage collection cycles.

#### other\_sys\_bytes

The number of bytes used for other system allocations.

#### pause\_total\_ns

The total number of nanoseconds spent in garbage collection “stop-the-world”
pauses since Kapacitor started.

#### stack\_in\_use\_bytes

The number of bytes in use by the stack allocator.

#### stack\_sys\_bytes

The number of bytes obtained from `system` for stack allocator.

#### sys\_bytes

The number of bytes of memory obtained from `system`.

#### total\_alloc\_bytes

The total number of bytes allocated, even if freed.

### kapacitor\_nodes

The `kapacitor_nodes` measurement stores fields related to events that occur in[TICKscript nodes](/kapacitor/v1/reference/nodes/).

#### alerts\_inhibited

The total number of alerts inhibited by TICKscripts.

#### alerts\_triggered

The total number of alerts triggered by TICKscripts.

#### avg\_exec\_time\_ns

The average execution time of TICKscripts in nanoseconds.

#### crits\_triggered

The number of critical (`crit`) alerts triggered by TICKscripts.

#### errors

The number of errors caused caused by TICKscripts.

#### infos\_triggered

The number of info (`info`) alerts triggered by TICKscripts.

#### oks\_triggered

The number of ok (`ok`) alerts triggered by TICKscripts.

#### points\_written

The number of points written to InfluxDB or back to Kapacitor.

#### warns\_triggered

The number of warning (`warn`) alerts triggered by TICKscripts.

#### working\_cardinality

The total number of unique series processed.

#### write\_errors

The number of errors that occurred when writing to InfluxDB or other write endpoints.

### kapacitor\_topics

The `kapacitor_topics` measurement stores fields related to[Kapacitor topics](/kapacitor/v1/working/using_alert_topics/).

#### collected

The number of events collected by Kapacitor topics.
