Skip to content

Exporter Self-Metrics

Metrics the exporter emits about itself rather than about the firewall.

This page is generated by scanning the source for Prometheus metric declarations, not by gathering a registry, so a metric appears here as soon as it is declared — whether or not the composition root happens to wire it up. The Grafana coverage gate (just grafana-check) reads this table alongside the collector catalogue, so a new self-metric fails CI until it is charted on the dashboard or given a justified exemption in grafana/build_dashboard.py.

go_* and process_* are not listed: they come from the Prometheus client library's own collectors rather than from this codebase, they carry no opnsense_instance label, and they are charted from the Exporter Runtime row behind the has_go_runtime sentinel.

Total: 61 self-metrics.

MetricTypeDeclared in
opnsense_exporter_annotations_failed_totalCounterinternal/annotations
opnsense_exporter_annotations_last_success_timestamp_secondsGaugeinternal/annotations
opnsense_exporter_annotations_rate_limited_totalCounterinternal/annotations
opnsense_exporter_annotations_skipped_totalCounterinternal/annotations
opnsense_exporter_annotations_undeliverable_totalCounterinternal/annotations
opnsense_exporter_annotations_written_totalCounterinternal/annotations
opnsense_exporter_api_cache_fetched_timestamp_secondsDescinternal/collector
opnsense_exporter_api_cache_hits_totalCounterinternal/collector
opnsense_exporter_api_cache_misses_totalCounterinternal/collector
opnsense_exporter_api_request_duration_secondsHistograminternal/collector
opnsense_exporter_api_requests_totalCounterinternal/collector
opnsense_exporter_build_infoDescinternal/collector
opnsense_exporter_collector_enabledDescinternal/collector
opnsense_exporter_collector_last_poll_timestamp_secondsDescinternal/collector
opnsense_exporter_collector_last_success_timestamp_secondsDescinternal/collector
opnsense_exporter_collector_next_poll_timestamp_secondsDescinternal/collector
opnsense_exporter_collector_poll_interval_secondsDescinternal/collector
opnsense_exporter_collector_snapshot_timestamp_secondsDescinternal/collector
opnsense_exporter_endpoint_errors_totalCounterinternal/collector
opnsense_exporter_logs_debug_capture_dropped_totalCounterinternal/logship/capture
opnsense_exporter_logs_debug_captured_totalCounterinternal/logship/capture
opnsense_exporter_logs_dropped_totalCounterinternal/logship
opnsense_exporter_logs_enrich_last_refresh_timestamp_secondsGaugeinternal/logship/enrich
opnsense_exporter_logs_enrich_misses_totalCounterinternal/logship/enrich
opnsense_exporter_logs_enrich_refresh_errors_totalCounterinternal/logship/enrich
opnsense_exporter_logs_enrich_seam_reads_totalCounterinternal/logship/enrich
opnsense_exporter_logs_last_exported_timestamp_secondsGaugeinternal/logship
opnsense_exporter_logs_last_received_timestamp_secondsGaugeinternal/logship
opnsense_exporter_logs_parse_errors_totalCounterinternal/logship
opnsense_exporter_logs_poll_errors_totalCounterinternal/logship
opnsense_exporter_logs_possible_gap_totalCounterinternal/logship
opnsense_exporter_logs_queue_bytesGaugeinternal/logship
opnsense_exporter_logs_queue_capacityGaugeinternal/logship
opnsense_exporter_logs_queue_lengthGaugeinternal/logship
opnsense_exporter_logs_queue_max_bytesGaugeinternal/logship
opnsense_exporter_logs_rejected_totalCounterinternal/logship
opnsense_exporter_logs_resource_capped_totalCounterinternal/logship
opnsense_exporter_logs_ship_errors_totalCounterinternal/logship
opnsense_exporter_logs_shipped_totalCounterinternal/logship
opnsense_exporter_logs_syslog_conn_slots_in_useGaugeinternal/logship/syslog
opnsense_exporter_logs_syslog_conn_slots_limitGaugeinternal/logship/syslog
opnsense_exporter_logs_unparsed_totalCounterinternal/logship
opnsense_exporter_logs_zenarmor_bulk_bytes_totalCounterinternal/logship/zenarmor
opnsense_exporter_logs_zenarmor_bulk_requests_totalCounterinternal/logship/zenarmor
opnsense_exporter_logs_zenarmor_excluded_totalCounterinternal/logship/zenarmor
opnsense_exporter_otlp_consecutive_failuresGaugeinternal/telemetry
opnsense_exporter_otlp_enabledGaugeinternal/telemetry
opnsense_exporter_otlp_exports_totalCounterinternal/telemetry
opnsense_exporter_otlp_last_success_timestamp_secondsGaugeinternal/telemetry
opnsense_exporter_partial_fetch_failures_totalCounterinternal/collector
opnsense_exporter_scrape_collector_duration_secondsDescinternal/collector
opnsense_exporter_scrape_collector_successDescinternal/collector
opnsense_exporter_scrapes_totalCounterinternal/collector
opnsense_exporter_seriesDescinternal/collector
opnsense_exporter_server_metrics_gather_errors_totalCounterinternal/server
opnsense_exporter_server_metrics_request_duration_secondsHistograminternal/server
opnsense_exporter_server_metrics_requests_in_flightGaugeinternal/server
opnsense_exporter_server_metrics_requests_rejected_totalCounterinternal/server
opnsense_exporter_server_metrics_requests_totalCounterinternal/server
opnsense_exporter_syslog_udp_accepted_totalCounterinternal/logship/syslog
opnsense_exporter_syslog_udp_receive_buffer_bytesGaugeinternal/logship/syslog