This recipe ships data emitted by
msb-metrics.
See the msb-metrics page for the flag reference, metric names, and
deployment constraints.debug exporter to see exactly what msb-metrics is
sending. Useful for development and for verifying metric names,
attributes, and protocols before pointing at a real backend.
1
Install the collector
Download
otelcol (or otelcol-contrib) from the
official releases,
or run via Docker.2
Configure the OTLP receiver + debug exporter
Save as
otel-collector.yaml:3
Start the collector
4
Point msb-metrics at it
msb run alpine) and watch metrics scroll past in
the otel-collector log. You should see records like
microsandbox.cpu.utilization with the configured resource and
identity attributes attached.The
debug exporter replaced the older logging exporter in
otel-collector v0.111.0. If your installation pre-dates that, use
exporters.logging instead.Verbosity levels
Theverbosity field controls how much detail the debug exporter
prints:
Use
detailed while verifying that attributes and units are correct;
drop to basic once you’re confident the pipeline works.