Loading .gitlab-ci.yml +1 −1 Original line number Diff line number Diff line Loading @@ -114,7 +114,7 @@ promtool: entrypoint: [""] script: - promtool check config configs/prometheus/prometheus.yml - promtool test rules configs/prometheus/*rules* - promtool test rules configs/prometheus/test.yml # # Release Loading configs/prometheus/test.yml 0 → 100644 +22 −0 Original line number Diff line number Diff line --- # Sample Prometheus test rule file to be used with Docker Compose. # # Copyright (C) 2025 The Tor Project, Inc. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published # by the Free Software Foundation, either version 3 of the License, # or any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. rule_files: - prometeus-rules.yml tests: Loading
.gitlab-ci.yml +1 −1 Original line number Diff line number Diff line Loading @@ -114,7 +114,7 @@ promtool: entrypoint: [""] script: - promtool check config configs/prometheus/prometheus.yml - promtool test rules configs/prometheus/*rules* - promtool test rules configs/prometheus/test.yml # # Release Loading
configs/prometheus/test.yml 0 → 100644 +22 −0 Original line number Diff line number Diff line --- # Sample Prometheus test rule file to be used with Docker Compose. # # Copyright (C) 2025 The Tor Project, Inc. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published # by the Free Software Foundation, either version 3 of the License, # or any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. rule_files: - prometeus-rules.yml tests: