-
Notifications
You must be signed in to change notification settings - Fork 102
Add OTel metrics support #1154
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Add OTel metrics support #1154
Changes from 1 commit
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
aba076e
otel: add Meter and metric instruments
mtmk f828afc
otel: emit published.messages counter on publish
mtmk 66b1361
otel: emit consumed.messages counter on receive
mtmk 6bec446
otel: add NATS.Client.OpenTelemetry package and public NatsTelemetry …
mtmk 4fae25e
otel: emit active_subscriptions updown counter
mtmk c5fbd15
otel: record operation.duration histogram for publish and request
mtmk 2c50502
otel: record operation.duration histogram for subscribe
mtmk 7296463
otel: increment reconnects counter on successful reconnect
mtmk f3ffa18
docs: document NATS.Net meter and metric instruments [no ci]
mtmk ba7ec81
otel: cache per-connection metric tag prefix with boxed port
mtmk 1e37e49
otel: add sent/received bytes counters
mtmk 71b593f
examples: add MeterProvider with NATS metrics to OTel example
mtmk b969495
otel: use connect URI host/port for server.address/server.port
mtmk 6539274
examples: wire OTel logs and route NATS internal logs to OTLP
mtmk f599787
otel: move published.messages increment to CommandWriter
mtmk 2f80a2a
test: fix Reconnect_counter race against initial ConnectionOpened
mtmk ca29f13
otel: set advisory buckets on operation.duration histogram
mtmk 7e8f2e2
test: cover active-subs decrement on connection dispose
mtmk ecbefcc
Revert "test: cover active-subs decrement on connection dispose"
mtmk dacebf2
otel: address code-review findings
mtmk 125b10f
Merge remote-tracking branch 'origin/release/3.0' into otel-metrics-m…
mtmk a0ee684
otel: moving otel pkg out
mtmk 1919873
fmt: cleat empty line
mtmk File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.