Skip to content

Collector internal metrics#30

Open
nmoganti-boop wants to merge 4 commits into
mainfrom
nmoganti/IN-7122
Open

Collector internal metrics#30
nmoganti-boop wants to merge 4 commits into
mainfrom
nmoganti/IN-7122

Conversation

@nmoganti-boop
Copy link
Copy Markdown
Collaborator

@nmoganti-boop nmoganti-boop commented May 14, 2026

Summary

Expose collector internal metrics via service.telemetry.metrics → Prometheus pull on 127.0.0.1:9464, scrape with prometheus/internal, and export on the same otlp_grpc path as logs (VPC IP + Host + server_name_override). This reuses the working pipeline

OpenTelemetry Collector internal metrics are gated by a level knob (none, basic, normal, detailed). Think of it as how much of the collector’s own instrumentation you turn on, not as separate unrelated modes: higher levels add metrics on top of lower ones (see the doc’s “Lists of internal metrics” tables).

Why level: normal**

BASIC

turns on the “is the collector OK?” picture: uptime, CPU/memory, receiver accepted/refused, processor throughput, exporter sent / failed / enqueue-failed, and queue size vs capacity. That’s usually enough to tell if you’re dropping on ingress, failing on egress, or saturating the exporter queue.

NORMAL

adds batch processor metrics—especially batch sizes and whether batches flush because they hit the size limit vs the time limit. That matters in incidents where the symptom is laggy or bursty delivery: export counters can still look “fine” while batching is holding data longer or flushing in spikes. normal is the usual compromise: more actionable than basic, much lighter than detailed.

DETAILED

layers on HTTP/gRPC-style internal metrics (more dimensions and volume). Useful when you’re specifically chasing transport issues; overkill as the default for every host.

Ref: Collector internal telemetry (levels + metric lists).

@nmoganti-boop nmoganti-boop requested review from a team and atelpis May 14, 2026 11:50
@nmoganti-boop nmoganti-boop changed the title Nmoganti/in 7122 Collector internal metrics May 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant