Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- add(Credentials) - Method in class io.prometheus.jmx.common.http.authenticator.CredentialsCache
-
Method to add a Credentials to the cache
- add(JmxCollector.Rule, String) - Method in class io.prometheus.jmx.MatchedRulesCache.StalenessTracker
- add(ObjectName, String) - Method in class io.prometheus.jmx.ObjectNameAttributeFilter
-
Method to add an attribute name to the filter if dynamic exclusion is enabled
- AGENT - Enum constant in enum io.prometheus.jmx.JmxCollector.Mode
- apply(Integer) - Method in class io.prometheus.jmx.common.configuration.ValidateIntegerInRange
-
Method to apply a function
- apply(Object) - Method in class io.prometheus.jmx.common.configuration.ConvertToInteger
-
Method to apply a function
- apply(Object) - Method in class io.prometheus.jmx.common.configuration.ConvertToMapAccessor
-
Method to apply a function
- apply(Object) - Method in class io.prometheus.jmx.common.configuration.ConvertToString
-
Method to apply a function
- apply(String) - Method in class io.prometheus.jmx.common.configuration.ValidateStringIsNotBlank
-
Method to apply a function
- AUTO_EXCLUDE_OBJECT_NAME_ATTRIBUTES - Static variable in class io.prometheus.jmx.ObjectNameAttributeFilter
-
Configuration constant to enable auto ObjectName attributes filtering
B
- BuildInfoMetrics - Class in io.prometheus.jmx
-
Collects jmx_exporter build version info.
- BuildInfoMetrics() - Constructor for class io.prometheus.jmx.BuildInfoMetrics
C
- cachedCount() - Method in class io.prometheus.jmx.MatchedRulesCache.StalenessTracker
- checkCredentials(String, String) - Method in class io.prometheus.jmx.common.http.authenticator.MessageDigestAuthenticator
-
called for each incoming request to verify the given name and password in the context of this Authenticator's realm.
- checkCredentials(String, String) - Method in class io.prometheus.jmx.common.http.authenticator.PBKDF2Authenticator
-
called for each incoming request to verify the given name and password in the context of this Authenticator's realm.
- checkCredentials(String, String) - Method in class io.prometheus.jmx.common.http.authenticator.PlaintextAuthenticator
-
called for each incoming request to verify the given name and password in the context of this Authenticator's realm.
- collect() - Method in class io.prometheus.jmx.JmxCollector
- ConfigurationException - Exception Class in io.prometheus.jmx.common.http
- ConfigurationException(String) - Constructor for exception class io.prometheus.jmx.common.http.ConfigurationException
- ConfigurationException(String, Throwable) - Constructor for exception class io.prometheus.jmx.common.http.ConfigurationException
- configureSSL(HTTPServer.Builder) - Method in class io.prometheus.jmx.common.http.HTTPServerFactory
-
Method to configure SSL
- contains(Credentials) - Method in class io.prometheus.jmx.common.http.authenticator.CredentialsCache
-
Method to return whether the cache contains the Credentials
- contains(JmxCollector.Rule, String) - Method in class io.prometheus.jmx.MatchedRulesCache.StalenessTracker
- containsPath(String) - Method in class io.prometheus.jmx.common.yaml.YamlMapAccessor
-
Method to determine if a path exists
- convert(List<MatchedRule>) - Static method in class io.prometheus.jmx.MatchedRuleToMetricSnapshotsConverter
- ConvertToInteger - Class in io.prometheus.jmx.common.configuration
- ConvertToInteger(Supplier<? extends RuntimeException>) - Constructor for class io.prometheus.jmx.common.configuration.ConvertToInteger
-
Constructor
- ConvertToMapAccessor - Class in io.prometheus.jmx.common.configuration
-
Class to convert an Object to a Map, throwing a RuntimeException from the Supplier if there is a ClassCastException
- ConvertToMapAccessor(Supplier<? extends RuntimeException>) - Constructor for class io.prometheus.jmx.common.configuration.ConvertToMapAccessor
-
Constructor
- ConvertToString - Class in io.prometheus.jmx.common.configuration
- ConvertToString(Supplier<? extends RuntimeException>) - Constructor for class io.prometheus.jmx.common.configuration.ConvertToString
-
Constructor
- create(Map<String, Object>) - Static method in class io.prometheus.jmx.ObjectNameAttributeFilter
-
Method to create an ObjectNameAttributeFilter
- createHTTPServer(InetAddress, int, PrometheusRegistry, File) - Method in class io.prometheus.jmx.common.http.HTTPServerFactory
-
Method to create an HTTPServer using the supplied arguments
- createSSLContext(String, String, String) - Static method in class io.prometheus.jmx.common.http.ssl.SSLContextFactory
-
Method to create an SSLContext
- Credentials - Class in io.prometheus.jmx.common.http.authenticator
-
Class to implement credentials
- Credentials(String, String) - Constructor for class io.prometheus.jmx.common.http.authenticator.Credentials
-
Constructor
- CredentialsCache - Class in io.prometheus.jmx.common.http.authenticator
-
Class to implement a Credentials cache that is size constrained
- CredentialsCache(int) - Constructor for class io.prometheus.jmx.common.http.authenticator.CredentialsCache
-
Constructor
E
- empty() - Static method in class io.prometheus.jmx.common.yaml.YamlMapAccessor
-
Method to get a MapAccessor backed by an empty Map
- equals(Object) - Method in class io.prometheus.jmx.common.http.authenticator.Credentials
- equals(Object) - Method in class io.prometheus.jmx.MatchedRule
- evictStaleEntries(MatchedRulesCache.StalenessTracker) - Method in class io.prometheus.jmx.MatchedRulesCache
- exclude(ObjectName, String) - Method in class io.prometheus.jmx.ObjectNameAttributeFilter
-
Method to check if an attribute should be excluded
- EXCLUDE_OBJECT_NAME_ATTRIBUTES - Static variable in class io.prometheus.jmx.ObjectNameAttributeFilter
-
Configuration constant to define a mapping of ObjectNames to attribute names
G
- get(JmxCollector.Rule, String) - Method in class io.prometheus.jmx.MatchedRulesCache
- get(String) - Method in class io.prometheus.jmx.common.yaml.YamlMapAccessor
-
Method to get a path Object
- getCurrentCacheSizeBytes() - Method in class io.prometheus.jmx.common.http.authenticator.CredentialsCache
-
Method to get the current cache size in bytes
- getLogger(Class<?>) - Static method in class io.prometheus.jmx.logger.LoggerFactory
-
Method to get a Logger
- getMaximumCacheSizeBytes() - Method in class io.prometheus.jmx.common.http.authenticator.CredentialsCache
-
Method to get the maximum cache size in bytes
- getOrCreate(String, Supplier<Object>) - Method in class io.prometheus.jmx.common.yaml.YamlMapAccessor
-
Method to get a path Object or create an Object using the Supplier
- getOrThrow(String, Supplier<? extends RuntimeException>) - Method in class io.prometheus.jmx.common.yaml.YamlMapAccessor
-
Method to get a path Object, throwing an RuntimeException created by the Supplier if the path doesn't exist
H
- hashCode() - Method in class io.prometheus.jmx.common.http.authenticator.Credentials
- hashCode() - Method in class io.prometheus.jmx.MatchedRule
- HexString - Class in io.prometheus.jmx.common.http.authenticator
- HTTPServerFactory - Class in io.prometheus.jmx.common.http
-
Class to create the HTTPServer used by both the Java agent exporter and the standalone exporter
- HTTPServerFactory() - Constructor for class io.prometheus.jmx.common.http.HTTPServerFactory
-
Constructor
I
- io.prometheus.jmx - package io.prometheus.jmx
- io.prometheus.jmx.common.configuration - package io.prometheus.jmx.common.configuration
- io.prometheus.jmx.common.http - package io.prometheus.jmx.common.http
- io.prometheus.jmx.common.http.authenticator - package io.prometheus.jmx.common.http.authenticator
- io.prometheus.jmx.common.http.ssl - package io.prometheus.jmx.common.http.ssl
- io.prometheus.jmx.common.util - package io.prometheus.jmx.common.util
- io.prometheus.jmx.common.yaml - package io.prometheus.jmx.common.yaml
- io.prometheus.jmx.logger - package io.prometheus.jmx.logger
- isGreaterThanOrEqualTo(int, int) - Static method in class io.prometheus.jmx.common.util.Precondition
-
Method to check that an integer is greater than or equal to a value
- isGreaterThanOrEqualTo(int, int, String) - Static method in class io.prometheus.jmx.common.util.Precondition
-
Method to check that an integer is greater than or equal to a value
- isLoggable(Level) - Method in class io.prometheus.jmx.logger.Logger
-
Method to return whether a log level is enabled
- isMatched() - Method in class io.prometheus.jmx.MatchedRule
- isUnmatched() - Method in class io.prometheus.jmx.MatchedRule
J
- JmxCollector - Class in io.prometheus.jmx
- JmxCollector(File) - Constructor for class io.prometheus.jmx.JmxCollector
- JmxCollector(File, JmxCollector.Mode) - Constructor for class io.prometheus.jmx.JmxCollector
- JmxCollector(InputStream) - Constructor for class io.prometheus.jmx.JmxCollector
- JmxCollector(String) - Constructor for class io.prometheus.jmx.JmxCollector
- JmxCollector.Mode - Enum in io.prometheus.jmx
L
- log(Level, String, Object...) - Method in class io.prometheus.jmx.logger.Logger
-
Method to log a message
- Logger - Class in io.prometheus.jmx.logger
-
Class to implement a Logger
- LoggerFactory - Class in io.prometheus.jmx.logger
-
Class to implement a LoggerFactory
M
- main(String[]) - Static method in class io.prometheus.jmx.WebServer
- MatchedRule - Class in io.prometheus.jmx
-
MatchedRule is the result of matching a JMX bean against the rules present in the configuration file.
- MatchedRule(String, String, String, String, List<String>, List<String>, Double, double) - Constructor for class io.prometheus.jmx.MatchedRule
- MatchedRulesCache - Class in io.prometheus.jmx
-
MatchedRulesCache is a cache for bean name to configured rule mapping (See JmxCollector.Receiver).
- MatchedRulesCache(Collection<JmxCollector.Rule>) - Constructor for class io.prometheus.jmx.MatchedRulesCache
- MatchedRulesCache.StalenessTracker - Class in io.prometheus.jmx
- MatchedRuleToMetricSnapshotsConverter - Class in io.prometheus.jmx
- MatchedRuleToMetricSnapshotsConverter() - Constructor for class io.prometheus.jmx.MatchedRuleToMetricSnapshotsConverter
- MessageDigestAuthenticator - Class in io.prometheus.jmx.common.http.authenticator
-
Class to implement a username / salted message digest password BasicAuthenticator
- MessageDigestAuthenticator(String, String, String, String, String) - Constructor for class io.prometheus.jmx.common.http.authenticator.MessageDigestAuthenticator
-
Constructor
N
- notNull(Object) - Static method in class io.prometheus.jmx.common.util.Precondition
-
Method to check an Object is not null
- notNull(Object, String) - Static method in class io.prometheus.jmx.common.util.Precondition
-
Method to check an Object is not null
- notNullOrEmpty(String) - Static method in class io.prometheus.jmx.common.util.Precondition
-
Method to check that a String is not null and not empty
- notNullOrEmpty(String, String) - Static method in class io.prometheus.jmx.common.util.Precondition
-
Method to check that a String is not null and not empty
O
- ObjectNameAttributeFilter - Class in io.prometheus.jmx
-
Class to implement filtering of an MBean's attributes based on the attribute's name
- onlyKeepMBeans(Set<ObjectName>) - Method in class io.prometheus.jmx.ObjectNameAttributeFilter
-
Method to only keep "alive" mBeans, remove old mBeans to prevent memory growth
P
- PBKDF2Authenticator - Class in io.prometheus.jmx.common.http.authenticator
-
Class to implement a username / salted message digest password BasicAuthenticator
- PBKDF2Authenticator(String, String, String, String, String, int, int) - Constructor for class io.prometheus.jmx.common.http.authenticator.PBKDF2Authenticator
-
Constructor
- PlaintextAuthenticator - Class in io.prometheus.jmx.common.http.authenticator
-
Class to implement a username / plaintext password BasicAuthenticator
- PlaintextAuthenticator(String, String, String) - Constructor for class io.prometheus.jmx.common.http.authenticator.PlaintextAuthenticator
-
Constructor
- Precondition - Class in io.prometheus.jmx.common.util
- put(JmxCollector.Rule, String, MatchedRule) - Method in class io.prometheus.jmx.MatchedRulesCache
R
- register() - Method in class io.prometheus.jmx.BuildInfoMetrics
-
Method to register BuildInfoMetrics
- register() - Method in class io.prometheus.jmx.JmxCollector
- register(PrometheusRegistry) - Method in class io.prometheus.jmx.BuildInfoMetrics
-
Method to register BuildInfoMetrics
- register(PrometheusRegistry) - Method in class io.prometheus.jmx.JmxCollector
- remove(Credentials) - Method in class io.prometheus.jmx.common.http.authenticator.CredentialsCache
-
Method to remove a Credentials from the cache
S
- size() - Method in class io.prometheus.jmx.common.http.authenticator.Credentials
-
Method to get the size (username length + password length) of the credentials
- SSLContextFactory - Class in io.prometheus.jmx.common.http.ssl
- StalenessTracker() - Constructor for class io.prometheus.jmx.MatchedRulesCache.StalenessTracker
- STANDALONE - Enum constant in enum io.prometheus.jmx.JmxCollector.Mode
- supplier(String) - Static method in exception class io.prometheus.jmx.common.http.ConfigurationException
T
- toHex(byte[]) - Static method in class io.prometheus.jmx.common.http.authenticator.HexString
-
Method to convert a byte array to a lowercase hexadecimal String
- toString() - Method in class io.prometheus.jmx.common.http.authenticator.Credentials
- toString() - Method in class io.prometheus.jmx.MatchedRule
U
- unmatched() - Static method in class io.prometheus.jmx.MatchedRule
-
An unmatched MatchedRule, used when no rule matching a JMX bean has been found in the configuration.
V
- ValidateIntegerInRange - Class in io.prometheus.jmx.common.configuration
- ValidateIntegerInRange(int, int, Supplier<? extends RuntimeException>) - Constructor for class io.prometheus.jmx.common.configuration.ValidateIntegerInRange
-
Constructor
- ValidateStringIsNotBlank - Class in io.prometheus.jmx.common.configuration
-
Class to validate a String is not blank, throwing a RuntimeException from the Supplier if there is a ClassCastException
- ValidateStringIsNotBlank(Supplier<? extends RuntimeException>) - Constructor for class io.prometheus.jmx.common.configuration.ValidateStringIsNotBlank
-
Constructor
- valueOf(String) - Static method in enum io.prometheus.jmx.JmxCollector.Mode
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum io.prometheus.jmx.JmxCollector.Mode
-
Returns an array containing the constants of this enum type, in the order they are declared.
W
- WebServer - Class in io.prometheus.jmx
- WebServer() - Constructor for class io.prometheus.jmx.WebServer
- withValue(double) - Method in class io.prometheus.jmx.MatchedRule
Y
- YamlMapAccessor - Class in io.prometheus.jmx.common.yaml
-
Class to implement a MapAccessor to work with nested Maps / values
- YamlMapAccessor(Map<Object, Object>) - Constructor for class io.prometheus.jmx.common.yaml.YamlMapAccessor
-
Constructor
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form