client_rust icon indicating copy to clipboard operation
client_rust copied to clipboard

feat: Add Summary metric type

Open tisonkun opened this issue 1 year ago • 5 comments

This closes #40.

This follows up https://github.com/prometheus/client_rust/pull/67.

With ...

  • https://github.com/prometheus/client_rust/pull/67/files#r1145927745 Resolved. All related code is behind "summary" feature now.
  • https://github.com/prometheus/client_rust/pull/67/files#r1145930654 Resolved. crate instant is not maintained any more, using fastant which works on wasm also.
  • https://github.com/prometheus/client_rust/pull/67/files#r1145938371 Resolved. TRIVIAL AS IS.
  • https://github.com/prometheus/client_rust/pull/67/files#r1145924555 Resolved. Use the same write lock when needed. See 22865b4d3d01d6870360c3ffe3ce4d100ccc36d5.
  • https://github.com/prometheus/client_rust/pull/67/files#r1145932768 Resolved. TRIVIAL AS IS.
  • https://github.com/prometheus/client_rust/pull/67/files#r1145935223 Not accepted. We may improve this point later. Currently it brings extra burden without clearly benefit.

tisonkun avatar Dec 15 '24 20:12 tisonkun

cc @mxinden

tisonkun avatar Dec 15 '24 20:12 tisonkun

Hi, is this feature still in progress?

codefever avatar Mar 14 '25 15:03 codefever

@codefever I'd like to. But without a maintainer involved I won't allocate more time since all may be in vain.

tisonkun avatar Mar 21 '25 06:03 tisonkun

Somehow I've switched to opentelemetry's metrics API, like https://github.com/apache/opendal/pull/5524

tisonkun avatar Mar 21 '25 06:03 tisonkun

Questions answered. Please let me know if there is any pending items.

tisonkun avatar Mar 24 '25 12:03 tisonkun