-
Notifications
You must be signed in to change notification settings - Fork 1.9k
opentelemetry: JSON Metrics and Exp Histograms #11456
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
Changes from 1 commit
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
8f16e7f
opentelemetry: add metrics json to msgpack encoder
edsiper b7fce6e
in_opentelemetry: convert json metrics to cmetrics
edsiper 0e05cd8
opentelemetry: add metrics JSON parser
edsiper 6c7a3e2
tests: internal: opentelemetry: add metrics JSON parser tests
edsiper 96cab1a
lib: cmetrics: upgrade to v2.0.0 (exp histograms)
edsiper 088238d
in_opentelemetry: unify signal content-type handling across metrics/l…
edsiper 8f44fc8
in_opentelemetry: add missing header
edsiper 74d5070
opentelemetry: metrics json match datapoint labels by key
edsiper e8f756f
tests: internal: add metrics json regression for label-order independ…
edsiper 74e570d
lib: cmetrics: upgrade to v2.0.1
edsiper 1e11e87
in_opentelemetry: harden content-type detection bounds checks
edsiper d54287a
opentelemetry: reject invalid u64 JSON/msgpack conversions
edsiper 5a8e69b
tests: internal: opentelemetry: metrics cleanup guard uses decode result
edsiper 80699d6
lib: cmetrics: upgrade to v2.0.2
edsiper 4f61839
opentelemetry: metrics: preserve JSON asInt precision and metadata
edsiper 1ae856d
tests: internal: opentelemetry: add missing cmetrics initialization
edsiper 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
in_opentelemetry: unify signal content-type handling across metrics/l…
…ogs/traces
- Added shared content-type/payload helpers in plugins/in_opentelemetry/opentelemetry_utils.{h,c}:
- opentelemetry_is_json_content_type
- opentelemetry_is_protobuf_content_type
- opentelemetry_is_grpc_content_type
- opentelemetry_payload_starts_with_json_object
- Switched logs/traces/metrics paths to use shared helpers:
- plugins/in_opentelemetry/opentelemetry_logs.c
- plugins/in_opentelemetry/opentelemetry_traces.c
- plugins/in_opentelemetry/opentelemetry_prot.c
- Removed duplicated local gRPC content-type checker from opentelemetry_prot.c.
- Improved coherence across signals:
- unified JSON/protobuf/gRPC detection
- accepts content-type params (e.g. application/json; charset=utf-8)
- consistent JSON payload prefix validation for logs/traces.
Signed-off-by: Eduardo Silva <eduardo@chronosphere.io>- Loading branch information
commit 088238d202a08a1687f39091109be4b137ab7dac
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
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
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
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
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.