google/mtail
extract internal monitoring data from application logs for collection in a timeseries database observed · 2026-08-28
Health v2 · maintenance only
55/100
- Activity 72
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4481
- days_rel: n/a
- days_push: 168
- n_releases_24m: 0
Adoption not part of the score
4027 stars · 392 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
mtail is a Google open-source tool that extracts metrics from application logs using small pattern-action programs and exports them to timeseries databases. It bridges applications that only expose state via logs with monitoring systems like Prometheus, StatsD, Graphite, and collectd.
Use cases
- extract prometheus metrics from application logs
- monitor log files and export counters and gauges
- instrument legacy apps that only write logs
- parse log lines into timeseries metrics for alerting
- tail logs and push metrics to statsd or graphite
- build dashboards from unstructured log data
When to choose
- your application only exposes internal state through logs and you can't patch it
- you already run Prometheus or a timeseries database and need a log-to-metrics bridge
- you want declarative pattern-based extraction instead of custom parsing scripts
When to avoid
- your application can export metrics natively (e.g. a Prometheus client library)
- you need full log aggregation and search rather than metric extraction
- you need structured JSON log ingestion at high throughput — a log pipeline like Vector or Fluent Bit may fit better
Facets
service · maturity active
monitoring logging parser monitoring developer-tools windows go cli self-hosted log-metrics-extraction prometheus-exporter timeseries log-parsing mtail-programs statsd graphite collectd devops linux macos
1 source
- readme: https://github.com/google/mtail · fetched 2026-08-28 · e9c7741a48f6
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| google/mtail | main | 55 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem