All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
go.mongodb.org/mongo-driver
was updated tov1.3.2
.github.aaakk.us.kg/prometheus/client_golang
was updated tov1.5.1
.- PMM-4719: Remove redundant flags from "mongodb_exporter" if possible.
Those flags have been removed:
--mongodb.authentification-database, --mongodb.max-connections, --mongodb.socket-timeout, --mongodb.sync-timeout
. You can use connection-string-options instead. - Added lost connection metrics and removed useless file @nikita-b
- PMM-2717: Failed to execute find query on 'config.locks': not found. source="sharding_status.go:106".
All
mongodb_mongos_sharding_balancer_lock_*
metrics won't be exposed forMongoDB 3.6+
. See: https://docs.mongodb.com/v3.6/reference/config-database/#config.locks.
go.mongodb.org/mongo-driver
was updated tov1.1.1
.- All
--mongodb.tls*
flags were removed. Use tls-options instead.
- PMM-4131: Added missing features from dcu/mongodb_exporter. See list below.
- New metrics:
mongodb_mongod_replset_member_*
mongodb_connpoolstats_*
mongodb_tcmalloc_*
- Added application name "mongodb_exporter" to mongo logs, @nikita-b
- PMM-4427: Panic when read rocksdb status, txh @lijinglin2019.
- PMM-4583: Fix panic when GetTotalChunksByShard (#158), txh @lijinglin2019.
- PMM-3511: Switched to mongo-go-driver.
- PMM-4168: Updated all dependencies including
github.com/prometheus/golang_client
. - Moved
opcounters
,opcountersRepl
tocommon_collector
(#146), thx @nikita-b.
- Added Authentification Database option when connect to mongo #139, thx @etiennecoutaud.
- Added helm chart to readme #140, thx @pgdagenais.
- PMM-4154: Added standard logging flags.
- Fixed some function comments based on best practices from Effective Go #137, thx @CodeLingoBot.
- PMM-3473: Fixed panic and runtime error.
- PMM-3512: Switched to kingpin library.
This is a BREAKING CHANGE because kingpin uses
--
instead of-
for long flags, so be careful when updating. - PMM-2261 Unify common mongod and mongos server metrics, thx @bz2
This is a BREAKING CHANGE. The labels of these metrics are now prefixed with just
mongodb_
rather thanmongodb_mongo[ds]_
.
- Fine grained error handling for index usage and collection stats (#128), thx @akira-kurogane
- Introduce a docker go build that creates a mongodb_exporter binary within a container (#112), thx @mminks
- Ability to make releases and snapshots with GoReleaser
0.6.3 - 2019-02-13
- PMM-3401: Added collection of TTL metrics #127, thx @fastest963
- Added some new metrics:
member_replication_lag
member_operational_lag
op_latencies_latency_total
op_latencies_ops_total
op_latencies_histogram
- Fix for broken labels on
index_usage
metrics - Fix SIGSEGV when running connected to a Primary, thx @anas-aso
- Move CHANGELOG.md to "Keep a Changelog" format.
0.6.2 - 2018-09-11
- Build binaries #110
- Test
--help
flag for diff of options between releases #111
0.6.1 - 2018-06-15
--version
now properly reports0.6.1
0.6.0 - 2018-06-13
- Add required testify dependency #107, thx @RubenHoms
- Add timeout flags #100, thx @unguiculus
- Enable collection of table top metrics #94, thx @bobera
- Individual index usage stats and index sizes added #97, thx @martinhoefling
- Support
&ssl=true
#105 #90, thx @dbmurphy
- Fix
balancerIsEnabled
&balancerChunksBalanced
values #106, thx @jmsantorum
0.5.0 - 2018-05-24
- Check connection with exporter #92. Adds
--test
flag to verify connection with MongoDB and quits.
- Removed tests for EOL'ed MongoDB 3.0 and Percona Server for MongoDB 3.0.
- Redact Mongo URI #101. Fixes URI logging in plain text including credentials when no session can be created.
- ARM64-specific fixes #102. Fixed two portability issues in Makefile.
0.4.0 - 2018-01-17
- New flags
-collect.database
and-collect.collection
can be used to enable collection of database and collection metrics. They are disabled by default. - MongoDB connections are now kept between the scrapes. New flag
-mongodb.max-connections
(with the default value1
) controls the maximum number of established connections. - Add standard metrics:
mongodb_scrape_errors_total
mongodb_up
- Some queries now contain cursor comments with source code locations.
- Go vendoring switched to dep.
0.3.1 - 2017-09-08
- Better logging for scrape errors.
0.3.0 - 2017-07-07
- Add standard metrics:
mongodb_exporter_scrapes_total
mongodb_exporter_last_scrape_error
mongodb_exporter_last_scrape_duration_seconds
- Fix a few data races.
0.2.0 - 2017-06-28
- Default listen port changed to 9216.
- All log messages now go to stderr. Logging flags changed.
- Fewer messages on default INFO logging level.
- Use https://github.com/prometheus/common log for logging instead of https://github.com/golang/glog.
- Use https://github.com/prometheus/common version to build with version information.
- Use https://github.com/prometheus/promu for building.
0.1.0 - 2016-04-13
- First tagged version.