Skip to content

Conversation

@Dmitry-Eremeev
Copy link

  1. TLS and basic authentication are in flag --web.config.file: https://github.com/prometheus/exporter-toolkit/blob/master/docs/web-configuration.md#web-configuration 2) Config file has two dashes now:
    --config-file
  2. Web address and port are in flag --web.listen-address. Environment variables PUBLISH_PORT and PUBLISH_ADDR are not used now.
    Config options "publish_port" and "publish_addr" were removed from "config-file".
  3. Log levels "fatal" and "panic" are not used anymore.

Example:
./rabbitmq_exporter --config-file config.example.json --web.config.file web_config.yml --web.listen-address 127.0.0.1:9419

Prometheus Exporter Toolkit provides TLS and basic authentication in exporters.
The exporter requires newer command-line and log packages. So packages "flag" and "logrus" were replaced.

Also package "io/ioutil" is outdated and was removed from exporter.

#412

1) TLS and basic authentication are in flag `--web.config.file`:
https://github.com/prometheus/exporter-toolkit/blob/master/docs/web-configuration.md#web-configuration
2) Config file has two dashes now:
`--config-file`
3) Web address and port are in flag `--web.listen-address`.
Environment variables `PUBLISH_PORT` and `PUBLISH_ADDR` are not used
now.
Config options "publish_port" and "publish_addr" were removed from
"config-file".
4) Log levels "fatal" and "panic" are not used anymore.

Example:
./rabbitmq_exporter --config-file config.example.json --web.config.file web_config.yml --web.listen-address 127.0.0.1:9419

Prometheus Exporter Toolkit provides TLS and basic authentication in
exporters.
The exporter requires newer command-line and log packages.
So packages "flag" and "logrus" were replaced.

Also package "io/ioutil" is outdated and was removed from exporter.

kbudde#412
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant