DEV Community

Discussion on: Let's build a Prometheus exporter in Rust

Collapse
 
argentsmith profile image
Pavel Argentov

Hi. Thanks for the great work & the article. I'm experimenting with your code and would ask a question: how to pass a, let's say, pathname returned from matches.value_of() to the rendering closure?

Collapse
 
argentsmith profile image
Pavel Argentov

Solved that. Excuse mu noob question )

Collapse
 
mindflavor profile image
Francesco Cogno

Hi Pavel, sorry I was unable to answer sooner! Anyway I'm glad you were able to sort it out by yourself!