akoutmos / prom_ex

An Elixir Prometheus metrics collection library built on top of Telemetry with accompanying Grafana dashboards
MIT License
577 stars 96 forks source link

[FEATURE] Ability to set custom timestamp with metrics #235

Open akchaudhary6532 opened 1 month ago

akchaudhary6532 commented 1 month ago

Right now when we goto /metrics endpoint we get something like this

metrics_test_api_total_count{my_tag="987",status="400",time="1717069618965"} 1

We want something like this

metrics_test_api_total_count{my_tag="987",status="400",time="1717069618965"} 1 1717069618965

Not sure if this is possible right now with prom_ex