(TK-402) Add note about precedence of metric-prefix and server-id options
Add note to clojure client docs about precendence of `metric-prefix` option if both it and `server-id` are specified as client options. Also remove some empty lines.
This commit is contained in:
parent
5237287c2b
commit
af9f144e1d
3 changed files with 3 additions and 4 deletions
|
@ -42,7 +42,9 @@ The following are the base set of options supported by the `create-client` funct
|
|||
from. If specified, used in the namespace for metrics:
|
||||
`puppetlabs.<server-id>.http-client.experimental`.
|
||||
* `:metric-prefix`: a string for the prefix for metrics. If specified, metric
|
||||
namespace is `<metric-prefix>.http-client.experimental`.
|
||||
namespace is `<metric-prefix>.http-client.experimental`. If both
|
||||
`metric-prefix` and `server-id` are specified, `metric-prefix` takes
|
||||
precendence.
|
||||
|
||||
### SSL Options
|
||||
|
||||
|
|
|
@ -109,5 +109,4 @@ public class TimerUtils {
|
|||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -47,8 +47,6 @@ public class Metrics {
|
|||
public enum MetricType { FULL_RESPONSE }
|
||||
public enum MetricCategory { URL, URL_AND_METHOD, METRIC_ID }
|
||||
|
||||
|
||||
|
||||
public static String urlToMetricUrl(String uriString) throws URISyntaxException {
|
||||
final URI uri = new URI(uriString);
|
||||
final URI convertedUri = new URI(uri.getScheme(), null, uri.getHost(),
|
||||
|
|
Loading…
Reference in a new issue