clj-http-client/test/com/puppetlabs/http/client/impl
Ruth Linehan 4f92c1ba55 (TK-402) Allow metric namespace to be configurable
Add two new client options - `server-id` and `metric-prefix` that allow the
metric namespace to be configured rather than always
`puppetlabs.http-client.experimental`.

If `server-id` is set, the metric namespace becomes
`puppetlabs.<server-id>.http-client.experimental`.

If `metric-prefix` is set, the metric namespace becomes
`<metric-prefix>.http-client.experimental`.

If both are set, `metric-prefix` wins out and a warning message is logged.

Also add a `get-client-metric-namespace`/`getMetricNamespace` method on the
client (clojure and java) to get back the metric namespace.
2016-10-03 12:06:15 -07:00
..
java_client_test.clj (MAINT) Added fix/test for java coerceBodyType 2015-04-24 10:17:30 -07:00
metrics_unit_test.clj (TK-402) Allow metric namespace to be configurable 2016-10-03 12:06:15 -07:00