Skip to content

Conversation

@idoqo
Copy link
Contributor

@idoqo idoqo commented Apr 3, 2025

  • 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.

dependabot bot and others added 6 commits March 25, 2025 12:12
Bumps [github.com/prometheus/common](https://github.com/prometheus/common) from 0.62.0 to 0.63.0.
- [Release notes](https://github.com/prometheus/common/releases)
- [Changelog](https://github.com/prometheus/common/blob/main/RELEASE.md)
- [Commits](prometheus/common@v0.62.0...v0.63.0)

---
updated-dependencies:
- dependency-name: github.com/prometheus/common
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@idoqo idoqo marked this pull request as ready for review April 6, 2025 16:05
@idoqo idoqo requested a review from a team as a code owner April 6, 2025 16:05
@idoqo idoqo requested review from BupycHuk and JiriCtvrtka and removed request for a team April 6, 2025 16:05
@idoqo idoqo requested a review from ademidoff April 7, 2025 09:41
@BupycHuk
Copy link
Member

BupycHuk commented Apr 9, 2025

please address linter issues

@BupycHuk BupycHuk requested a review from Copilot April 14, 2025 08:36
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot reviewed 46 out of 46 changed files in this pull request and generated 1 comment.

@idoqo idoqo requested a review from Copilot April 15, 2025 19:35
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot reviewed 46 out of 46 changed files in this pull request and generated no comments.

Comments suppressed due to low confidence (2)

exporter/indexstats_collector.go:72

  • [nitpick] For consistency and to preserve error context, consider passing the error value directly (i.e. 'err') rather than using err.Error() in the key/value pairs.
logger.Error("cannot auto discover databases and collections", "error", err.Error())

exporter/currentop_collector.go:105

  • [nitpick] Instead of using fmt.Sprintf to format the error message, consider using structured logging to include the type information (e.g., logger.Error("Invalid type assertion for inprog", "actualType", fmt.Sprintf("%T", r["inprog"]))) for improved clarity.
logger.Error(fmt.Sprintf("Invalid type primitive.A assertion for 'inprog': %T", r["inprog"]))

@idoqo idoqo merged commit 497ac65 into main Apr 24, 2025
14 checks passed
@idoqo idoqo deleted the PMM-7-logrus-to-slog branch April 24, 2025 09:22
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