- add the license key to project.clj to allow promotion to clojars
- update clj-parent to 7.3.6 to allow the version of tk-jetty-10 to be managed
- update the version of i18n to 0.9.2
- update the version of lein-parent to 0.3.9
- update the dependencies to avoid mixing maps and keys in vectors as this is deprecated by lein
- update tk-jetty-10 to 1.0.8 to address broken ring handler getRequestCharacterEncoding() function and set default character encoding of ring handler responses to UTF-8.
- major breaking change to Jetty 10 using the trapperkeeper-webserver-jetty10 service.
- update clj-parent to 5.2.6 to allow use of bouncy-castle libs
18onthat replaced the15onnaming
- Update project specification to work correctly in FIPS mode.
- Update Jolokia to 1.7.0. This is a routine maintenance bump that includes some cleanup of reflective accesses that trigger warnings in Java 9 and newer.
- PE-28647 - Allow remote connections to the v2 metrics endpoint now that the connection can be authenticated.
- TK-489 - Add trapperkeeper-authorization support. See that project for configuration. The jolokia access configuration still defaults to disallowing remote access, so this needs to be overridden by the user if using tk-authorization.
- TK-486 - Deprecate the v1 endpoint, so it can be removed in a future release. Going forward all metrics gathering should go through the v2 endpoint, access to which can be flexibly controlled via jolokia access rules.
- Publicly published version of 1.2.1.
This is an internal-only release.
- PE-28468 - Disable the v1 metrics endpoint and restrict v2 to localhost-only access, to fix a CVE where sensitive Puppet data could appear in metrics names.
- Update Jolokia to 1.6.0. This was a security release of Jolokia, though we do not use the affected features of Jolokia it is still recommended to upgrade.
- TK-442 - Updates dropwizard from 3.1.2 to 3.2.2. NOTE: This is done by bumping the dependency on clj-parent which also brings in a new version of tk-jetty9. Java 7 is no longer supported.
This is a major backwards incompatible feature release. The major new feature is support for exporting to graphite. See the documentation for details about how to enable graphite exporting.
The breaking changes are:
- The
metricssection of the configuration has changed to allow configuration of jmx and graphite reporters per domain instead of globally. See the documentation for details about the new format. - Domains must be specified as keywords instead of strings in the clojure API.
initialize-registry-settingshas been renamed toupdate-registry-settings
Additional changes:
- Allow multiple services to register
default-metrics-allowedlists through theupdate-registry-settingsservice function to limit the number of metrics sent to graphite
Jira Links:
- TK-361 - Move pe-trapperkeeper-metrics code, including graphite exporting, into OSS trapperkeeper-metrics.
- TK-393 - Make jmx enabled per-registry. Deprecate enabling jmx globally
- TK-394 - Only accept metrics domain as keyword instead of string
- TK-436 - Add support for appending registry settings from multiple services
This is a feature release.
- TK-433 - Add a new
get-server-idservices function. - TK-430 - Bump clj-parent to 0.3.3 and i18n to 0.6.0
This is a feature release that also contains bug fixes.
-
TK-404 - Added a new "v2" API that is based on the Jolokia library. Jolokia provides a superset of functionality found in the current "v1" metrics API. Refer to 'document/configuration.md' for more information on setting up Jolokia with Trapperkeeper. The Jolokia Documentation has the specifics on the new metrics API.
-
TK-427 - Ensure the JSON request is fully parsed before closing the input stream of the request
-
TK-394 - Tolerate either keywords or strings for metric domains
-
Remove explicit ring-core, servlet-api, and slf4j-api deps
-
Switch to using lein parent (and puppetlabs/clj-parent) for most dependency versions, which also now requires Leiningen 2.7.1 or greater
This is a bug fix release.
- Don't require JMX to be enabled for the metrics endpoint to work. Now, if
the
metrics-webserviceis added to the config, the/metricsendpoint will always be registered.
This is a maintenance release.
- Bump puppetlabs/ring-middleware dependency from 0.3.1 to 1.0.0.
This is a feature release.
- Add an
initialize-registry-settingsfunction to the MetricsService protocol. The implementation of this function in the trapperkeeper-metrics service in this repo is not yet implemented and currently just throws an error.
This is a minor feature, maintenance, and bugfix release.
- Introduce i18n library and lay groundwork for future i18n work
- Update project.clj to prefer explicit dependencies instead of implicit transitive dependencies to resolve conflicts
- Extract common ring utils into puppetlabs/ring-middleware
This is a feature release.
- Add the ability to configure multiple metrics registries
- Add a new metrics-server service (ported from the PuppetDB
/metricsAPI) for querying JMX metrics
This is a feature release.
- TK-252 Always build a metrics registry, deprecate metrics.enabled setting
- Add
mean-millisand related utility fns