Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add TLS and basic authentication in web interface #413

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

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