-
Notifications
You must be signed in to change notification settings - Fork 528
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
Translate otel metrics to libbeat monitoring #15094
Merged
Merged
Changes from all commits
Commits
Show all changes
48 commits
Select commit
Hold shift + click to select a range
7bcfa46
Translate otel metrics to libbeat monitoring
axw 0491b4c
Merge remote-tracking branch 'upstream/main' into otel-adapter
kruskall 166a717
demo: send metrics directly and add another reader
kruskall 11b11d8
Revert "demo: send metrics directly and add another reader"
kruskall 128b5b9
lint: fix linter issues
kruskall 0adb6ab
Merge branch 'main' into otel-adapter
kruskall 642a89b
lint: fix linter issues
kruskall 15d6652
feat: refactor code to propagate meterprovider and fix tests
kruskall bfedda8
Merge remote-tracking branch 'upstream/main' into otel-adapter
kruskall cc914d0
lint: fix linter issues
kruskall 4e9110d
refactor: remove unused files
kruskall 63a49cc
refactor: remove more global meters
kruskall 64fe558
refactor: cleanup more unused code
kruskall df2e35c
Merge branch 'main' into otel-adapter
kruskall 3931dab
refactor: remove more unused code
kruskall 750668f
test: account for agentcfg metric in test
kruskall fe73501
test: account for agentcfg metric in test
kruskall ee6fc70
fix: pass meter provider in main func
kruskall 8d8b066
Fix LSM metrics tests
axw 9821bcc
test: fix remaining test
kruskall 50bcc39
lint: fix linter issues
kruskall b4b9631
fix: update docappender metrics name
kruskall b275098
test: update systemtest metric assertions
kruskall 8155566
fix: update grpc interceptor meter path
kruskall 4ae20a0
fix: add back output.type=elasticsearch
kruskall 3b4fc56
test: upate remaining systemtest
kruskall 62e0c25
test: remove debug print
kruskall ee22add
Merge branch 'main' into otel-adapter
kruskall 928ccf8
fix: use correct outputRegistry variable
kruskall 268e4d7
Merge branch 'main' into otel-adapter
kruskall 46ed7f7
fix: remove panic on err
kruskall c459533
fix: propagate meter provider to grpc services
kruskall dd8ccf9
lint: add meterprovider field docs
kruskall bc9ec45
lint: fix comment typo
kruskall 87d42ba
feat: pass apmotel gatherer too
kruskall f400792
refactor: use switch pattern consistently when mapping metrics
kruskall 775b0ec
Update beater.go
kruskall 243e90f
Update beat.go
kruskall 1d9793f
Update beater.go
kruskall 3575c50
Merge branch 'main' into otel-adapter
kruskall 08501f2
fix: solve compile errors and systemtest fix
kruskall ea2260f
refactor: reduce diff noise
kruskall 83bc51b
lint: fix linter issues
kruskall 929f011
lint: fix linter issues
kruskall 1f2322b
Update x-pack/apm-server/main.go
kruskall 06080ca
test: use legacy metrics for validating grpc tests
kruskall 45f84a7
fix: unregister callback if available
kruskall c95e71d
Merge branch 'main' into otel-adapter
kruskall 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 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 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 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 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 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 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 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.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: why to use switch case here? do we expect to handle more cases in the future?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
see above comment, it's for consistency
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Aligning all of these monitoring functions to use
if
statements also sounds fine, I was mostly addressing the inconsistency for the same kind of checks.