mirror of
https://github.com/elastic/kibana.git
synced 2025-06-28 11:05:39 -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"
|
echo "Looking for JOURNEY=${JOURNEY_NAME} and BUILD_ID=${BUILD_ID} in APM traces"
|
||||||
|
|
||||||
node scripts/extract_performance_testing_dataset \
|
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}" \
|
--buildId "${BUILD_ID}" \
|
||||||
--es-url "${ES_SERVER_URL}" \
|
--es-url "${ES_SERVER_URL}" \
|
||||||
--es-username "${USER_FROM_VAULT}" \
|
--es-username "${USER_FROM_VAULT}" \
|
||||||
|
|
|
@ -62,7 +62,7 @@ export interface SpanDocument extends Omit<Document, 'transaction'> {
|
||||||
export interface TransactionDocument extends Omit<Document, 'service'> {
|
export interface TransactionDocument extends Omit<Document, 'service'> {
|
||||||
service: { name: string; environment: string; version: string };
|
service: { name: string; environment: string; version: string };
|
||||||
processor: string;
|
processor: string;
|
||||||
url: { path: string };
|
url: { path: string; query?: string };
|
||||||
http: {
|
http: {
|
||||||
request: Request;
|
request: Request;
|
||||||
response: Response;
|
response: Response;
|
||||||
|
|
|
@ -62,6 +62,7 @@ export const getKibanaRequests = (
|
||||||
http: {
|
http: {
|
||||||
method: hit.http.request.method,
|
method: hit.http.request.method,
|
||||||
path: hit.url.path,
|
path: hit.url.path,
|
||||||
|
query: hit.url?.query,
|
||||||
headers: combineHeaderFieldValues(hit.http.request.headers),
|
headers: combineHeaderFieldValues(hit.http.request.headers),
|
||||||
body: payload ? JSON.stringify(strToJSON(payload)) : undefined,
|
body: payload ? JSON.stringify(strToJSON(payload)) : undefined,
|
||||||
statusCode: hit.http.response.status_code,
|
statusCode: hit.http.response.status_code,
|
||||||
|
|
|
@ -17,6 +17,7 @@ export interface Request {
|
||||||
http: {
|
http: {
|
||||||
method: string;
|
method: string;
|
||||||
path: string;
|
path: string;
|
||||||
|
query?: string;
|
||||||
headers?: { [key: string]: string };
|
headers?: { [key: string]: string };
|
||||||
params?: string;
|
params?: string;
|
||||||
body?: JSON | string;
|
body?: JSON | string;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue