Skip to content

Commit

Permalink
review
Browse files Browse the repository at this point in the history
  • Loading branch information
lmolkova committed Jun 11, 2024
1 parent 0cf9fc4 commit b6008e8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions docs/messaging/messaging-metrics.md
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ This metric is [required][MetricRequired].
| `messaging.client.published.messages` | Counter | `{message}` | Number of messages producer attempted to publish to the broker. [1] | ![Experimental](https://img.shields.io/badge/-experimental-blue) |


**[1]:** This metric MUST NOT count messages that were created, but aren't being published yet.
**[1]:** This metric MUST NOT count messages that were created haven't yet been attempted to be published.



Expand Down Expand Up @@ -282,7 +282,7 @@ This metric is [required][MetricRequired].


**[1]:** Records the number of messages pulled from the broker or number of messages dispatched to the application in push-based scenarios.
The metric MUST be reported once per message delivery. For example, if receiving and processing operations are both instrumented for a single message delivery, the number of received messages is reported when then message is received and not reported for the processing operation.
The metric SHOULD be reported once per message delivery. For example, if receiving and processing operations are both instrumented for a single message delivery, this counter is incremented when the message is received and not reported when it is processed.



Expand Down
7 changes: 4 additions & 3 deletions model/metrics/messaging-metrics.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ groups:
metric_name: messaging.client.published.messages
brief: "Number of messages producer attempted to publish to the broker."
note: >
This metric MUST NOT count messages that were created, but aren't being published yet.
This metric MUST NOT count messages that were created haven't yet been attempted to be published.
stability: experimental
instrument: counter
unit: "{message}"
Expand All @@ -69,8 +69,9 @@ groups:
note: >
Records the number of messages pulled from the broker or number of messages dispatched to the application in push-based scenarios.
The metric MUST be reported once per message delivery. For example, if receiving and processing operations are both instrumented for a single message delivery, the number of received messages
is reported when then message is received and not reported for the processing operation.
The metric SHOULD be reported once per message delivery. For example, if receiving and
processing operations are both instrumented for a single message delivery, this counter
is incremented when the message is received and not reported when it is processed.
stability: experimental
instrument: counter
unit: "{message}"
Expand Down

0 comments on commit b6008e8

Please sign in to comment.