mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-08-14 06:45:59 +08:00
Merge pull request #1000 from palash-signoz/984-updated-response
feat: httpCode and httpStatus is updated to statusCode and method
This commit is contained in:
commit
9a6bcaadf8
@ -44,7 +44,7 @@ function TraceTable(): JSX.Element {
|
||||
};
|
||||
|
||||
const getHttpMethodOrStatus = (
|
||||
value: TableType['httpMethod'],
|
||||
value: TableType['statusCode'],
|
||||
): JSX.Element => {
|
||||
if (value.length === 0) {
|
||||
return <Typography>-</Typography>;
|
||||
@ -90,14 +90,14 @@ function TraceTable(): JSX.Element {
|
||||
},
|
||||
{
|
||||
title: 'Method',
|
||||
dataIndex: 'httpMethod',
|
||||
key: 'httpMethod',
|
||||
dataIndex: 'method',
|
||||
key: 'method',
|
||||
render: getHttpMethodOrStatus,
|
||||
},
|
||||
{
|
||||
title: 'Status Code',
|
||||
dataIndex: 'httpCode',
|
||||
key: 'httpCode',
|
||||
dataIndex: 'statusCode',
|
||||
key: 'statusCode',
|
||||
render: getHttpMethodOrStatus,
|
||||
},
|
||||
];
|
||||
|
@ -40,8 +40,8 @@ interface SpansAggregateData {
|
||||
serviceName: string;
|
||||
operation: string;
|
||||
durationNano: number;
|
||||
httpCode: string;
|
||||
httpMethod: string;
|
||||
statusCode: string;
|
||||
method: string;
|
||||
}
|
||||
|
||||
export interface Tags {
|
||||
|
Loading…
x
Reference in New Issue
Block a user