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][Istio] Add pilot metricset #15761

Merged
merged 7 commits into from
Jan 30, 2020

Conversation

ioandr
Copy link
Contributor

@ioandr ioandr commented Jan 22, 2020

What does this PR do?

Add pilot metricset for istio Module.

The metrics are collected and exposed by a Prometheus exporter at endpoint:

istio-pilot.istio-system:15014

The pilot job returns the Pilot-generated metrics.

Why is it important?

To enhance the ISTIO module and provide an all-around perspective of it.

How to test this PR locally

  1. Checkout branch and build the x-pack metricbeat executable
  2. Spin up a Kubernetes cluster with Minikube
  3. Install ISTIO https://istio.io/docs/setup/install/
  4. Expose the istio-pilot.istio-system service to working machine, using kubectl port-forward
  5. Enable the istio module, configure it in metricbeat.yaml and start monitoring ISTIO pilot

Related issues

Signed-off-by: Ioannis Androulidakis <ioannis@arrikto.com>
@ioandr ioandr requested a review from a team as a code owner January 22, 2020 22:59
@elasticmachine
Copy link
Collaborator

Since this is a community submitted pull request, a Jenkins build has not been kicked off automatically. Can an Elastic organization member please verify the contents of this patch and then kick off a build manually?

1 similar comment
@elasticmachine
Copy link
Collaborator

Since this is a community submitted pull request, a Jenkins build has not been kicked off automatically. Can an Elastic organization member please verify the contents of this patch and then kick off a build manually?

Copy link
Member

@ChrsMark ChrsMark left a comment

Choose a reason for hiding this comment

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

lgmt already, thanks for contributing this!

Left some minor comments regarding the fields' naming. Also please add a changelog entry.

x-pack/metricbeat/module/istio/pilot/_meta/fields.yml Outdated Show resolved Hide resolved
x-pack/metricbeat/module/istio/pilot/_meta/fields.yml Outdated Show resolved Hide resolved
@ChrsMark ChrsMark added Team:Integrations Label for the Integrations team Metricbeat Metricbeat enhancement labels Jan 23, 2020
@ChrsMark ChrsMark self-assigned this Jan 23, 2020
@ChrsMark ChrsMark mentioned this pull request Jan 23, 2020
11 tasks
@ChrsMark ChrsMark requested a review from a team January 23, 2020 09:36
@andresrc andresrc changed the title [WIP][Metricbeat][Istio] Add pilot metricset [Metricbeat][Istio] Add pilot metricset Jan 28, 2020
@ChrsMark
Copy link
Member

ChrsMark commented Jan 29, 2020

Thanks for the changes @ioandr ! It looks like a make update under /beats/metrcibeat and /beats/x-pack/metricbeat` is missing.

Also please update the expected golden file https://github.com/elastic/beats/pull/15761/files#diff-1358955e525da296ba2ccdc472ebbb06 and data.json.

Signed-off-by: Ioannis Androulidakis <ioannis@arrikto.com>
Signed-off-by: Ioannis Androulidakis <ioannis@arrikto.com>
@ChrsMark
Copy link
Member

ok to test

Copy link
Member

@ChrsMark ChrsMark left a comment

Choose a reason for hiding this comment

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

lgtm, thanks! One last thing, could you add a changelog entry for this please?

Signed-off-by: Ioannis Androulidakis <ioannis@arrikto.com>
@ioandr ioandr force-pushed the feature-metricbeat-istio-pilot branch from b79f604 to 2457e5f Compare January 30, 2020 09:55
Signed-off-by: Ioannis Androulidakis <ioannis@arrikto.com>
@ioandr ioandr force-pushed the feature-metricbeat-istio-pilot branch from 2457e5f to f560ff2 Compare January 30, 2020 09:58
@ChrsMark ChrsMark added the needs_backport PR is waiting to be backported to other branches. label Jan 30, 2020
@ChrsMark ChrsMark merged commit 238cc7d into elastic:master Jan 30, 2020
ChrsMark pushed a commit to ChrsMark/beats that referenced this pull request Feb 4, 2020
@ChrsMark ChrsMark removed the needs_backport PR is waiting to be backported to other branches. label Feb 4, 2020
@ChrsMark ChrsMark added the test-plan Add this PR to be manual test plan label Feb 4, 2020
@andresrc andresrc added the test-plan-added This PR has been added to the test plan label Mar 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Metricbeat Metricbeat review Team:Integrations Label for the Integrations team test-plan Add this PR to be manual test plan test-plan-added This PR has been added to the test plan v7.7.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants