mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -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
|
@ -22,7 +22,7 @@ for i in "${scalabilityJourneys[@]}"; do
|
|||
echo "Looking for JOURNEY=${JOURNEY_NAME} and BUILD_ID=${BUILD_ID} in APM traces"
|
||||
|
||||
node scripts/extract_performance_testing_dataset \
|
||||
--config "x-pack/test/performance/journeys/${i}/config.ts" \ \
|
||||
--config "x-pack/test/performance/journeys/${i}/config.ts" \
|
||||
--buildId "${BUILD_ID}" \
|
||||
--es-url "${ES_SERVER_URL}" \
|
||||
--es-username "${USER_FROM_VAULT}" \
|
||||
|
|
|
@ -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