semantic-conventions icon indicating copy to clipboard operation
semantic-conventions copied to clipboard

feat: add specification for messaging latencies

Open kjschnei001 opened this issue 1 year ago • 3 comments
trafficstars

Fixes #792

Changes

This PR introduces the a metric for messaging systems to report the time difference from which a message was produced to when it was consumed. This is a pretty typical business metric used to indicate the health of an asynchronous messaging system.

Merge requirement checklist

kjschnei001 avatar Apr 05 '24 17:04 kjschnei001

I appreciate all the wonderful collaboration going on here. Quick logistical note that I will continue to be afk for the next week and a half, but I look forward to incorporating all the feedback upon my return.

kjschnei001 avatar Apr 11 '24 00:04 kjschnei001

Given the current messaging metric naming conventions of messaging.<operation type>.[duration|message], I wondered whether it's applicable to have a "synthetic" operation type called "enqueued", then we could have the metric messaging.enqueued.duration for the latency (the duration a message was enqueued), and messaging.enqueued.messages for the lag (this would be an UpDownCounter).

pyohannes avatar Apr 18 '24 14:04 pyohannes

This PR was marked stale due to lack of activity. It will be closed in 7 days.

github-actions[bot] avatar May 04 '24 03:05 github-actions[bot]

This PR was marked stale due to lack of activity. It will be closed in 7 days.

github-actions[bot] avatar Jun 01 '24 03:06 github-actions[bot]

Closed as inactive. Feel free to reopen if this PR is still being worked on.

github-actions[bot] avatar Jun 09 '24 03:06 github-actions[bot]