deadtrickster
I’ve just released stable versions of my Prometheus Elixir libs:
- Elixir client [docs];
- Ecto collector [docs];
- Plugs instrumenter/Exporter [docs];
- Phoenix instrumenter [docs].
Elixir client is based on Erlang client which exports dozens of metrics such as VM memory metrics, VM system info metrics, Mnesia metrics, etc.
For linux users there is also Process info collector.
I would be glad to answer any questions!
Trending in Announcing
Flop is an Elixir library that applies filtering, ordering and pagination parameters to your Ecto queries.
offset-based pagination with...
New
I needed to reuse React components from my Chrome extension in my Phoenix/LiveView backend. I noticed that for Svelte/Vue, there are live...
New
I released Doggo, a collection of unstyled Phoenix components.
https://github.com/woylie/doggo
Features
Unstyled Phoenix components....
New
Edit: 2026 May 15 - This post is archived.
Mob is alive!!
Main docs: mob v0.7.11 — Documentation
A bit of explanation for the slightly c...
New
Hey, I’m Jesse and I’m the main contributor behind Dexter, a full-featured, lightning-fast Elixir LSP optimized for large codebases. It s...
New
Hi there! We created Gust: A task orchestrator inspired by Airflow.
For those who have never heard about Aiflow, it’s a Python-based wor...
New
Hello
Published a new library - ProcessHub!
ProcessHub is a library designed to manage process distribution within the Elixir cluster. ...
New
Other Trending Topics
I am happy to introduce the very α version of the new programming language compiled to BEAM.
Welcome Cure.
It has literally three kille...
New
Hi everyone!
The first release candidate for the Expert language server project is now available!
We’ve published a press release detai...
New
With AI doing more of the implementation work, I’ve been wondering how much coding I should deliberately keep doing myself.
My main conc...
New
This showed up on my feed.. anyone heard of it? Just hype?
Ox Alpha is a reasoning model designed for coding, sustained ag...
New
Hey folks,
I just published a post about Hologram’s funding and where the project goes next - the short version:
Curiosum as Main Spons...
New
:microphone: ElixirConf 2026 - Call for Talks is open!
We’re heading to Chicago :united_states:
:round_pushpin: In person + virtual
:d...
New
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #library
- #deployment
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #elixirconf
- #channels
- #exunit
- #discussion
- #code-sync
- #podcasts
- #javascript
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #ai
- #elixirconf-us
- #blog-post
- #elixir-ls
- #phoenix_html
- #iex
- #graphql
- #genstage
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #processes
- #api
- #forms
- #elixirconf-eu
- #metaprogramming
- #hex










Showing Posts 21 to 12- Show Best Posts
- Show All (oldest first)
- Show All (newest first)
iamMrGaurav
@deadtrickster , does this give the same metrics as Erlang prometheus.io client?
deadtrickster
Hi, it’s not particularly clear what library/protocol you are instrumenting
Hernan
Hi @deadtrickster. Thanks for all replys.
I use your library, and i need to add label to all metrics. I need add ‘hostname’, and before the response, i set this value (in handler). My question is: exists one configuration for this?: add an label to all default_metrics.
Thanks!,
Hernán-
marat
Hi @deadtrickster!
The problem with
{:prometheus_phoenix, "~> 1.2.0"}was not only that 2 metrics were missing in docs. The problem was that until I used1.2.1version/metricspage wasn’t showing any data for phoenix.marat
@deadtrickster thank you for the answers!
I observe the changes on the
/metricspage. Just now I left:and the metrics still have:
Another question, Q4:
I have a different Instrumenter which doesn’t get to
/metricspage:It’s included to Endpoint Instrumenters:
Where else should it go? The
/metricspage doesn’t havehttp_request_duration_mslabel.Thanks again!
deadtrickster
Q1: probably I forgot to update the docs, new metrics are for phoenix channels
Q2: because you can have different sets of labels for each instrumenter
Q3: where/how you observe the chnages?
marat
Q1:
I’m using
and doc for GitHub - prometheus-erl/prometheus-phoenix at v1.2.0 · GitHub states that it has 2 metrics:
phoenix_controller_call_duration_microseconds- Whole controller pipeline execution time.phoenix_controller_render_duration_microseconds- View rendering time.Instead, the
/metricspage shows meWhere do they come from? They have no values. After using
prometheus_phoenix 1.2.1metrics are the same but WITH values. Where does all that come from?Q2:
my config for PhoenixInstrumenter:
Why the key is called
controller_call_labels? Other sample configs have smth likebut not
controller_call_labels. How is it set?Q3:
If I add/remove values from
duration_buckets:they change after a certain period of time. Are they cached somewhere?Thanks ahead for the answers!
deadtrickster
Starting from version 2.1 Cowboy has special metrics stream handler - cowboy/src/cowboy_metrics_h.erl at master · ninenines/cowboy · GitHub.
Prometheus cowboy integration uses this interface to directly instrument Cowboy now.
deadtrickster
And don’t hesitate joining our prometheus channel on elixir-lang Slack team!
MartinElvar
Cool thanks @orestis & @deadtrickster, appreciate it, gonna give it a try for our next project
.