Skip to content

[couchbase] Add Integration Package with query_index Data Stream #4100

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

Merged

Conversation

kush-elastic
Copy link
Contributor

@kush-elastic kush-elastic commented Aug 30, 2022

  • Enhancement

What does this PR do?

  • Generated the skeleton of Couchbase integration package.
  • Added 1 data stream ( query_index )
  • Added data collection logic.
  • Added the ingest pipelines.
  • Mapped fields according to the ECS schema and added Fields metadata in the appropriate yml files.
  • Added system test cases.
    Note : Dashboard will be included in a follow up PR
    image
    image

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.
  • If I'm introducing a new feature, I have modified the Kibana version constraint in my package's manifest.yml file to point to the latest Elastic stack release (e.g. ^7.13.0).

How to test this PR locally

  • Clone integrations repo.
  • Install elastic-package locally.
  • Start elastic stack using elastic-package.
  • Move to integrations/packages/couchbase directory.
  • Run the following command to run tests.

elastic-package test

Related issues

@kush-elastic kush-elastic added enhancement New feature or request Integration:couchbase Couchbase Team:Service-Integrations Label for the Observability Service Integrations team labels Aug 30, 2022
@kush-elastic kush-elastic self-assigned this Aug 30, 2022
@elasticmachine
Copy link

elasticmachine commented Aug 30, 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-10-03T06:57:56.219+0000

  • Duration: 27 min 22 sec

Test stats 🧪

Test Results
Failed 0
Passed 32
Skipped 0
Total 32

🤖 GitHub comments

Expand to view the GitHub comments

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

  • /test : Re-trigger the build.

@elasticmachine
Copy link

elasticmachine commented Aug 30, 2022

🌐 Coverage report

Name Metrics % (covered/total) Diff
Packages 100.0% (8/8) 💚
Files 100.0% (8/8) 💚 2.792
Classes 100.0% (8/8) 💚 2.792
Methods 100.0% (56/56) 💚 10.322
Lines 100.0% (844/844) 💚 8.465
Conditionals 100.0% (0/0) 💚

@ritalwar ritalwar self-requested a review September 7, 2022 04:12
@elasticmachine
Copy link

elasticmachine commented Sep 26, 2022

🚀 Benchmarks report

Package couchbase 👍(3) 💚(4) 💔(1)

Expand to view
Data stream Previous EPS New EPS Diff (%) Result
bucket 20000 15625 -4375 (-21.88%) 💔

To see the full report comment with /test benchmark fullreport

@kush-elastic kush-elastic marked this pull request as ready for review September 26, 2022 08:19
@kush-elastic kush-elastic requested a review from a team as a code owner September 26, 2022 08:19
@kush-elastic
Copy link
Contributor Author

/test

2 similar comments
@yug-rajani
Copy link
Contributor

/test

@kush-elastic
Copy link
Contributor Author

/test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Integration:couchbase Couchbase Team:Service-Integrations Label for the Observability Service Integrations team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants