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

Fix instance name in perfmon metricset #22261

Merged
merged 47 commits into from
Nov 3, 2020
Merged

Conversation

narph
Copy link
Contributor

@narph narph commented Oct 29, 2020

What does this PR do?

Fix instance name in perfmon metricset by adding an additional check in iswildcard function if path contains *

Why is it important?

Fixes instance name in perfmon metricset

Checklist

  • My code follows the style guidelines of this project
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have made corresponding change to the default configuration files
  • I have added tests that prove my fix is effective or that my feature works
  • I have added an entry in CHANGELOG.next.asciidoc or CHANGELOG-developer.next.asciidoc.

Related issues

narph added 30 commits July 23, 2020 11:01
@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label Oct 29, 2020
@narph narph self-assigned this Oct 29, 2020
@narph narph added [zube]: In Review needs_backport PR is waiting to be backported to other branches. Team:Platforms Label for the Integrations - Platforms team labels Oct 29, 2020
@elasticmachine
Copy link
Collaborator

Pinging @elastic/integrations-platforms (Team:Platforms)

@botelastic botelastic bot removed the needs_team Indicates that the issue/PR needs a Team:* label label Oct 29, 2020
@elasticmachine
Copy link
Collaborator

elasticmachine commented Oct 29, 2020

💚 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

Expand to view the summary

Build stats

  • Build Cause: [Pull request #22261 updated]

  • Start Time: 2020-11-03T10:42:48.304+0000

  • Duration: 77 min 56 sec

Test stats 🧪

Test Results
Failed 0
Passed 2203
Skipped 490
Total 2693

@elasticmachine
Copy link
Collaborator

elasticmachine commented Oct 29, 2020

💚 Flaky test report

Tests succeeded.

Expand to view the summary

Test stats 🧪

Test Results
Failed 0
Passed 2203
Skipped 490
Total 2693

@narph narph added the windows-7-32 Enable builds in the CI for windows-7 32 bits label Nov 2, 2020
@narph
Copy link
Contributor Author

narph commented Nov 2, 2020

/test metricbeat for windows-7-32

1 similar comment
@narph
Copy link
Contributor Author

narph commented Nov 2, 2020

/test metricbeat for windows-7-32

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. Would it worth adding a unit test for this functionality?

@narph
Copy link
Contributor Author

narph commented Nov 3, 2020

lgtm. Would it worth adding a unit test for this functionality?

the other tests should cover it but I just added one as well, doesn't hurt.

@narph narph requested a review from ChrsMark November 3, 2020 10:42
@narph narph merged commit f2a55fd into elastic:master Nov 3, 2020
@narph narph deleted the perfmon-inst branch November 3, 2020 12:45
narph added a commit to narph/beats that referenced this pull request Nov 4, 2020
* mofidy doc

* fix

* changelog

* add test

(cherry picked from commit f2a55fd)
narph added a commit to narph/beats that referenced this pull request Nov 4, 2020
* mofidy doc

* fix

* changelog

* add test

(cherry picked from commit f2a55fd)
narph added a commit that referenced this pull request Nov 4, 2020
…22411)

* Fix instance name in perfmon metricset (#22261)

* mofidy doc

* fix

* changelog

* add test

(cherry picked from commit f2a55fd)

* changelog
narph added a commit that referenced this pull request Nov 4, 2020
…2410)

* Fix instance name in perfmon metricset (#22261)

* mofidy doc

* fix

* changelog

* add test

(cherry picked from commit f2a55fd)

* changelog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs_backport PR is waiting to be backported to other branches. Team:Platforms Label for the Integrations - Platforms team windows-7-32 Enable builds in the CI for windows-7 32 bits [zube]: In Review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Metricbeat] Windows perfmon wildcard instance queries with one instance show instance name as asterisk
3 participants