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