Skip to content
This repository was archived by the owner on Jul 28, 2026. It is now read-only.

Gaantunes/mongodb exporter - #826

Merged
mattdurham merged 15 commits into
mainfrom
gaantunes/mongodb-exporter
Aug 17, 2021
Merged

mattdurham merged 15 commits into
mainfrom
gaantunes/mongodb-exporter

Conversation

@gaantunes

Copy link
Copy Markdown
Contributor

PR Description

Adding mongodb exporter. For now it`s referencing a fork of the exporter, as soon as they merge a PR upstream I will reference it.

Which issue(s) this PR fixes

Notes to the Reviewer

PR Checklist

  • CHANGELOG updated
  • Documentation added
  • Tests updated

@gaantunes
gaantunes requested a review from rfratto August 14, 2021 14:50
}

func (o output) Write(data []byte) (n int, err error) {
var ll line

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Would love a bit more detail/comments on this translation function.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

The credit for this one is due to @colegam, he gave me this hint to consume the exporter without needing to change it`s Log signature.

return c.Common
}

// NewIntegration creates a new elasticsearch_exporter

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

elasticsearch -> mongodb

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

woops, corrected :)

@gaantunes
gaantunes requested a review from mattdurham August 16, 2021 17:16
@mattdurham
mattdurham merged commit 88dc256 into main Aug 17, 2021
@mattdurham
mattdurham deleted the gaantunes/mongodb-exporter branch August 17, 2021 18:45
mattdurham pushed a commit that referenced this pull request Nov 11, 2021
* adding mongodb exporter - draft

* commiting for local tests

* adding general collector

* updating mongodb exporter version

* removing direct connect option - always use direct connection

* mongodb exporter draft

* adding mongodb to example/docker-compose

* restoring agent-local default config

* restoring docker-compose agent default config

* adjusting identation

* Adjusting logging and solving lint problems

* nolint on logruskit

* yet some other lint problems

* replacing elastic to mongodb in comment
@github-actions github-actions Bot added the frozen-due-to-age Locked due to a period of inactivity. Please open new issues or PRs if more discussion is needed. label Apr 11, 2024
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Apr 11, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

frozen-due-to-age Locked due to a period of inactivity. Please open new issues or PRs if more discussion is needed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants