rust-lang / crates-io-heroku-metrics

Heroku metrics collector for crates.io
Apache License 2.0
3 stars 6 forks source link

Ingest log lines starting with `at=error ` #4

Closed jtgeibel closed 1 year ago

jtgeibel commented 3 years ago

This is an initial step in adding metrics for the errors identified in #3.

r? @pietroalbini

jtgeibel commented 3 years ago

This is an initial pass at extracting this data from the logs. I've modeled it somewhat after the existing postgres metrics logic, but I haven't tested this and I'm not sure if it makes sense to emit separate events for each tag or to consolidate all applicable tags into a single event.

pietroalbini commented 1 year ago

Superseded by https://github.com/rust-lang/crates-io-heroku-metrics/pull/5.