Skip to content

Commit

Permalink
[Onboarding] Add tech preview badges to onboarding flows (elastic#196926
Browse files Browse the repository at this point in the history
)

## Summary
Adds Tech Preview badges for the following flows:

- Auto-detect Integrations with Elastic Agent (Tile + Page)
- Kubernetes monitoring with Elastic Agent (Tile + Page)
- Host monitoring with EDOT Collector (Tile)

### Auto-detect flow
#### Tile

<img width="394" alt="image"
src="https://github.com/user-attachments/assets/b7bb75c0-4930-4294-bb25-7e44c4724cab">

#### Page
<img width="1218" alt="image"
src="https://github.com/user-attachments/assets/590f7999-579d-4b14-ae69-d726bf194948">

### Kubernetes monitoring with EA
#### Tile
<img width="393" alt="image"
src="https://github.com/user-attachments/assets/e8ddca06-5907-46f8-bddc-d5ef42a03a71">

#### Page
<img width="1219" alt="image"
src="https://github.com/user-attachments/assets/4936656e-e4b6-4b7e-821f-c3dd80529177">

### Host monitoring (OTel)
#### Tile
<img width="390" alt="image"
src="https://github.com/user-attachments/assets/7820fdb1-b119-48f3-8450-bbafcf81da6a">

---------

Co-authored-by: Joe Reuter <johannes.reuter@elastic.co>
  • Loading branch information
gbamparop and flash1293 authored Oct 21, 2024
1 parent 2d744ff commit d7e48fd
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,12 @@ export function useCustomCardsForCategory(
}
),
extraLabelsBadges: [
<EuiFlexItem grow={false}>
<ExtraLabelBadgeWrapper>
<LogoIcon logo="apple" size="m" />
</EuiFlexItem>,
<EuiFlexItem grow={false}>
</ExtraLabelBadgeWrapper>,
<ExtraLabelBadgeWrapper>
<LogoIcon logo="linux" size="m" />
</EuiFlexItem>,
</ExtraLabelBadgeWrapper>,
],
categories: ['observability'],
icons: [
Expand All @@ -79,6 +79,7 @@ export function useCustomCardsForCategory(
version: '',
integration: '',
isQuickstart: true,
release: 'preview',
},
{
id: 'otel-logs',
Expand All @@ -98,12 +99,12 @@ export function useCustomCardsForCategory(
}
),
extraLabelsBadges: [
<EuiFlexItem grow={false}>
<ExtraLabelBadgeWrapper>
<LogoIcon logo="apple" size="m" />
</EuiFlexItem>,
<EuiFlexItem grow={false}>
</ExtraLabelBadgeWrapper>,
<ExtraLabelBadgeWrapper>
<LogoIcon logo="linux" size="m" />
</EuiFlexItem>,
</ExtraLabelBadgeWrapper>,
],
categories: ['observability'],
icons: [
Expand All @@ -116,6 +117,7 @@ export function useCustomCardsForCategory(
version: '',
integration: '',
isQuickstart: true,
release: 'preview',
},
];

Expand All @@ -139,9 +141,9 @@ export function useCustomCardsForCategory(
}
),
extraLabelsBadges: [
<EuiFlexItem grow={false}>
<ExtraLabelBadgeWrapper>
<LogoIcon logo="kubernetes" size="m" />
</EuiFlexItem>,
</ExtraLabelBadgeWrapper>,
],
categories: ['observability'],
icons: [
Expand All @@ -154,6 +156,7 @@ export function useCustomCardsForCategory(
version: '',
integration: '',
isQuickstart: true,
release: 'preview',
},
{
id: 'otel-kubernetes',
Expand All @@ -173,9 +176,9 @@ export function useCustomCardsForCategory(
}
),
extraLabelsBadges: [
<EuiFlexItem grow={false}>
<ExtraLabelBadgeWrapper>
<LogoIcon logo="kubernetes" size="m" />
</EuiFlexItem>,
</ExtraLabelBadgeWrapper>,
],
categories: ['observability'],
icons: [
Expand Down Expand Up @@ -356,3 +359,11 @@ export function useCustomCardsForCategory(
return undefined;
}
}

function ExtraLabelBadgeWrapper({ children }: { children: React.ReactNode }) {
return (
<EuiFlexItem grow={false} css={{ alignSelf: 'center' }}>
{children}
</EuiFlexItem>
);
}
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ export const AutoDetectPage = () => (
'This installation scans your host and auto-detects log and metric files.',
}
)}
isTechnicalPreview={true}
/>
}
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ export const KubernetesPage = () => (
'This installation is tailored for configuring and collecting metrics and logs by deploying a new Elastic Agent within your host.',
}
)}
isTechnicalPreview={true}
/>
}
>
Expand Down

0 comments on commit d7e48fd

Please sign in to comment.