Skip to content

Commit

Permalink
[8.13] [Search] Add telemetry API key button (elastic#178665) (elasti…
Browse files Browse the repository at this point in the history
…c#178710)

# Backport

This will backport the following commits from `main` to `8.13`:
- [[Search] Add telemetry API key button
(elastic#178665)](elastic#178665)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Sander
Philipse","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-03-14T11:40:50Z","message":"[Search]
Add telemetry API key button (elastic#178665)\n\n## Summary\r\n\r\nThis adds a
telemetry ID to the generate API key button for
connectors.","sha":"e46ddb1a5f3dd6c03d9aaab2c21163c9fe0326d0","branchLabelMapping":{"^v8.14.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:EnterpriseSearch","v8.13.0","v8.14.0"],"title":"[Search]
Add telemetry API key
button","number":178665,"url":"https://github.com/elastic/kibana/pull/178665","mergeCommit":{"message":"[Search]
Add telemetry API key button (elastic#178665)\n\n## Summary\r\n\r\nThis adds a
telemetry ID to the generate API key button for
connectors.","sha":"e46ddb1a5f3dd6c03d9aaab2c21163c9fe0326d0"}},"sourceBranch":"main","suggestedTargetBranches":["8.13"],"targetPullRequestStates":[{"branch":"8.13","label":"v8.13.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.14.0","branchLabelMappingKey":"^v8.14.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/178665","number":178665,"mergeCommit":{"message":"[Search]
Add telemetry API key button (elastic#178665)\n\n## Summary\r\n\r\nThis adds a
telemetry ID to the generate API key button for
connectors.","sha":"e46ddb1a5f3dd6c03d9aaab2c21163c9fe0326d0"}}]}]
BACKPORT-->

Co-authored-by: Sander Philipse <[email protected]>
  • Loading branch information
kibanamachine and sphilipse authored Mar 14, 2024
1 parent d04713a commit 4c90aec
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ export const ApiKeyConfig: React.FC<{
onClick={clickGenerateApiKey}
isLoading={status === Status.LOADING}
isDisabled={indexName.length === 0}
data-telemetry-id="entSearch-content-connector-generateApiKeyButton"
>
{i18n.translate(
'xpack.enterpriseSearch.content.indices.configurationConnector.apiKey.button.label',
Expand All @@ -172,7 +173,12 @@ export const ApiKeyConfig: React.FC<{
<>
<EuiSpacer />
<EuiFlexItem>
<ApiKey apiKey={data?.encoded} label="API Key" />
<ApiKey
apiKey={data?.encoded}
label={i18n.translate('xpack.enterpriseSearch.apiKeyConfig.apiKey.apiKeyLabel', {
defaultMessage: 'API Key',
})}
/>
</EuiFlexItem>
</>
)}
Expand Down

0 comments on commit 4c90aec

Please sign in to comment.