stable

Clone or download

Read-only

Tuleap can expose node_exporter metrics

Tuleap act as a proxy for node_exporter end points, hence there is only one end-point to scrap and all authentication is managed at once place. How to test: 1. Install & run node_exporter on your server curl -Lo /etc/yum.repos.d/_copr_ibotty-prometheus-exporters.repo https://copr.fedorainfracloud.org/coprs/ibotty/prometheus-exporters/repo/epel-6/ibotty-prometheus-exporters-epel-6.repo yum install -y node_exporter ./node_exporter 2. Configure the exposed end-point in Tuleap tuleap config-set prometheus_node_exporter http://127.0.0.1:9100/metrics 3. Go to /metrics end-point et voila Part of request #11614 Allow usage of prometheus instead of statsd for instrumentation Change-Id: I00d453f0eb0e5a5c72c68cb4e41f39cb6dd0a94d

Modified Files

Name
M src/common/CLI/Command/ConfigSetCommand.php +1 −0 Go to diff View file
M src/common/Instrument/MetricsController.php +29 −2 Go to diff View file
M src/common/Instrument/Prometheus/Prometheus.php +2 −1 Go to diff View file