# Monitoring Infrastructure
## Options
### [[Prometheus]] + [[Grafana]]
### Prometheus
*Power your metrics and alerting with the leading open-source monitoring solution.*
- [prometheus.io](https://prometheus.io/)
- GitHub: [prometheus/prometheus](https://github.com/prometheus/prometheus)
- Apache 2.0
- [[Rust]] crates
- `prometheus` [crate](https://crates.io/crates/prometheus) (https://docs.rs/prometheus/0.13.3/prometheus/, GitHub: [tikv/rust-prometheus](https://github.com/tikv/rust-prometheus))
- *This is the [Rust](https://www.rust-lang.org/) client library for [Prometheus](http://prometheus.io/). The main data structures and APIs are ported from [Go client](https://github.com/prometheus/client_golang).*
#### Grafana
*Operational dashboards for your data here, there, or anywhere*
- [grafana.com](https://grafana.com/)
- [Pricing](https://grafana.com/pricing/)
- Free tier: 10K series Prometheus metrics, 50GB logs, 50GB traces, 50GB profiles, 500VUh k6 testing
## [[Sentry]]
*Self-hosted and cloud-based application performance monitoring & error tracking that helps software teams see clearer, solve quicker, & learn continuously.*
- Rust [page](https://sentry.io/for/rust/)
- [[Rust]] SDK
- GitHub: [getsentry/sentry-rust](https://github.com/getsentry/sentry-rust)
- Main crate `sentry` ([docs](https://docs.rs/sentry/latest/sentry/)) only includes `reqwest` with the `blocking` API. No async support
- GitHub: [getsentry/sentry](https://github.com/getsentry/sentry)
- Written in [[Python]]
- Nice [docs](https://docs.sentry.io/)
- Rust-specific [docs](https://docs.sentry.io/platforms/rust/)
- Self-hostable?
### [[Elasticsearch]] Observability
- [elastic.co/observability](https://www.elastic.co/observability/)
- Main repo: [elastic/elasticsearch](https://github.com/elastic/elasticsearch)
- Official [[Rust]] client: `elasticsearch` ([crate](https://crates.io/crates/elasticsearch), [docs](https://docs.rs/elasticsearch/latest/elasticsearch/), GitHub: [elastic/elasticsearch-rs](rs))
- Alpha state with async support. Appears decently maintained
- Open-source and self-hostable' ''