Skip to main content

Crate camel_prometheus

Crate camel_prometheus 

Source
Expand description

Prometheus metrics integration for rust-camel.

Implements MetricsCollector trait to export rust-camel metrics in Prometheus format.

§TODO(PRM-011)

  • Route policy integration not implemented (per-route metric policies)
  • Event notifier hook not implemented (metric event callbacks)
  • Prometheus config struct (scrape interval, custom labels, histogram buckets) not exposed

Re-exports§

pub use metrics::PrometheusMetrics;
pub use server::MetricsServer;
pub use service::PrometheusService;

Modules§

metrics
server
service

Traits§

MetricsCollector
Trait for collecting metrics from the Camel runtime. Implementations can integrate with Prometheus, OpenTelemetry, etc.