You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The OpenTelemetry Collector aims to be a model of observable service by clearly
128
+
exposing its own operational metrics. Additionally, it collects host resource
129
+
metrics that can help you understand if problems are caused by a different
130
+
process on the same host. Specific components of the Collector can also emit
131
+
their own custom telemetry. In this section, you will learn about the different
132
+
types of observability emitted by the Collector itself.
133
+
134
+
### Values observable with internal metrics
135
+
136
+
The Collector emits internal metrics for the following **current values**:
137
+
138
+
- Resource consumption, including CPU, memory, and I/O.
139
+
- Data reception rate, broken down by receiver.
140
+
- Data export rate, broken down by exporters.
141
+
- Data drop rate due to throttling, broken down by data type.
142
+
- Data drop rate due to invalid data received, broken down by data type.
143
+
- Throttling state, including Not Throttled, Throttled by Downstream, and
144
+
Internally Saturated.
145
+
- Incoming connection count, broken down by receiver.
146
+
- Incoming connection rate showing new connections per second, broken down by
147
+
receiver.
148
+
- In-memory queue size in bytes and in units.
149
+
- Persistent queue size.
150
+
- End-to-end latency from receiver input to exporter output.
151
+
- Latency broken down by pipeline elements, including exporter network roundtrip
152
+
latency for request/response protocols.
153
+
154
+
Rate values are averages over 10 second periods, measured in bytes/sec or
155
+
units/sec (for example, spans/sec).
156
+
157
+
{{% alert title="Caution" color="warning" %}}
158
+
159
+
Byte measurements can be expensive to compute.
160
+
161
+
{{% /alert %}}
162
+
163
+
The Collector also emits internal metrics for these **cumulative values**:
164
+
165
+
- Total received data, broken down by receivers.
166
+
- Total exported data, broken down by exporters.
167
+
- Total dropped data due to throttling, broken down by data type.
168
+
- Total dropped data due to invalid data received, broken down by data type.
169
+
- Total incoming connection count, broken down by receiver.
170
+
- Uptime since start.
171
+
172
+
### Lists of internal metrics
173
+
174
+
The following tables group each internal metric by level of verbosity: `basic`,
175
+
`normal`, and `detailed`. Each metric is identified by name and description and
176
+
categorized by instrumentation type.
177
+
178
+
<!---To compile this list, configure a Collector instance to emit its own metrics to the localhost:8888/metrics endpoint. Select a metric and grep for it in the Collector core repository. For example, the `otelcol_process_memory_rss` can be found using:`grep -Hrn "memory_rss" .` Make sure to eliminate from your search string any words that might be prefixes. Look through the results until you find the .go file that contains the list of metrics. In the case of `otelcol_process_memory_rss`, it and other process metrics can be found in https://github.com/open-telemetry/opentelemetry-collector/blob/31528ce81d44e9265e1a3bbbd27dc86d09ba1354/service/internal/proctelemetry/process_telemetry.go#L92. Note that the Collector's internal metrics are defined in several different files in the repository.--->
0 commit comments