Skip to content

Add client-only message/byte metrics and use them in Network Usage Detail#329

Merged
alexbozhenko merged 7 commits into
nats-io:mainfrom
alexbozhenko:add_clients_recv_metrics
May 20, 2026
Merged

Add client-only message/byte metrics and use them in Network Usage Detail#329
alexbozhenko merged 7 commits into
nats-io:mainfrom
alexbozhenko:add_clients_recv_metrics

Conversation

@alexbozhenko
Copy link
Copy Markdown
Member

@alexbozhenko alexbozhenko commented Feb 25, 2026

Add metrics that were added in nats-io/nats-server#7851

Since existing total counters(like nats_core_sent_bytes) already appear three times on the dashboard:

  1. at the very top:
image
  1. same metrics under the "cluster overview" section:
image
  1. under "network usage detail"

I think we can just replace metric "network usage detail" pane, where we have data grouped by the server
image

I replaced total metrics with corresponding _clients metric: e.g. nats_core_sent_bytes with nats_core_sent_to_client_bytes_total

@Jarema
Copy link
Copy Markdown
Member

Jarema commented Mar 18, 2026

@alexbozhenko please resolve the conflicts.

@alexbozhenko alexbozhenko changed the title Add metrics for messages sent to/received from clients Add client-only message/byte metrics and use them in Network Usage Detail May 14, 2026
@alexbozhenko alexbozhenko force-pushed the add_clients_recv_metrics branch from f07c836 to ea599f0 Compare May 14, 2026 23:47
@alexbozhenko alexbozhenko force-pushed the add_clients_recv_metrics branch from d096f67 to e3cdb0f Compare May 20, 2026 17:33
@alexbozhenko alexbozhenko requested a review from wallyqs May 20, 2026 18:28
@alexbozhenko alexbozhenko merged commit bab2ad5 into nats-io:main May 20, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants