forked from elastic/kibana
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Otel collector mappings to APM agent #6
Merged
Merged
Changes from all commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
03a86d9
'dependency metadata' mappings
miloszmarcinkowski 2e97e81
'dependency spans' mapping
miloszmarcinkowski a6244f5
`span` mappings
miloszmarcinkowski cb9f1d4
`span links` mappings
miloszmarcinkowski 0b86fc2
replace field keys with TS constants
miloszmarcinkowski f54e2b3
'transaction' mapping
miloszmarcinkowski 37dd831
'trace items' mappings
miloszmarcinkowski 8e55406
'error group main statistics' mapping
miloszmarcinkowski 0cabafb
'error sample details' mapping
miloszmarcinkowski f5e627c
'service metadata' mapping
miloszmarcinkowski c52ddfd
'metadata and service version' mappings
miloszmarcinkowski e77d9a4
'service agent name' mappings
miloszmarcinkowski f8f9b78
add fields to Span mapping
miloszmarcinkowski 3eac633
remove unused properties in Span mapping
miloszmarcinkowski d467a38
improve name consistency in mapping functions
miloszmarcinkowski ac07c73
remove unused fields from 'service instance metadata details'
miloszmarcinkowski 8666c00
add check against undefined
miloszmarcinkowski 06545b5
added span-link normalization and fixed errors in getTransaction
bryce-b a08ef93
fix service metadata endpoints
bryce-b f156559
PR feedback fix
bryce-b 2ef8527
added mapping for metadata_details
bryce-b 004f587
fixed kubernetes check in metadata mappings
bryce-b 354d821
use one mapping for metadata details
miloszmarcinkowski aebea67
update 'todo' and processor_name typo
miloszmarcinkowski 3f99bae
Merge branch '192749-refactor-the-normalize-function-into-per-data-st…
miloszmarcinkowski b4c5a95
Merge pull request #2 from bryce-b/192749-refactor-the-normalize-func…
miloszmarcinkowski 9d040cf
Merge remote-tracking branch 'jennypavlova/192606-poc-otel-data-with-…
miloszmarcinkowski e4fac40
add `container` mapping
miloszmarcinkowski 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
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.
If this returns APMError, special care will need to be taken. I'm not sure that
fields
is capable of returning fields fromerror.exception.stacktrace
. We may have to depend on _source in this situation.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.
Here's an example query for demonstration.
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.
I don't know if that's even a problem since we
Pick
onlyobserver
property from the type when doing assertion. And, this is the only usage as far I can see: https://github.com/jennypavlova/kibana/pull/6/files/f52184082c369d7f63e03b250d0a09c212644f48#diff-8c8160096093f32c6f9dd260780403b55fe20f94f2c99de76cc9d54c872cb4e8R701I'm not entirely sure why we assert type to
Transaction | Span | APMError
. I couldn't even find a way to trigger this code on my local environment. That's why I lefttodo
comment to double-check it later, but I think I'm out of ideas here. Do you have any suggestion?