# Prometheus metrics with Rails and Kamal

DevFeed: [Prometheus metrics with Rails and Kamal](<https://devfeed.tech/articles/prometheus-metrics-with-rails-and-kamal-33506.md>)

Original publisher: [Read original article](<https://dev.37signals.com/kamal-prometheus/>)

Author: Lewis Buckley

Published: 2024-05-23T17:00:00Z

Content type: tutorial

Language: en

Sources: [37signals Dev](<https://devfeed.tech/sources/37signals-dev.md>)

Topics: [Prometheus](<https://devfeed.tech/topics/prometheus.md>), [Rails](<https://devfeed.tech/topics/rails.md>), [telemetry](<https://devfeed.tech/topics/telemetry.md>), [Grafana Cloud Metrics](<https://devfeed.tech/topics/grafana-cloud-metrics.md>), [like](<https://devfeed.tech/topics/like.md>), [.NET 9](<https://devfeed.tech/topics/net-9.md>)

Tags: [docker](<https://devfeed.tech/tags/docker.md>), [metrics](<https://devfeed.tech/tags/metrics.md>), [performance](<https://devfeed.tech/tags/performance.md>), [processes](<https://devfeed.tech/tags/processes.md>), [prometheus](<https://devfeed.tech/tags/prometheus.md>), [rails](<https://devfeed.tech/tags/rails.md>), [redis](<https://devfeed.tech/tags/redis.md>), [ruby](<https://devfeed.tech/tags/ruby.md>)

## AI overview

This article explains how 37signals exports and aggregates Prometheus metrics from Rails applications running in Docker containers managed by Kamal. It describes using Yabeda and addresses performance issues and process-ID cardinality in multiprocess metric collection.

## Source excerpt

How we use Prometheus metrics with Rails and Kamal.