openmeter icon indicating copy to clipboard operation
openmeter copied to clipboard

feat(internal): cogs

Open GAlexIHU opened this issue 1 month ago • 1 comments

Overview

Rudimentary cost-of-goods-sold estimates based on round-trip times...

TODO

  • [ ] Make RouteHandler and other attributes/labels available inside handlers (currently only otelhttp accesses them)
  • [ ] Implement for Postgres
  • [ ] Implement for ClickHouse
  • [ ] Implement for Redis
  • [ ] Implement for Compute

Notes

On a more general note, using OTEL metrics for this is far from ideal... once the actual measurements are figured out / implemented, it would be a fairly small lift to send this data to OpenMeter instead of the OTEL target...

GAlexIHU avatar Oct 28 '25 16:10 GAlexIHU