Liking cljdoc? Tell your friends :D

puppetlabs.trapperkeeper.services.metrics.jolokia

Clojure helpers for constructing and configuring Jolokia servlets.

Clojure helpers for constructing and configuring Jolokia servlets.
raw docstring

config-defaultsclj

Default configuration values for Jolokia.

Default configuration values for Jolokia.
sourceraw docstring

config-mappingclj

Inspects the Jolokia ConfigKey Enum and generates a mapping that associates a Clojure keyword with each configuration parameter. The keyword used is the camel-cased identifier that would be used to configure a servlet via a web.xml file. For example, ConfigKey/AGENT_ID is associated with the keyword :agentId.

For a complete list of configuration options, see:

https://jolokia.org/reference/html/agents.html#agent-war-init-params

Inspects the Jolokia ConfigKey Enum and generates a mapping that associates
a Clojure keyword with each configuration parameter. The keyword used is the
camel-cased identifier that would be used to configure a servlet via a
web.xml file. For example, `ConfigKey/AGENT_ID` is associated with the
keyword `:agentId`.

For a complete list of configuration options, see:

  https://jolokia.org/reference/html/agents.html#agent-war-init-params
sourceraw docstring

create-loggerclj

(create-logger)

Return an object that implements the Jolokia logging interface using the logger from clojure.tools.logging

Return an object that implements the Jolokia logging interface using the
logger from clojure.tools.logging
sourceraw docstring

create-servletclj

(create-servlet auth-check-fn)

Builds a Jolokia Servlet that uses Clojure logging.

Builds a Jolokia Servlet that uses Clojure logging.
sourceraw docstring

create-servlet-configclj

(create-servlet-config)
(create-servlet-config config)

Generate Jolokia AgentServlet configuration from a Clojure map

Generate Jolokia AgentServlet configuration from a Clojure map
sourceraw docstring

JolokiaConfigclj

Schema for validating Clojure maps containing Jolokia configuration.

Creates a map of optional keys which have string values using the config-mapping extracted from the ConfigKey enum.

Schema for validating Clojure maps containing Jolokia configuration.

Creates a map of optional keys which have string values using the
config-mapping extracted from the ConfigKey enum.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close