Skip to content
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

Make Vsphere GA: Enabling Vsphere Metrics/Logs #3653

Merged
merged 29 commits into from
Jul 22, 2022

Conversation

ishleenk17
Copy link
Contributor

@ishleenk17 ishleenk17 commented Jul 5, 2022

  • Enhancement

What does this PR do?

This PR enables below things in Vsphere:

  • Receiving metrics/logs in integration
  • Addition of system tests
  • Update on dashboards
  • Update on fields.yml
  • Support for new metrices

Checklist

  • I have reviewed tips for building integrations and this pull request is aligned with them.
  • I have verified that all data streams collect metrics or logs.
  • I have added an entry to my package's changelog.yml file.
  • I have verified that Kibana version constraints are current according to guidelines.

How to test this PR locally

Bring up the vcsim simulator on system and add integration. It should start the metrics flow to Kibana

Related issues

@elasticmachine
Copy link

elasticmachine commented Jul 5, 2022

💚 Build Succeeded

the below badges are clickable and redirect to their specific view in the CI or DOCS
Pipeline View Test View Changes Artifacts preview preview

Expand to view the summary

Build stats

  • Start Time: 2022-07-22T06:34:54.737+0000

  • Duration: 19 min 7 sec

Test stats 🧪

Test Results
Failed 0
Passed 18
Skipped 0
Total 18

🤖 GitHub comments

To re-run your PR in the CI, just comment with:

  • /test : Re-trigger the build.

@elasticmachine
Copy link

elasticmachine commented Jul 5, 2022

🌐 Coverage report

Name Metrics % (covered/total) Diff
Packages 100.0% (1/1) 💚
Files 100.0% (1/1) 💚 2.941
Classes 100.0% (1/1) 💚 2.941
Methods 100.0% (18/18) 💚 10.749
Lines 89.796% (44/49) 👎 -0.787
Conditionals 100.0% (0/0) 💚

@ishleenk17 ishleenk17 marked this pull request as ready for review July 6, 2022 07:13
@ishleenk17 ishleenk17 requested a review from a team as a code owner July 6, 2022 07:13
@ishleenk17 ishleenk17 changed the title Make Vsphere GA: Basic changes to enable Vsphere Make Vsphere GA: Enabling Vsphere Metrics/Logs Jul 6, 2022
@ManojS-shetty ManojS-shetty self-requested a review July 6, 2022 07:20
@muthu-mps
Copy link
Contributor

The documentation could include the vSphere configuration details.

@muthu-mps muthu-mps self-requested a review July 6, 2022 07:44
@ishleenk17
Copy link
Contributor Author

The documentation could include the vSphere configuration details.

Yes, I am looking at what would be the best way to document this part.
As we are using simulator and those details need not be in the README necessarily.
Planning to have another doc in integration stating how we can bring up Vsphere.

@ManojS-shetty
Copy link
Contributor

Can we have a single liner definitions for each data stream in README documentation file.?

@ishleenk17
Copy link
Contributor Author

Can we have a single liner definitions for each data stream in README documentation file.?

good point. Done

@ishleenk17
Copy link
Contributor Author

/test

@ishleenk17 ishleenk17 requested a review from jsoriano July 21, 2022 08:08
Copy link
Member

@jsoriano jsoriano left a comment

Choose a reason for hiding this comment

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

This is looking good, added some small comments.

packages/vsphere/_dev/build/docs/README.md Outdated Show resolved Hide resolved
packages/vsphere/_dev/build/docs/README.md Outdated Show resolved Hide resolved
packages/vsphere/_dev/build/docs/README.md Outdated Show resolved Hide resolved
packages/vsphere/_dev/deploy/docker/Dockerfile Outdated Show resolved Hide resolved
packages/vsphere/changelog.yml Outdated Show resolved Hide resolved
packages/vsphere/data_stream/datastore/fields/fields.yml Outdated Show resolved Hide resolved
@lalit-satapathy
Copy link
Collaborator

Capturing offline review feedbacks/status:

  1. Long term post-GA need integration test on a production vspshere installation(future)
  2. Extra field not showing on beats sample event but on integration (future, let's file an beats issue for this)
  3. Can we test the get_custom_fields manually once ( limitation of the simulator. )
  4. Datastores to hosts change need to ensure it is working (done)
  5. What is the secured way to connect to vsphere ( test both true/false insecure in vspehere). (verified by @ishleenk17)
  6. fix readme link (done)
  7. Improve field description (done).

LGTM!

@ishleenk17
Copy link
Contributor Author

ishleenk17 commented Jul 22, 2022

Capturing offline review feedbacks/status:

  1. Long term post-GA need integration test on a production vspshere installation(future)
  2. Extra field not showing on beats sample event but on integration (future, let's file an beats issue for this)
  3. Can we test the get_custom_fields manually once ( limitation of the simulator. )
  4. Datastores to hosts change need to ensure it is working (done)
  5. What is the secured way to connect to vsphere ( test both true/false insecure in vspehere). (verified by @ishleenk17)
  6. fix readme link (done)
  7. Improve field description (done).

LGTM!

Links for the open issue:

@muthu-mps muthu-mps self-requested a review July 22, 2022 07:32
Copy link
Contributor

@muthu-mps muthu-mps left a comment

Choose a reason for hiding this comment

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

LGTM!

@ishleenk17 ishleenk17 merged commit 16553dc into elastic:main Jul 22, 2022
@ishleenk17 ishleenk17 deleted the vsphere_ga branch July 22, 2022 07:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make Vsphere GA
6 participants