Skip to content

Conversation

@BupycHuk
Copy link
Member

@BupycHuk BupycHuk commented Nov 1, 2024

PMM-13477 (optional, if ticket reported)

  • Links to related pull requests (optional).

Below we provide a basic checklist of things that would make it a good PR:

  • Make sure to sign the CLA (Contributor License Agreement).
  • Make sure all tests pass.
  • Keep current with the target branch and fix conflicts if necessary.
  • Update jira ticket description if necessary.
  • Attach screenshots and/or console output to the jira ticket to confirm new behavior, if applicable.
  • Leave notes to the reviewers if you need to focus their attention on something specific.

Once all checks pass and the code is ready for review, please add pmm-review-exporters team as the reviewer. That would assign people from the review team automatically. Report any issues on our Forum.

@BupycHuk BupycHuk requested a review from a team as a code owner November 1, 2024 14:34
@BupycHuk BupycHuk requested review from JiriCtvrtka and ademidoff and removed request for a team November 1, 2024 14:34
if !ok {
return nil
}
func replSetMetrics(d bson.M, l *logrus.Entry) []prometheus.Metric {
Copy link

Choose a reason for hiding this comment

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

🚫 [golangci-lint] reported by reviewdog 🐶
Function 'replSetMetrics' is too long (82 > 60) (funlen)

Copy link
Member

@ademidoff ademidoff left a comment

Choose a reason for hiding this comment

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

LGTM with a minor comment

@BupycHuk BupycHuk merged commit 1e917bf into main Nov 5, 2024
12 of 13 checks passed
@BupycHuk BupycHuk deleted the PMM-13477-support-mongodb-8 branch November 5, 2024 09:35
debugResult(logger, m)

// MongoDB 8.0 splits the diagnostic data into multiple blocks, so we need to merge them
if d.buildInfo.VersionArray[0] >= 8 { //nolint:gomnd
Copy link

Choose a reason for hiding this comment

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

🚫 [golangci-lint] reported by reviewdog 🐶
Magic number: 8, in detected (mnd)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants