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

Revert removal of metrics-monitoring change, fix tests to account for fleet naming changes #4462

Merged

Conversation

fearful-symmetry
Copy link
Contributor

What does this PR do?

reverts #4451 and changes the tests to account for recent changes in elastic/kibana#178857

We're not 100% sure if the change to name generation will remain, so the test is designed in such a way that we can make a 1-line change if the way kibana creates the output ID changes in the future.

@elasticmachine
Copy link
Collaborator

Pinging @elastic/elastic-agent (Team:Elastic-Agent)

Copy link
Contributor

mergify bot commented Mar 21, 2024

This pull request does not have a backport label. Could you fix it @fearful-symmetry? 🙏
To fixup this pull request, you need to add the backport labels for the needed
branches, such as:

  • backport-v./d./d./d is the label to automatically backport to the 8./d branch. /d is the digit

NOTE: backport-skip has been added to this pull request.

}

func (runner *MetricsRunner) TestBeatsMetrics() {
UnitOutputName := "fleet-default-output"
Copy link
Member

Choose a reason for hiding this comment

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

Fleet reverted the change, it just isn't in the latest snapshot yet: elastic/kibana@3069efd

Don't merge until that happens or you'll just be undoing this again.

Copy link

Quality Gate passed Quality Gate passed

The SonarQube Quality Gate passed, but some issues were introduced.

3 New issues
0 Security Hotspots
68.0% 68.0% Coverage on New Code
0.0% 0.0% Duplication on New Code

See analysis details on SonarQube

@fearful-symmetry fearful-symmetry merged commit 0dc98db into elastic:main Mar 27, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants