Skip to content

Add Elasticsearch Serverless Forwarder to integrations UI#130085

Merged
sayden merged 8 commits intoelastic:mainfrom
sayden:add_esf_to_integrations_ui
May 11, 2022
Merged

Add Elasticsearch Serverless Forwarder to integrations UI#130085
sayden merged 8 commits intoelastic:mainfrom
sayden:add_esf_to_integrations_ui

Conversation

@sayden
Copy link
Copy Markdown
Contributor

@sayden sayden commented Apr 13, 2022

Summary

Add a new tile into the Integrations UI for Elasticsearch Serverless Forwarder for AWS.

I actually have no idea of how to add a new tile so I'm trying to figure it out by grepping here and there for references.

Checklist

Delete any items that are not applicable to this PR.

image

@francescayeye
Copy link
Copy Markdown

@sayden any progress on this?

@sayden
Copy link
Copy Markdown
Contributor Author

sayden commented Apr 28, 2022

@sayden any progress on this?

Nope, do you want to take it over? If so, happy to help 🙂

@sayden sayden force-pushed the add_esf_to_integrations_ui branch from 57a7445 to 411309a Compare April 28, 2022 18:55
@sayden sayden marked this pull request as ready for review April 29, 2022 23:11
@sayden sayden added the release_note:skip Skip the PR/issue when compiling release notes label May 3, 2022
@sayden
Copy link
Copy Markdown
Contributor Author

sayden commented May 3, 2022

@elasticmachine merge upstream

@andresrc
Copy link
Copy Markdown

@elasticmachine merge upstream

@andresrc
Copy link
Copy Markdown

@elastic/fleet can anyone take a look to this PR? Thanks

'Collect logs using AWS Lambda application available in AWS Serverless Application Repository.',
type: 'ui_link',
shipper: 'placeholders',
uiInternalPath:
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we probably need to add a new field to the the integration as internal path seems not correct here, uiExternalLink or something like this

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm glad that you look into this because that's something I would not see myself so clearly in this repo 😅 Let me see 😉

@nchaulet
Copy link
Copy Markdown
Member

I am kind of confused by the name placeholder here what do you think of something like externalIntegration or other?

@sayden
Copy link
Copy Markdown
Contributor Author

sayden commented May 10, 2022

I am kind of confused by the name placeholder here what do you think of something like externalIntegration or other?

Yeap! Sounds good!

@sayden sayden requested a review from a team as a code owner May 11, 2022 14:52
@botelastic botelastic bot added the Team:Fleet Team label for Observability Data Collection Fleet team label May 11, 2022
@sayden
Copy link
Copy Markdown
Contributor Author

sayden commented May 11, 2022

Okay I pushed some changes to add a new field called uiExternalLink and I have done my best attempt into adding the required functionality without touching too much.

But I can still change something if this is not very idiomatic for Kibana or something

Thanks for the help Nicolas 🙂

@kibana-ci
Copy link
Copy Markdown

💚 Build Succeeded

Metrics [docs]

Public APIs missing comments

Total count of every public API that lacks a comment. Target amount is 0. Run node scripts/build_api_docs --plugin [yourplugin] --stats comments for more detailed information.

id before after diff
customIntegrations 79 82 +3

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
fleet 704.3KB 704.3KB +18.0B

Page load bundle

Size of the bundles that are downloaded on every page load. Target size is below 100kb

id before after diff
customIntegrations 6.2KB 6.2KB +34.0B
Unknown metric groups

API count

id before after diff
customIntegrations 98 101 +3

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

cc @sayden

Copy link
Copy Markdown
Member

@nchaulet nchaulet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me 🚀

@sayden sayden merged commit 34e51a6 into elastic:main May 11, 2022
@kibanamachine kibanamachine added the backport:skip This PR does not require backporting label May 11, 2022
@sayden sayden added auto-backport Deprecated - use backport:version if exact versions are needed and removed backport:skip This PR does not require backporting labels May 11, 2022
@kibanamachine kibanamachine added the backport:skip This PR does not require backporting label May 11, 2022
@kibanamachine
Copy link
Copy Markdown
Contributor

⚪ Backport skipped

The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.

Manual backport

To create the backport manually run:

node scripts/backport --pr 130085

Questions ?

Please refer to the Backport tool documentation

@francescayeye
Copy link
Copy Markdown

@nchaulet

@ravikesarwani asked if it's possible to backport this to 7.17 (elastic/elastic-serverless-forwarder#100 (comment))

any blocker on Kibana side?

thanks

@nchaulet
Copy link
Copy Markdown
Member

I do not think there is any blocker in Kibana side to backport this to 7.17

@francescayeye
Copy link
Copy Markdown

francescayeye commented Jun 2, 2022

great @nchaulet thanks

I will proceed with the manual backport then
what's the backport label that I have to add?

francescayeye pushed a commit to francescayeye/kibana that referenced this pull request Jun 3, 2022
…0085)

(cherry picked from commit 34e51a6)

# Conflicts:
#	test/api_integration/apis/custom_integration/integrations.ts
francescayeye pushed a commit to francescayeye/kibana that referenced this pull request Jun 3, 2022
…0085)

(cherry picked from commit 34e51a6)

# Conflicts:
#	test/api_integration/apis/custom_integration/integrations.ts
@francescayeye
Copy link
Copy Markdown

💚 All backports created successfully

Status Branch Result
8.2
7.17

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation

francescayeye pushed a commit that referenced this pull request Jun 3, 2022
) (#133468)

* Add Elasticsearch Serverless Forwarder to integrations UI (#130085)

(cherry picked from commit 34e51a6)

# Conflicts:
#	test/api_integration/apis/custom_integration/integrations.ts

* properly fix conflict

* fix import CoreSetup

Co-authored-by: Mario Castro <mariocaster@gmail.com>
francescayeye pushed a commit that referenced this pull request Jun 3, 2022
…0085) (#133477)

* Add Elasticsearch Serverless Forwarder to integrations UI (#130085)

(cherry picked from commit 34e51a6)

# Conflicts:
#	test/api_integration/apis/custom_integration/integrations.ts

* fix import CoreSetup

Co-authored-by: Mario Castro <mariocaster@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-backport Deprecated - use backport:version if exact versions are needed backport:skip This PR does not require backporting release_note:skip Skip the PR/issue when compiling release notes Team:Fleet Team label for Observability Data Collection Fleet team Team:Integrations Team Label for Observability Integrations team v8.3.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants