4f92c1ba55
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. |
||
---|---|---|
.. | ||
java_client_test.clj | ||
metrics_unit_test.clj |