mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
# Backport This will backport the following commits from `main` to `8.x`: - [Fix APM URLs in doc link service (#215261)](https://github.com/elastic/kibana/pull/215261) <!--- Backport version: 9.6.6 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Lisa Cawley","email":"lcawley@elastic.co"},"sourceCommit":{"committedDate":"2025-03-20T09:00:12Z","message":"Fix APM URLs in doc link service (#215261)","sha":"dcbefc3b27fc6733d0776ad371f5b2e4b0ad9e6e","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Docs","release_note:skip","docs","backport:version","v9.1.0","v8.19.0","v8.18.1","v9.0.1"],"title":"Fix APM URLs in doc link service","number":215261,"url":"https://github.com/elastic/kibana/pull/215261","mergeCommit":{"message":"Fix APM URLs in doc link service (#215261)","sha":"dcbefc3b27fc6733d0776ad371f5b2e4b0ad9e6e"}},"sourceBranch":"main","suggestedTargetBranches":["8.x","8.18","9.0"],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/215261","number":215261,"mergeCommit":{"message":"Fix APM URLs in doc link service (#215261)","sha":"dcbefc3b27fc6733d0776ad371f5b2e4b0ad9e6e"}},{"branch":"8.x","label":"v8.19.0","branchLabelMappingKey":"^v8.19.0$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.18","label":"v8.18.1","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"9.0","label":"v9.0.1","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Lisa Cawley <lcawley@elastic.co>
This commit is contained in:
parent
e7d1c9215e
commit
b6e09a83f7
1 changed files with 11 additions and 10 deletions
|
@ -32,7 +32,6 @@ export const getDocLinks = ({ kibanaBranch, buildFlavor }: GetDocLinkOptions): D
|
|||
const INTEGRATIONS_DEV_DOCS = `${ELASTIC_WEBSITE_URL}guide/en/integrations-developer/current/`;
|
||||
const PLUGIN_DOCS = `${ELASTIC_WEBSITE_URL}guide/en/elasticsearch/plugins/${DOC_LINK_VERSION}/`;
|
||||
const OBSERVABILITY_DOCS = `${ELASTIC_WEBSITE_URL}guide/en/observability/${DOC_LINK_VERSION}/`;
|
||||
const APM_DOCS = `${ELASTIC_WEBSITE_URL}guide/en/apm/`;
|
||||
const SECURITY_SOLUTION_DOCS = `${ELASTIC_WEBSITE_URL}guide/en/security/${DOC_LINK_VERSION}/`;
|
||||
const APP_SEARCH_DOCS = `${ELASTIC_WEBSITE_URL}guide/en/app-search/${DOC_LINK_VERSION}/`;
|
||||
const ENTERPRISE_SEARCH_DOCS = `${ELASTIC_WEBSITE_URL}guide/en/enterprise-search/${DOC_LINK_VERSION}/`;
|
||||
|
@ -63,22 +62,22 @@ export const getDocLinks = ({ kibanaBranch, buildFlavor }: GetDocLinkOptions): D
|
|||
customLinks: isServerless
|
||||
? `${SERVERLESS_DOCS}observability-apm-create-custom-links.html`
|
||||
: `${KIBANA_DOCS}custom-links.html`,
|
||||
droppedTransactionSpans: `${APM_DOCS}guide/${DOC_LINK_VERSION}/data-model-spans.html#data-model-dropped-spans`,
|
||||
upgrading: `${APM_DOCS}guide/${DOC_LINK_VERSION}/upgrade.html`,
|
||||
metaData: `${APM_DOCS}guide/${DOC_LINK_VERSION}/data-model-metadata.html`,
|
||||
overview: `${APM_DOCS}guide/${DOC_LINK_VERSION}/apm-overview.html`,
|
||||
droppedTransactionSpans: `${OBSERVABILITY_DOCS}apm-data-model-spans.html#apm-data-model-dropped-spans`,
|
||||
upgrading: `${OBSERVABILITY_DOCS}apm-upgrade.html`,
|
||||
metaData: `${OBSERVABILITY_DOCS}apm-data-model-metadata.html`,
|
||||
overview: `${OBSERVABILITY_DOCS}apm.html`,
|
||||
tailSamplingPolicies: isServerless
|
||||
? `${SERVERLESS_DOCS}observability-apm-transaction-sampling.html`
|
||||
: `${OBSERVABILITY_DOCS}configure-tail-based-sampling.html`,
|
||||
elasticAgent: `${APM_DOCS}guide/${DOC_LINK_VERSION}/upgrade-to-apm-integration.html`,
|
||||
elasticAgent: `${OBSERVABILITY_DOCS}/apm-upgrade-to-apm-integration.html`,
|
||||
storageExplorer: `${KIBANA_DOCS}storage-explorer.html`,
|
||||
spanCompression: isServerless
|
||||
? `${SERVERLESS_DOCS}observability-apm-compress-spans.html`
|
||||
: `${OBSERVABILITY_DOCS}span-compression.html`,
|
||||
: `${OBSERVABILITY_DOCS}apm-data-model-spans.html#apm-spans-span-compression`,
|
||||
transactionSampling: isServerless
|
||||
? `${SERVERLESS_DOCS}observability-apm-transaction-sampling.html`
|
||||
: `${OBSERVABILITY_DOCS}sampling.html`,
|
||||
indexLifecycleManagement: `${APM_DOCS}guide/${DOC_LINK_VERSION}/ilm-how-to.html`,
|
||||
indexLifecycleManagement: `${OBSERVABILITY_DOCS}apm-ilm-how-to.html`,
|
||||
},
|
||||
canvas: {
|
||||
guide: `${KIBANA_DOCS}canvas.html`,
|
||||
|
@ -88,7 +87,9 @@ export const getDocLinks = ({ kibanaBranch, buildFlavor }: GetDocLinkOptions): D
|
|||
indexManagement: `${ELASTIC_WEBSITE_URL}guide/en/cloud/current/ec-configure-index-management.html`,
|
||||
},
|
||||
console: {
|
||||
guide: `${KIBANA_DOCS}console-kibana.html`,
|
||||
guide: isServerless
|
||||
? `${SERVERLESS_DOCS}devtools-run-api-requests-in-the-console.html`
|
||||
: `${KIBANA_DOCS}console-kibana.html`,
|
||||
serverlessGuide: `${SERVERLESS_DOCS}devtools-run-api-requests-in-the-console.html`,
|
||||
},
|
||||
dashboard: {
|
||||
|
@ -333,7 +334,7 @@ export const getDocLinks = ({ kibanaBranch, buildFlavor }: GetDocLinkOptions): D
|
|||
mapping: `${ELASTICSEARCH_DOCS}runtime-mapping-fields.html`,
|
||||
},
|
||||
scriptedFields: {
|
||||
scriptFields: `${ELASTICSEARCH_DOCS}search-request-script-fields.html`,
|
||||
scriptFields: `${ELASTICSEARCH_DOCS}search-fields.html#script-fields`,
|
||||
scriptAggs: `${ELASTICSEARCH_DOCS}search-aggregations.html`,
|
||||
painless: `${ELASTICSEARCH_DOCS}modules-scripting-painless.html`,
|
||||
painlessApi: `${ELASTIC_WEBSITE_URL}guide/en/elasticsearch/painless/${DOC_LINK_VERSION}/painless-api-reference.html`,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue