Skip to content

Make Vsphere GA: Enabling Vsphere Metrics/Logs - #3653

Merged
ishleenk17 merged 29 commits into
elastic:mainfrom
ishleenk17:vsphere_ga
Jul 22, 2022
Merged

Make Vsphere GA: Enabling Vsphere Metrics/Logs#3653
ishleenk17 merged 29 commits into
elastic:mainfrom
ishleenk17:vsphere_ga

Conversation

@ishleenk17

@ishleenk17 ishleenk17 commented Jul 5, 2022

Copy link
Copy Markdown
Member
  • 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

elasticmachine commented Jul 5, 2022

Copy link
Copy Markdown

💚 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

elasticmachine commented Jul 5, 2022

Copy link
Copy Markdown

🌐 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 Jul 6, 2022
@ManojS-shetty
ManojS-shetty self-requested a review July 6, 2022 07:20
Comment thread packages/vsphere/data_stream/log/sample_event.json Outdated
@muthu-mps

Copy link
Copy Markdown
Contributor

The documentation could include the vSphere configuration details.

@muthu-mps
muthu-mps self-requested a review July 6, 2022 07:44
Comment thread packages/vsphere/data_stream/datastore/fields/fields.yml
Comment thread packages/vsphere/changelog.yml Outdated
@ishleenk17

Copy link
Copy Markdown
Member 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
Copy Markdown
Contributor

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

@ishleenk17

Copy link
Copy Markdown
Member Author

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

good point. Done

Comment thread packages/vsphere/changelog.yml Outdated
Comment thread packages/vsphere/data_stream/virtualmachine/fields/fields.yml
Comment thread packages/vsphere/data_stream/virtualmachine/fields/fields.yml Outdated
Comment thread packages/vsphere/data_stream/virtualmachine/fields/fields.yml Outdated
Comment thread packages/vsphere/data_stream/virtualmachine/fields/fields.yml
@ishleenk17

Copy link
Copy Markdown
Member Author

/test

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

@jsoriano jsoriano left a comment

Copy link
Copy Markdown
Contributor

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.

Comment thread packages/vsphere/_dev/build/docs/README.md
Comment thread packages/vsphere/_dev/build/docs/README.md Outdated
Comment thread packages/vsphere/_dev/build/docs/README.md
Comment thread packages/vsphere/_dev/deploy/docker/Dockerfile Outdated
Comment thread packages/vsphere/changelog.yml Outdated
Comment thread packages/vsphere/data_stream/datastore/fields/fields.yml
Comment thread packages/vsphere/data_stream/datastore/fields/fields.yml Outdated
Comment thread packages/vsphere/data_stream/host/fields/fields.yml
Comment thread packages/vsphere/data_stream/datastore/sample_event.json
Comment thread packages/vsphere/_dev/deploy/docker/docker-compose.yml
@lalit-satapathy

Copy link
Copy Markdown
Contributor

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

ishleenk17 commented Jul 22, 2022

Copy link
Copy Markdown
Member Author

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:

Comment thread packages/vsphere/data_stream/host/fields/fields.yml Outdated
Comment thread packages/vsphere/data_stream/host/fields/fields.yml Outdated
Comment thread packages/vsphere/data_stream/virtualmachine/fields/fields.yml Outdated
@muthu-mps
muthu-mps self-requested a review July 22, 2022 07:32

@muthu-mps muthu-mps left a comment

Copy link
Copy Markdown
Contributor

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
orestisfl pushed a commit to orestisfl/integrations that referenced this pull request May 15, 2026
* Make Vsphere GA: Basic changes to enable Vsphere

* Update the fields

* update log expected file

* Having the dashboards by value

* Resolving formating issue for the dashboards

* update dashboards

* Replace beta to ga

* Addressing review comments

* Updating the README

* Update README

* Adding support for new metrices

* Format sample event

* Update README

* Update ingest pipeline

* Update metric type

* Update vdashboard by value

* Update dashboard, add new panels

* Update README

* Update README

* Update Dashboards

* Add network_names to dashboard

* Update field descriptions and README

* Updated formated fields.yml

* Addressing review comments

* Update fields.yml and README

* Update the dockerfile and sample event , README

* Update fields.yml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

6 participants