-
Notifications
You must be signed in to change notification settings - Fork 456
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
Migrate some Metricbeat modules to GCP package #490
Comments
Pinging @elastic/integrations (Team:Integrations) |
Package creation: #459 |
I have some free time, I can look at getting this started. |
@legoguy1000 thank you! I will keep an eye on it and review it. |
Everything has being slowed down by adding tests, which required to address some limitation of our current CI setup for GCP. The work to run GCP tests is in progress:
|
While adding tests we stumbled upon an issue with Elastic Agent parsing it's configuration that is affecting how we perform tests: elastic/elastic-agent#178 |
The issue has been solved, but we need to wait for release |
GCP test package is waiting on the final review but we were able to overcome the issues of the past days. I expect it to be merged beginning of next week |
GCP test package merged today! This unblocks working on multiple data streams (probably all but |
@endorama we good to keep merging the individual Gcp metric sets? |
No, unfortunately tests are still not working in this repo. We are migrating the configuration but facing current system tests for logs failing in #2704 |
Work has been done in a separate branch to pinpoint the issue, and we have been able to find and solve the issue. During testing of #2707 it has been highlighted that the changes introduce a possible breaking change in the configuration that we should address. |
In #2987 we decided to move forward by creating a separate integration package called |
@endorama let me know when the new package is in the |
The decision of moving forward has been reverted, in favour of a different approach: an issue has been opened on Kibana (elastic/kibana#131251), that has been closed yesterday. This issue solves the upgrade issue I found when upgrading GCP policy with a breaking change. |
#2707 is ready for review! |
#2707 has been updated to include latest changes and marked ready again, after positive decision in moving forward with the current implementation. |
@legoguy1000 I'm sorry that all linked PRs have been closed! I'm not sure why it happened but was not intentional. We are testing the 2.0.0 package and we are going to work on other metricsets soon after! |
No problem. When the branch was merged and deleted, any PR targeting it gets closed. I had to rebase it off of main anyways. |
Goal: migrate all currently implemented Metricbeat
gcp
module Metricsets to Data Streams withingcp
integration package and add system tests.TODO:
gcp.billing
data stream:gcp.compute
data stream:gcp.loadbalancer
data stream:gcp.pubsub
data stream:gcp.storage
data stream:gcp.metrics
data stream:gcp.firestore
data stream:ensure dashboards query the Agent stream and not the Metricbeat ones
🛑 Blockers
gcp.billing
require auxiliary files to bootstrap test dataelastic-package
Terraform deployer should support GCP Cloud SDK blocks billing testswe decided to move forward with a new package,we reverted the decision and decided to wait on Kibana team to fix the upgrade issue and move forward with a singlegcp_metrics
to avoid the need for configuration breaking change.gcp
package.🏗 Implementation work
❓ Open questions
gcp
package? As of now it contains only security related log collection.🚨 Risks
elastic/integrations
CI does not support creating GCP infrastructure to be used during tests, but it supports the use case; support should be added.With this solved we still need to migrate the CI configuration from
elastic/elastic-package
toelastic/integrations
. The risk lies in the different CI and Stack versions in useThe text was updated successfully, but these errors were encountered: