Skip to content

Commit

Permalink
Client.ip to metadata for RUM transactions (#56546) (#57076)
Browse files Browse the repository at this point in the history
* Started on changes for adding clientIP. Cloned host ID section and replaced with client.

* added client section to show clientIP

Co-authored-by: Elastic Machine <[email protected]>

Co-authored-by: Brittany Joiner <[email protected]>
Co-authored-by: Elastic Machine <[email protected]>
  • Loading branch information
3 people authored Feb 18, 2020
1 parent 92013f5 commit beab1d0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import {
LABELS,
HTTP,
HOST,
CLIENT,
CONTAINER,
SERVICE,
PROCESS,
Expand All @@ -27,6 +28,7 @@ export const TRANSACTION_METADATA_SECTIONS: Section[] = [
TRANSACTION,
HTTP,
HOST,
CLIENT,
CONTAINER,
SERVICE,
PROCESS,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,14 @@ export const HOST: Section = {
})
};

export const CLIENT: Section = {
key: 'client',
label: i18n.translate('xpack.apm.metadataTable.section.clientLabel', {
defaultMessage: 'Client'
}),
properties: ['ip']
};

export const CONTAINER: Section = {
key: 'container',
label: i18n.translate('xpack.apm.metadataTable.section.containerLabel', {
Expand Down

0 comments on commit beab1d0

Please sign in to comment.