prometheus grok exporter #2
Description
Export Prometheus metrics from arbitrary unstructured log data.
- Tags:
- monitoring ›
Juju grok-exporter charm
grok_exporter allows to export Prometheus metrics from arbitrary unstructured log data.
This charm can be related to the prometheus charm.
Configuration
grok_exporter rules can be quite long, for convenience save your config in a file and them:
juju config grok-exporter config="$(cat config.yml)"
Configuration
- config
- (string) grok-exporter's configuration
- extra_packages
- (string) Space separated list of extra deb packages to install.
- files
- (string) Comma separated list of files to monitor
- /var/log/syslog
- install_keys
- (string) List of signing keys for install_sources package sources, per charmhelpers standard format (a yaml list of strings encoded as a string). The keys should be the full ASCII armoured GPG public keys. While GPG key ids are also supported and looked up on a keyserver, operators should be aware that this mechanism is insecure. null can be used if a standard package signing key is used that will already be installed on the machine, and for PPA sources where the package signing key is securely retrieved from Launchpad.
- install_sources
- (string) List of extra apt sources, per charm-helpers standard format (a yaml list of strings encoded as a string). Each source may be either a line that can be added directly to sources.list(5), or in the form ppa:<user>/<ppa-name> for adding Personal Package Archives, or a distribution component to enable.
- package_status
- (string) The status of service-affecting packages will be set to this value in the dpkg database. Valid values are "install" and "hold".
- install
- promreg_authtoken
- (string) The Prometheus Registration authtoken.
- promreg_url
- (string) The http(s) url and port where the Prometheus Registration service is listening.
- snap_channel
- (string) Controls the snap channel name. Supported values are: "stable", "candidate", "beta" and "edge"
- stable
- snap_proxy
- (string) HTTP/HTTPS web proxy for Snappy to use when accessing the snap store.
- snap_proxy_url
- (string) The address of a Snappy Enterprise Proxy to use for snaps e.g. http://snap-proxy.example.com
- use_mlog
- (boolean) If you want to use grok-exporter-mlog (with support for multiple logfiles), set this to true.