Skip to content

Conversation

@timvaillancourt
Copy link

This depends on (or partially duplicates) changes in PR #1. This changeset will be much smaller once that is merged.

  1. Added separation of 'sharded' and 'unsharded' DBs in sharding code.
  2. Missed upstream updates I forgot to commit in Upstream updates bugfixes #1.
  3. Rename of some files from 'balancer' to 'sharding', because they're a large scope than just balancing. 4. Changes from timvaillancourt/modular_collectorv3 pulled in (mostly better code and new features) Some fieldnames (that were renamed for clarity in timvaillancourt/modular_collectorv3) were renamed to match the grafana dashboards.
  4. Upstream 'replset_status.go' (an improved version of mine) is pulled in due to fixing several issues with my version.
  5. Moving from 'github.com/dcu/mongodb_exporter' to 'github.com/Percona-Lab/prometheus_mongodb_exporter' in go imports/dependencies to properly branch code (after noticing I was cross-compiling the wrong stuff).

jtharpla pushed a commit to closeio/mongodb_exporter that referenced this pull request Oct 26, 2017
AlekSi pushed a commit that referenced this pull request Jan 4, 2018
* Disable pre-fetching (not needed on exporter queries), limit conn pool size and re-use database connection to MongoDB
* Remove .Ping() on exporter.mongoSess, mgo.Session will recreate the conn for us
* avoid race condition with sync.Mutex
* Use lock on close of mgo session also
* Use lock on close of mgo session also #2
* make pool limit a flag instead of hard-code
* default to 1 connection, it seems to work fine even at high volume
* Must return .Copy() of mgo.Session to avoid mgo deadlocking under concurrent calls. Moved session SocketTimeout to no longer be forever
* Must defer .Close() on copied mgo.Session from .getSession
* must check if != nil a 2nd time in getSession()
MikaSoinetsalo added a commit to Yleisradio/mongodb_exporter that referenced this pull request Dec 10, 2018
MikaSoinetsalo added a commit to Yleisradio/mongodb_exporter that referenced this pull request Dec 10, 2018
MikaSoinetsalo added a commit to Yleisradio/mongodb_exporter that referenced this pull request Dec 11, 2018
AlekSi added a commit that referenced this pull request Aug 23, 2020
* Sandbox, Connection and tests

* WIP Test push pemissions

* .goreleaser, version and debug

* Metrics renaming & collecting

* PMM-5739 Metrics renamer

* Updated job definition

* Updated test

* PMM-5739 Deleted old sandbox files

* PMM-5739 code formatting

* PMM-5739 Updated linters for tests

* PMM-5739 More comments

* PMM-5739 Added comments

* PMM-5739 Changes for CR

* PMM-5739 Fixes for CR

* PMM-5739 Updated tests for CR

* PMM-5739 Fixes for CR

* Update exporter/metrics.go

Co-authored-by: Alexey Palazhchenko <alexey.palazhchenko@percona.com>

* PMM-5739 Removed duplicated nolint

* WIP re-introduced diagnostic data collector

* PT-5739 re-added diagnostic data

* PMM-5739 Updated test

* PMM-5739 Updated mod

* PMM-5739 Updates for CR

* PMM-5739 Changes for CR

* PMM-5739 Updates for CR

* PMM-5739 Changes for CR

Co-authored-by: Alexey Palazhchenko <alexey.palazhchenko@percona.com>
Co-authored-by: Carlos <cfsalguero@gmail.com>
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.

1 participant