Skip to content
This repository has been archived by the owner on Dec 5, 2024. It is now read-only.

Add TLS and basic authentication in web interface #15

Open
Dmitry-Eremeev opened this issue Dec 5, 2024 · 0 comments
Open

Add TLS and basic authentication in web interface #15

Dmitry-Eremeev opened this issue Dec 5, 2024 · 0 comments

Comments

@Dmitry-Eremeev
Copy link

It would be nice to get the feature:

https://github.com/prometheus/exporter-toolkit/blob/master/docs/web-configuration.md#web-configuration

Dmitry-Eremeev added a commit to Dmitry-Eremeev/ovs_exporter that referenced this issue Dec 5, 2024
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) All command-line arguments are with two dashes now.

Example:
./ovs-exporter --web.listen-address 10.224.141.48:9134 --database.vswitch.file.pid.path /run/openvswitch/ovsdb-server.pid --database.vswitch.socket.remote unix:/run/openvswitch/db.sock --service.vswitchd.file.pid.path /run/openvswitch/ovs-vswitchd.pid --system.run.dir /run/openvswitch --database.vswitch.file.log.path /var/log/kolla/openvswitch/ovsdb-server.log --service.vswitchd.file.log.path /var/log/kolla/openvswitch/ovs-vswitchd.log --log.level=debug --web.config.file web_config.yml

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

greenpau#15
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant