mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
[APM] fix object path for request url in sample transaction (#28901)
* fixes #28899 by using the correct object path to the url `transaction.context.request.url.full` * [APM] fixed IStickeyProperty.val to be stricter to prevent this bug from happening again
This commit is contained in:
parent
4ed3e37690
commit
93930326de
2 changed files with 2 additions and 2 deletions
|
@ -33,7 +33,7 @@ export function StickyTransactionProperties({
|
|||
|
||||
const url =
|
||||
idx(transaction, _ => _.context.page.url) ||
|
||||
idx(transaction, _ => _.context.request.url) ||
|
||||
idx(transaction, _ => _.context.request.url.full) ||
|
||||
'N/A';
|
||||
const duration = transaction.transaction.duration.us;
|
||||
const stickyProperties: IStickyProperty[] = [
|
||||
|
|
|
@ -21,7 +21,7 @@ import {
|
|||
} from '../../../style/variables';
|
||||
|
||||
export interface IStickyProperty {
|
||||
val: React.ReactNode | Date;
|
||||
val: JSX.Element | string | Date;
|
||||
label: string;
|
||||
fieldName?: string;
|
||||
width?: 0 | string;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue