-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature] Auto trigger schema setup in assets creation flow of get started page #2200
[Feature] Auto trigger schema setup in assets creation flow of get started page #2200
Conversation
}); | ||
|
||
if (checkedCollector !== undefined) { | ||
if (checkedCollector.value === 'otel') { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My PR adjust the otel value to be broken into the three different paths 'otelLogs' , 'otelMetrics' and 'otelTraces' which will all have slightly different templates to push.
Signed-off-by: sumukhswamy <[email protected]>
Signed-off-by: sumukhswamy <[email protected]>
Signed-off-by: Eric <[email protected]>
Signed-off-by: Eric <[email protected]>
0c9a3ca
to
dc1bc56
Compare
Signed-off-by: Eric <[email protected]>
public/components/getting_started/components/getting_started_collectData.tsx
Outdated
Show resolved
Hide resolved
Signed-off-by: Eric <[email protected]>
Signed-off-by: Eric <[email protected]>
Signed-off-by: Adam Tackett <[email protected]>
can you please look at failing snapshots? |
// Auto-generate index templates based on the selected integration | ||
let templates: ICollectorIndexTemplate[] = []; | ||
if (curIntegration !== undefined) { | ||
const indexTemplateMappings = await http!.get( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are we making this call on every selection or only once? we can cache this right.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes this is actually what I was considering also for an improvement later, but this is only triggered per 'create assets' button clicked, simply clicking on different cards won't trigger this call
Signed-off-by: Eric <[email protected]>
…arted page (#2200) * updated release notes (#1997) Signed-off-by: sumukhswamy <[email protected]> * updated release notes (#1997) Signed-off-by: sumukhswamy <[email protected]> * add template creation to assests creation flow Signed-off-by: Eric <[email protected]> * adopt recent UI changes for the same flow Signed-off-by: Eric <[email protected]> * fix lint issue Signed-off-by: Eric <[email protected]> * add types Signed-off-by: Eric <[email protected]> * update snapshots Signed-off-by: Eric <[email protected]> * fix default selection between metrics / traces Signed-off-by: Adam Tackett <[email protected]> * update snapshots Signed-off-by: Eric <[email protected]> --------- Signed-off-by: sumukhswamy <[email protected]> Signed-off-by: Eric <[email protected]> Signed-off-by: Adam Tackett <[email protected]> Co-authored-by: Sumukh Swamy <[email protected]> Co-authored-by: Adam Tackett <[email protected]> (cherry picked from commit 3939809) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
…arted page (#2200) (#2203) * updated release notes (#1997) * updated release notes (#1997) * add template creation to assests creation flow * adopt recent UI changes for the same flow * fix lint issue * add types * update snapshots * fix default selection between metrics / traces * update snapshots --------- (cherry picked from commit 3939809) Signed-off-by: sumukhswamy <[email protected]> Signed-off-by: Eric <[email protected]> Signed-off-by: Adam Tackett <[email protected]> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Sumukh Swamy <[email protected]> Co-authored-by: Adam Tackett <[email protected]>
Description
Adding index template creation to existing observability assets creation flow.
Issues Resolved
[List any issues this PR will resolve]
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.