Recipes/🔍 Observability/Metrics Collector
🔍

Metrics Collector

intermediate

Prometheus alternative - Metrics collection

Prometheus alternatifi - Metrik toplama

Estimated Time
⏱️ 1-2 months
Essential Crates
📦 2

Tags

metricsprometheusmonitoringobservability

Required Crates

Essential

hyper
HTTP server

HTTP sunucu

crates.io →
hyper = { version = "1", features = ["full"] }
dashmap
Metric storage

Metrik depolama

crates.io →
dashmap = "6"

Starter Template

Copy this Cargo.toml to get started:

[package]
name = "my-metrics-collector"
version = "0.1.0"
edition = "2021"

[dependencies]
hyper = { version = "1", features = ["full"] }
dashmap = "6"
thiserror = "1"
tracing = "0.1"

Related Patterns

Learn these patterns to build this project effectively:

Other Observability Projects