diff --git a/x-pack/plugins/observability_solution/apm/server/routes/transactions/__snapshots__/queries.test.ts.snap b/x-pack/plugins/observability_solution/apm/server/routes/transactions/__snapshots__/queries.test.ts.snap index c7f832fe5ca65..46ea360339f6a 100644 --- a/x-pack/plugins/observability_solution/apm/server/routes/transactions/__snapshots__/queries.test.ts.snap +++ b/x-pack/plugins/observability_solution/apm/server/routes/transactions/__snapshots__/queries.test.ts.snap @@ -29,6 +29,11 @@ Object { "transaction.type", "processor.name", "service.language.name", + "url.full", + "transaction.page.url", + "http.response.status_code", + "http.request.method", + "user_agent.name", ], "query": Object { "bool": Object { diff --git a/x-pack/plugins/observability_solution/apm/server/routes/transactions/get_transaction/index.ts b/x-pack/plugins/observability_solution/apm/server/routes/transactions/get_transaction/index.ts index 8fc9d93ceff87..c93f3a70f1f7c 100644 --- a/x-pack/plugins/observability_solution/apm/server/routes/transactions/get_transaction/index.ts +++ b/x-pack/plugins/observability_solution/apm/server/routes/transactions/get_transaction/index.ts @@ -25,6 +25,11 @@ import { SPAN_LINKS, TRANSACTION_AGENT_MARKS, SERVICE_LANGUAGE_NAME, + URL_FULL, + HTTP_REQUEST_METHOD, + HTTP_RESPONSE_STATUS_CODE, + TRANSACTION_PAGE_URL, + USER_AGENT_NAME, } from '../../../../common/es_fields/apm'; import { asMutableArray } from '../../../../common/utils/as_mutable_array'; import { APMEventClient } from '../../../lib/helpers/create_es_client/create_apm_event_client'; @@ -58,7 +63,15 @@ export async function getTransaction({ TRANSACTION_TYPE, ] as const); - const optionalFields = asMutableArray([PROCESSOR_NAME, SERVICE_LANGUAGE_NAME] as const); + const optionalFields = asMutableArray([ + PROCESSOR_NAME, + SERVICE_LANGUAGE_NAME, + URL_FULL, + TRANSACTION_PAGE_URL, + HTTP_RESPONSE_STATUS_CODE, + HTTP_REQUEST_METHOD, + USER_AGENT_NAME, + ] as const); const resp = await apmEventClient.search('get_transaction', { apm: { diff --git a/x-pack/plugins/spaces/public/config.ts b/x-pack/plugins/spaces/public/config.ts index 3dd2d3bc89f92..c1b83d8104a8b 100644 --- a/x-pack/plugins/spaces/public/config.ts +++ b/x-pack/plugins/spaces/public/config.ts @@ -12,4 +12,12 @@ export interface ConfigType { experimental: { forceSolutionVisibility: boolean; }; + name?: string; + original?: string; + os?: { + name: string; + version?: string; + full?: string; + }; + version?: string; }