mirror of
https://github.com/elastic/kibana.git
synced 2025-06-27 18:51:07 -04:00
[kbn-performance-testing-dataset-extractor] add missing value: url.query (#140092)
This commit is contained in:
parent
99f10944c6
commit
06a3e1d501
4 changed files with 4 additions and 2 deletions
|
@ -62,7 +62,7 @@ export interface SpanDocument extends Omit<Document, 'transaction'> {
|
|||
export interface TransactionDocument extends Omit<Document, 'service'> {
|
||||
service: { name: string; environment: string; version: string };
|
||||
processor: string;
|
||||
url: { path: string };
|
||||
url: { path: string; query?: string };
|
||||
http: {
|
||||
request: Request;
|
||||
response: Response;
|
||||
|
|
|
@ -62,6 +62,7 @@ export const getKibanaRequests = (
|
|||
http: {
|
||||
method: hit.http.request.method,
|
||||
path: hit.url.path,
|
||||
query: hit.url?.query,
|
||||
headers: combineHeaderFieldValues(hit.http.request.headers),
|
||||
body: payload ? JSON.stringify(strToJSON(payload)) : undefined,
|
||||
statusCode: hit.http.response.status_code,
|
||||
|
|
|
@ -17,6 +17,7 @@ export interface Request {
|
|||
http: {
|
||||
method: string;
|
||||
path: string;
|
||||
query?: string;
|
||||
headers?: { [key: string]: string };
|
||||
params?: string;
|
||||
body?: JSON | string;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue