Skip to content

Latest commit

 

History

History
194 lines (155 loc) · 9.12 KB

CHANGELOG.md

File metadata and controls

194 lines (155 loc) · 9.12 KB

Changelog

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.

[0.11.2]

Added

  • PMM-6361: New flag --suppress.collectshardingstatus can be used to disable the collection of Sharding Status. This flag is not set by default. On a large scale cluster it could help you to disable the mongoS exporters induced load to config tables. @vrazvan-adobe

Fixed

  • PMM-6361: runtime error: invalid memory address or nil pointer dereference, source="sharding_status.go:166" . When chunks collection is very big, the aggregate on it can take longer then default default 1000ms SocketTimeout. @vrazvan-adobe

[0.11.0]

Changed

  • go.mongodb.org/mongo-driver was updated to v1.3.2.
  • github.com/prometheus/client_golang was updated to v1.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

Added

Fixed

Changed

  • go.mongodb.org/mongo-driver was updated to v1.1.1.
  • All --mongodb.tls* flags were removed. Use tls-options instead.

Added

Fixed

Changed

Added

  • 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

Fixed

Changed

Added

Fixed

Added

  • 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

  • Fixed some function comments based on best practices from Effective Go #137, thx @CodeLingoBot.
  • PMM-3473: Fixed panic and runtime error.

Changed

  • 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 than mongodb_mongo[ds]_.

Added

  • 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

Added

  • 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

Fixed

  • Fix for broken labels on index_usage metrics
  • Fix SIGSEGV when running connected to a Primary, thx @anas-aso

Changed

  • Move CHANGELOG.md to "Keep a Changelog" format.

0.6.2 - 2018-09-11

Added

  • Build binaries #110
  • Test --help flag for diff of options between releases #111

0.6.1 - 2018-06-15

Fixed

  • --version now properly reports 0.6.1

0.6.0 - 2018-06-13

Added

  • 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

Fixed

  • Fix balancerIsEnabled & balancerChunksBalanced values #106, thx @jmsantorum

0.5.0 - 2018-05-24

Added

  • Check connection with exporter #92. Adds --test flag to verify connection with MongoDB and quits.

Removed

  • Removed tests for EOL'ed MongoDB 3.0 and Percona Server for MongoDB 3.0.

Fixed

  • 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

Added

  • 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 value 1) 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.

Changed

  • Go vendoring switched to dep.

0.3.1 - 2017-09-08

Changed

  • Better logging for scrape errors.

0.3.0 - 2017-07-07

Added

  • Add standard metrics:
    • mongodb_exporter_scrapes_total
    • mongodb_exporter_last_scrape_error
    • mongodb_exporter_last_scrape_duration_seconds

Fixed

  • Fix a few data races.

0.2.0 - 2017-06-28

Changed

0.1.0 - 2016-04-13

Added

  • First tagged version.