Skip to content

Latest commit

 

History

History

actix-web

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Autometrics actix-web Example

This shows how you can instrument actix-web HTTP handler functions with autometrics.

Running the example

Note: You will need Prometheus installed locally for the full experience.

cargo run -p example-actix-web

This will start the server, generate some fake traffic, and run a local Prometheus instance that is configured to scrape the metrics from the server's /metrics endpoint.