-
Notifications
You must be signed in to change notification settings - Fork 457
Elasticsearch Package #1365
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
Elasticsearch Package #1365
Conversation
💚 Build Succeeded
Expand to view the summary
Build stats
Test stats 🧪
Trends 🧪 |
Pinging @elastic/integrations (Team:Integrations) |
Pinging @elastic/integrations-services (Team:Services) |
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.
Left few nit-picks to fine-tune. I guess you can pull it in and add more changes/tests in iterations.
packages/elasticsearch/manifest.yml
Outdated
title: Collect Elasticsearch ccr, cluster_stats, enrich, index, index_recovery, index_summary, ml_job, node, node_stats, pending_tasks and shard metrics | ||
description: Collecting ccr, cluster_stats, enrich, index, index_recovery, index_summary, ml_job, node, node_stats, pending_tasks and shard metrics from Elasticsearch instances |
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.
I suggest to transform it to a more human readable form and rephrase titles and descriptions :)
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.
I left simple titles now, like "Collect elasticsearch logs" or "Collect elasticsearch metrics". The description has a longer text but still human readable and I wrote some descriptions on the data_streams themselves 👍
packages/elasticsearch/manifest.yml
Outdated
license: basic | ||
categories: ["elastic_stack"] | ||
conditions: | ||
kibana.version: ^7.10.0 |
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.
Please bump up the constraint to 7.15. We don't want this package to be available for earlier versions.
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.
Okay. I wrote ^7.15.0
now, I really didn't know which was is the correct.
packages/elasticsearch/manifest.yml
Outdated
name: elasticsearch | ||
title: Elasticsearch | ||
version: 0.1.0 | ||
release: beta |
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.
maybe mark it as experimental as it's still early stage and lot of stuff to do.
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.
Oh, I read somewhere that all packages must be released as beat and that's why I changed it from experimental to beta. No prob, I revert it back to experimental.
Bump version to 7.15 Rewrite title and descriptions for logs and metrics
I have also updated the screenshot to show the changes requested |
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.
A couple of nit picks
BTW I saw that every data stream starts with "Elasticsearch ..." prefix. I'm not sure if it isn't redundant as all these data streams are only related to Elasticsearch.
@@ -0,0 +1,15 @@ | |||
type: metrics | |||
title: Elasticsearch index_recovery metrics |
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.
nit: index recovery
@@ -0,0 +1,7 @@ | |||
type: metrics | |||
title: Elasticsearch cluster_stats metrics |
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.
nit: cluster stats
Good point I was mostly following the naming of other modules I took as example. |
This PR migrates the elasticsearch filebeat and metricbeat module into a package.
I'll open it for review but I wouldn't be surprised if some thing aren't totally correct because the migration process for this particular package was very error prone with many manual steps.
Checklist
changelog.yml
file.Reviewers checklist
The migration of this package required some big amount of custom stuff, I'm gonna write it here:
_dev/build/docs/README.md
to avoid that they are rewritten during the build proccess. This means they'll need to be updated manually.Screenshots