Skip to content

Commit

Permalink
isnt
Browse files Browse the repository at this point in the history
  • Loading branch information
davydog187 committed Dec 30, 2024
1 parent afd67d8 commit 08787f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ iex(6)> Gnat.pub(gnat, "topic", "ohai")
```

The `pub` , `sub` , `request` , and `unsub` events all report the latency of those respective calls.
The `message_received` event reports a number of messages like `%{count: 1}` because there isn"t a good latency metric to report. Any microservices managed by a consumer supervisor will also report `service_request` and `service_error`. In addition to the `:topic` metadata, microservices will also include `:endpoint` and `:group` (which can be `nil`) in their telemetry reports.
The `message_received` event reports a number of messages like `%{count: 1}` because there isn't a good latency metric to report. Any microservices managed by a consumer supervisor will also report `service_request` and `service_error`. In addition to the `:topic` metadata, microservices will also include `:endpoint` and `:group` (which can be `nil`) in their telemetry reports.

All of the events (except `unsub` ) include metadata with a `:topic` key so you can split your metrics by topic.

Expand Down

0 comments on commit 08787f5

Please sign in to comment.