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

Metricbeat Technical Debt meta issue #10238

Closed
5 of 10 tasks
ruflin opened this issue Jan 22, 2019 · 7 comments
Closed
5 of 10 tasks

Metricbeat Technical Debt meta issue #10238

ruflin opened this issue Jan 22, 2019 · 7 comments
Labels

Comments

@ruflin
Copy link
Contributor

ruflin commented Jan 22, 2019

This issue to collect a list of technical debt issue / tasks which should be handled after 7.0.0-beta1 is shipped:

  • Clean up make update target and move it to mage update by using Go commands for all the commands
  • Remove metricbeat hacks in update command inside libbeat/scripts/Makefile
  • Update all modules / metricsets to use v2 reporter method instead of Fetch. The goal is to make using module / global fields easier. [Metricbeat] ReporterV2 migration meta-issue #10774
  • Clean up code around dashboard / kibana to remove support for older 5.x versions.
  • Simplify system tests by abstracting common components (see ES module as example)
  • Simplify go integration tests by reusing common components (see ES module as example)
  • Move docs check to golang from python. This should allow most of the system tests to not require ES anymore but only try to run the module (without service running). [Metricbeat] Check that fields are documented in data tests #11127
  • Implement a http test helper that can be used to fetch data, map it and compare output. This will allow to test various inputs to outputs without having to run the service. Similar to the .expected files in Filebeat modules.
  • Move to kubernetes client-go Switch to official Kubernetes client-go #10337
  • Add missing dashboards: Metricbeat Dashboards meta-issue #10594
@ruflin ruflin added meta Metricbeat Metricbeat Team:Integrations Label for the Integrations team technical debt labels Jan 22, 2019
@andrewkroh
Copy link
Member

First bullet (and maybe second) are covered by #9842. Hopefully I can return to that PR soon.

@fearful-symmetry
Copy link
Contributor

It looks like we're seeing the beginnings of 8 with #11113 and #11112 ? Considering that this will only work for modules that depend on an http interface, do we want to make a separate meta-issue of tracking the migration of that?

Also, 6 and 8 might be related. The new http test helper allows us to get rid of the TestData() pattern, which simplifies a lot. So, all we have left is the TestFetch() pattern.

There's also the new features introduced by #10727 and #11106 which we might also want to track.

@ruflin
Copy link
Contributor Author

ruflin commented Mar 7, 2019

@fearful-symmetry Good points, feel free to update the issue directly.

+1 on a new meta issue to track the migration to the new test helper.

@fearful-symmetry
Copy link
Contributor

I think I'm gonna wait until we have the new test helper in a more steady-state for me to open a separate meta-issue on it, as #11131 is still going on. So, here's the new interfaces and refinements we currently have in progress:

@ruflin
Copy link
Contributor Author

ruflin commented Mar 8, 2019

  • For the interface changes: I don't expect more changes to come in the near term. We should migrate the metricsets where it makes sense. I would expect both interfaces to stay around for a while.
  • New Logging: We should migrate, also to clean up all deprecated logp.Info( etc. usages. I would assume this migration can happen together with the interface migration.

@ruflin
Copy link
Contributor Author

ruflin commented Apr 23, 2019

@exekias Assigned this one to you, hope that is ok.

@botelastic
Copy link

botelastic bot commented Oct 19, 2022

Hi!
We just realized that we haven't looked into this issue in a while. We're sorry!

We're labeling this issue as Stale to make it hit our filters and make sure we get back to it as soon as possible. In the meantime, it'd be extremely helpful if you could take a look at it as well and confirm its relevance. A simple comment with a nice emoji will be enough :+1.
Thank you for your contribution!

@botelastic botelastic bot added the Stalled label Oct 19, 2022
@botelastic botelastic bot closed this as completed Apr 17, 2023
@zube zube bot removed the [zube]: Done label Jul 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants