clj-http-client/test
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
..
com/puppetlabs/http/client/impl (TK-402) Allow metric namespace to be configurable 2016-10-03 12:06:15 -07:00
puppetlabs/http/client (TK-402) Allow metric namespace to be configurable 2016-10-03 12:06:15 -07:00