Skip to content

Commit

Permalink
Fix InfluxDB output mode and add CI for it
Browse files Browse the repository at this point in the history
I don't understand the problem just yet, applying TDD here anyway

See: https://progress.opensuse.org/issues/121582
  • Loading branch information
kalikiana committed Mar 10, 2023
1 parent 03e81c6 commit ebb9c88
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,7 @@ jobs:
python -m pip install --upgrade pip
pip install -r requirements.txt
- run: pytest -vv
- name: Install Telegraf
run: sudo apt-get install -y telegraf
- name: Test InfluxDB output
run: telegraf --test --config slo.conf
5 changes: 5 additions & 0 deletions slo.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[[inputs.exec]]
commands = [ "env REDMINE_API_KEY=abcdefgah0123456789 ./backlogger.py --output=influxdb" ]
interval = "1h"
timeout = "10s"
data_format = "influx"

0 comments on commit ebb9c88

Please sign in to comment.